> -----Original Message-----
> From: McKenzie, David [mailto:[email protected]]
> Sent: Thursday, 12 August 2010 11:06 AM
> To: Kinkie; [email protected]
> Subject: RE: [squid-users] RE: Trouble compiling Squid on Solaris
>
> > -----Original Message-----
> > From: Kinkie [mailto:[email protected]]
> > Sent: Wednesday, 11 August 2010 6:51 PM
> > To: [email protected]
> > Subject: Re: [squid-users] RE: Trouble compiling Squid on Solaris
> >
> > > 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...)
> >
> >
> >
> >
> > --
> >     /kinkie
>
> Thanks for your help on this, still no luck with that same error when
> defining LDFLAGS on configure. Tried with LDFLAGS on the make as well,
> just in case and no change. I'm wondering if I'll need to install a CSW
> version of LDAP to get it working. Will keep trying and let you guys
> know if I get it working. :)
>
> Cheers,
> Dave
>

For reference ended up getting around this error by defining 
--enable-digest-auth-helpers=password and 
--enable-external-acl-helpers=unix_group on compile - it appears that 3.1 
compiles them all by default.

Cheers,
Dave

YOU MUST READ THIS NOTICE

This email has been sent by Charles Sturt University (CSU) (ABN 83 878 708 551, 
CRICOS 00005F). This email (and any attachment) is confidential and is intended 
for the use of the addressee(s) only. If you are not the intended recipient of 
this email, you must not copy, distribute, take any action in reliance on it or 
disclose it to anyone. Any confidentiality is not waived or lost by reason of 
mistaken delivery. The views expressed in this email are not necessarily those 
of CSU. Email should be checked for viruses and defects before opening. CSU 
does not accept liability for viruses or any consequence which arise as a 
result of this email transmission. Email communications with CSU may be subject 
to automated email filtering, which could result in the delay or deletion of a 
legitimate email before it is read at CSU. The Commonwealth Register of 
Institutions and Courses for Overseas Students (CRICOS) Provider Number for 
Charles Sturt University is 00005F (NSW) and 01947G (VIC) and 02960B (ACT).

Reply via email to