Okay, libcommon is compiled with -fPIC, is the issue that libtool won't link a static archive against a dynamic lib? Is there anyway to force this?
Regards. Gavin Norman M: +614 0935 4020 E: [EMAIL PROTECTED] On Tue, 2008-11-18 at 23:20 +1100, Gavin Norman wrote: > I've made the port available here: http://public.rcservices.com.au/ports > > You'll need to download the other tarballs in the directory as they are > dependencies. > > The main port is zarafa. > -- > Gavin Norman > E: [EMAIL PROTECTED] > > On Tue, 18 Nov 2008 7:11:19 am Jacob Meuser 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. > >