Subject: Re: openldap make fails
To: Ronald van der Pol <Ronald.vanderPol@rvdp.org>
From: Charles M. Hannum <abuse@spamalicious.com>
List: tech-pkg
Date: 01/10/2003 07:33:16
I ran into the same problem. If you look at the output a little more closely, you see that this libtool invocation:
/bin/sh /usr/pkgobj/databases/openldap/work.i386/openldap-2.0.27/libtool --mode=link cc -O2 -I/usr/pkg/include -I../../include -I../../include -I/usr/pkg/include -L/usr/pkgobj/databases/openldap/work.i386/openldap-2.0.27/libraries -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o apitest apitest.o -lldap -llber -llutil -lssl -lcrypto -lssl -lcrypto
expands to:
cc -O2 -I/usr/pkgobj/databases/openldap/work.i386/.buildlink/include -I../../include -I../../include -I/usr/pkgobj/databases/openldap/work.i386/.buildlink/include -Wl,-R/usr/pkg/lib -o .libs/apitest apitest.o -L/usr/pkgobj/databases/openldap/work.i386/.buildlinkobj/databases/openldap/work.i386/openldap-2.0.27/libraries -L/usr/pkgobj/databases/openldap/work.i386/.buildlink/lib /usr/pkgobj/databases/openldap/work.i386/openldap-2.0.27/libraries/libldap/.libs/libldap.so -llber -llutil -lssl -lcrypto -Wl,--rpath -Wl,/usr/pkg/lib
That is, it's taking the -L/usr/pkgobj/.../libraries, and doing a
buildlink replacement of the /usr/pkg part. Obviously this isn't
working very well.