Re: [squid-users] Compile ldapdigest under FreeBSD 6.1

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Sat, 12 Aug 2006 10:57:56 +0200

fre 2006-08-11 klockan 12:56 +0400 skrev Vladimir:
> Hello. Sorry for my poor English.

Could not find any problems with your English.

> I've already wrote an email to
> ldapdigest-ldapdigestsquid@forge.novell.com about this problem
> yesterday, but I still got no answer.

Give them some time, it's late summer and the project has been dormant
for more than a year..

> I`m trying to compile ldapdigest under FreeBSD 6.1, but it fails:

May I suggest you try the digest LDAP helper found in Squid-2.6 instead?

> =================================
>
> gcc -I/usr/local/include -I/root/squid-2.5.STABLE14/include
> -I/usr/include/rpcsvc/ -I. -L/usr/local/lib
> -L/root/squid-2.5.STABLE14/lib -o ldapdigest ldapdigest.o
> edir_ldapext.o -lldap -llber -lcrypt -lm -lresolv -lnsl -lmiscutil
> /usr/bin/ld: cannot find -lmiscutil*** Error code 1

Sounds like you have not built Squid. miscutil is a internal library of
Squid.

cd /root/squid-2.5.STABLE14/lib
make

then go back to the helper and try again. Should work better.

Or go with the ldap_digest_auth helper found in Squid-2.6.

Regards
Henrik

Received on Sat Aug 12 2006 - 02:58:01 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Sep 01 2006 - 12:00:02 MDT