[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: AIX shared libraries (ITS#1480)



I am using this patch to get around the problem.

diff -Naur openldap-2.0.19/build/ltconfig openldap-2.0.19a/build/ltconfig
--- openldap-2.0.19/build/ltconfig Tue Nov  6 08:29:18 2001
+++ openldap-2.0.19a/build/ltconfig Mon Jan 14 09:15:45 2002
@@ -1316,7 +1316,7 @@
     fi
     allow_undefined_flag=' ${wl}-berok'
     archive_cmds="\$CC $shared_flag"' -o $objdir/$soname $libobjs $deplibs
$linkopts ${wl}-bexpall ${wl}-bnoentry${allow_undefined_flag}'
-    archive_expsym_cmds="\$CC $shared_flag"' -o $objdir/$soname $libobjs
$deplibs $linkopts ${wl}-bE:$export_symbols
${wl}-bnoentry${allow_undefined_flag}'
+    archive_expsym_cmds="\$LD -G"' -o $objdir/$soname $libobjs $deplibs
$linkopts ${wl}-bE:$export_symbols
${wl}-bnoentry${allow_undefined_flag} -lc'
     link_export=' ${wl}-bE:$export_symbols'
     link_export_all=' ${wl}-bexpall'
     always_export_symbols=yes