Re: building 5.02.00 on debian sarge amd64

From: Chris Roat <chris.roat_at_gmail.com>
Date: Wed, 13 Jul 2005 10:03:20 -0700


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

Chris

On 7/13/05, Fons Rademakers <Fons.Rademakers_at_cern.ch> wrote:
> Hi Chris,
>
> it seems the system does not like the fact that libkrb5.a has not been
> build with -fPIC. Is there an libkrb5.so you can use (in the krb5 devel
> package)?
>
> Cheers, Fons.
>
>
> Chris Roat wrote:
> > Hi,
> >
> > After updating the build config file, I've tried to build the latest
> > development version on a 64 bit (linuxx8664gcc) machine. The build
> > works for a while, but fails with
> >
> > /usr/bin/ld: /usr/lib64/libkrb5.a(ccbase.o): relocation R_X86_64_32
> > can not be used when making a shared object; recompile with -fPIC
> > /usr/lib64/libkrb5.a: could not read symbols: Bad value
> > collect2: ld returned 1 exit status
> > make[2]: *** [lib/libSrvAuth.so] Error 1
> > make[2]: Leaving directory `/home/croat/root-5.02.00'
> > make[1]: *** [build-arch-stamp] Error 2
> > make[1]: Leaving directory `/home/croat/root-5.02.00'
> > make: *** [debian] Error 2
> >
> > Cheers,
> > Chris
>
> --
> Org: CERN, European Laboratory for Particle Physics.
> Mail: 1211 Geneve 23, Switzerland
> E-Mail: Fons.Rademakers_at_cern.ch Phone: +41 22 7679248
> WWW: http://www.rademakers.org/fons/ Fax: +41 22 7679480
>
Received on Wed Jul 13 2005 - 19:03:45 MEST

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