> Hi Guys,
>
> Having a bit of trouble compiling Squid on Solaris.
>
> Error:
> libtool: link: cannot find the library `/export/builds/s10-release/s10_ccd_03/usr/src/cmd/openldap/openldap-2.2.17/libraries/liblber/liblber.la' or unhandled argument `/export/builds/s10-release/s10_ccd_03/usr/src/cmd/openldap/openldap-2.2.17/libraries/liblber/liblber.la'
liblber is ldap-related. Maybe you have some missing package?
We have opensolaris host in the build-farm, and they build more or
less regularly (when we don't introduce a linux-ism or gcc-ism too
many)
> The directory mentioned does not exist, nor is it mentioned in LD_LIBRARY_PATH, the file it is looking for is in /opt/sfw/lib/, which is in LD_LIBRARY_PATH. Couldn't see any option in the configure script which allows specifying the LDAP path, am I doing something stupid here?
You shouldn't use LD_LIBRARY_PATH for that, but instead do a
LDFLAGS='-L/opt/sfw/lib' ./configure --option --option --option
LD_LIBRARY_PATH is used to locate libraries at runtime, not buildtime.
> YOU MUST READ THIS NOTICE
Must I? I haven't.. what's the penalty? (sorry, just making fun of
your university's funny pseudo-legal whateverness...)
-- /kinkieReceived on Wed Aug 11 2010 - 08:51:19 MDT
This archive was generated by hypermail 2.2.0 : Thu Aug 12 2010 - 12:00:03 MDT