Re: building 5.02.00 on debian sarge amd64

From: Chris Roat <chris.roat_at_gmail.com>
Date: Thu, 14 Jul 2005 13:20:52 -0700


Hi Christian,

I eventually tracked this down to an explicit statment in the configure script, where check_library is run for the krb5 with the intention of picking up the static library. Just altering this line did the trick.

Chris

On 7/14/05, Christian Holm Christensen <cholm_at_nbi.dk> wrote:
> Hi Chris,
>
> On Wed, 2005-07-13 at 10:03 -0700, Chris Roat wrote:
> > Hi Fons,
> >
> > libkrb5 comes from the libkrb5-dev package in both .a and .so forms.
> > It seems the build scripts force the .a version. This is the line
> > that is being executed:
> >
> > g++ -shared -Wl,-soname,libSrvAuth.so -m64 -O2 -o lib/libSrvAuth.so
> > rpdutils/src/rpdutils.o rpdutils/src/ssh.o net/src/DaemonUtils.o
> > -lcrypt -lssl -lcrypto /usr/lib64/libkrb5.a /usr/lib64/libk5crypto.a
> > -lssl -lcrypto -lcom_err -lresolv
>
> Try passing `--enable-shared' to the configure script. That will force
> linking against shared libraries as often as possible on the target
> machine.
>
> Yours,
>
> --
> ___ | Christian Holm Christensen
> |_| | -------------------------------------------------------------
> | | Address: Sankt Hansgade 23, 1. th. Phone: (+45) 35 35 96 91
> _| DK-2200 Copenhagen N Cell: (+45) 24 61 85 91
> _| Denmark Office: (+45) 353 25 404
> ____| Email: cholm_at_nbi.dk Web: www.nbi.dk/~cholm
> | |
>

> Received on Thu Jul 14 2005 - 22:20:58 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:10 MET