I discovered that the the Makefile.in in common/* (where the libcommon
etc..) resides had -static in their LDFLAGS. After removing these the issue
wasn't fixed.

On Mon, 17 Nov 2008 20:11:19 +0000, Jacob Meuser <[EMAIL PROTECTED]>
wrote:
> On Mon, Nov 17, 2008 at 11:49:26PM +1100, Gavin Norman wrote:
>> The ldapplugin being compiled. This is with -fPIC added to the CPPFLAGS
>> and after *_la_LDFLAGS, still with no success:
> 
>> /usr/local/bin/libtool  --mode=link c++  -O2 -pipe -g -Wall
>> -Wno-write-strings -DOPENBSD -pedantic -Wno-long-long -pthread
>> -L/usr/local/lib -lexecinfo -lssl -lcrypto -o ldapplugin.la -rpath
>> /usr/local/lib/zarafa -module -fPIC  ldapplugin_la-LDAPUserPlugin.lo
>> ldapplugin_la-ldappasswords.lo  ../../common/libcommon_util.la -lldap
>> -liconv
>>
>> *** Warning: This system can not link to static lib archive
>> ../../common/libcommon_util.la.
> 
> so you need to make sure ../../common/libcommon_util.la is built
> with -fPIC.
> 
> --
> [EMAIL PROTECTED]
> SDF Public Access UNIX System - http://sdf.lonestar.org
-- 
Gavin Norman
M: +614 0935 4020
E: [EMAIL PROTECTED]

Reply via email to