Subject: Re: undefinded PLT symbol with cyrus-sasl
To: Nick Hudson <skrll@netbsd.org>
From: Ed Ravin <eravin@panix.com>
List: tech-userlevel
Date: 10/22/2001 17:02:01
Nick Hudson writes:
> 
> [move to tech-userlevel]
> 
> On Wednesday 17 October 2001 1:54 am, Ed Ravin wrote:
> >    Oct 16 20:45:19 testhost lt-sample-client: unable to dlopen
> > /usr/lib/sasl/libdigestmd5.so: /usr/lib/sasl/libdigestmd5.so: Undefined PLT
> > symbol "des_ecb_encrypt" (reloc type = 7, symnum = 23)
> >

> Not if the dependency information isn't included...
> 
> $ ldd /usr/pkg/lib/sasl/libdigestmd5.so
> /usr/pkg/lib/sasl/libdigestmd5.so:
>          -lcrypto.0 => /usr/lib/libcrypto.so.0

Aha.  It turned out to be libtool's fault - the packaged version (1.3.4)
was unable to build the libraries correctly.  Switching to 1.3.5 fixed
it.  Thanks for the pointer!

	-- Ed

-- 
Ed Ravin   |  "The way you tell the good socialists from the bad ones is
eravin@    |   that the good ones ride bikes."
panix.com  |                    ---- M.J. Smith
           |