[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.
I did manage to get this working eventually. turns out that libtool does
the right thing if you put -Rpath in LDFLAGS.
Andreas Haupt wrote:
> On Sat, 1 Oct 2005, Matthew Andrews wrote:
>> 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 ...