[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: linking heimdal to an openssl library other than the one in thedefault search path.



On Sat, 1 Oct 2005, Matthew Andrews wrote:

> Hello,
>
> I am trying to set up heimdal pkinit to use opensc's engine-pkcs11, and 
> Love's soft-pkcs11. I was having difficulty(kinit core dumping in openssl 
> somewhere) so went to build heimdal against an openssl that was built with 
> debugging enabled. I was able to build opensc against the new openssl, 
> however even when I pass "--with-openssl=/usr/local/openssl-0.9.8" to the 
> heimdal configure, I still end up with heimdal binaries that are linked 
> against the system openssl libraries.

Did you specify an rpath to the LDFLAGS? E.g. on linux:

LDFLAGS='-Wl,-rpath,/usr/local/openssl-0.9.8/lib' ./configure ...

Greetings
Andreas

-- 
| Andreas Haupt                      | E-Mail:  andreas.haupt@desy.de
|  DESY Zeuthen                      | WWW:     http://www.desy.de/~ahaupt
|  Platanenallee 6                   | Phone:   +49/33762/7-7359
|  D-15738 Zeuthen                   | Fax:     +49/33762/7-7216