amd64 and mod_php4

Adriaan de Groot adridg at cs.kun.nl
Thu Mar 25 04:55:53 PST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 25 March 2004 13:42, markus at schanovsky.at wrote:
> If I include to make with mssql-support (and I need this support, this is
> the reason for this machine!) compiling stops with the following message:
>
> =========
> /usr/bin/ld: /usr/local/lib/libsybdb.a(dblib.o): relocation R_X86_64_32
> can not be used when making a shared object; recompile with -fPIC
> /usr/local/lib/libsybdb.a(dblib.o): could not read symbols: Bad value
> *** Error code 1
>
> Has anyone a hint or a solution?

The compiler has already given you a suggestion: recompile with -fPIC. Not the 
thing you're working on, but whatever provides /usr/local/lib/libsybdb.a. How 
you achieve that may take some jiggery-pokery (CFLAGS=-fPIC before configure, 
perhaps). 

- -- 
pub  1024D/FEA2A3FE 2002-06-18 Adriaan de Groot <groot at kde.org>
                     Would you like a freem?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAYtbXdqzuAf6io/4RAghyAKCaTxIaEK4zi+O477WneU6jtgM0AQCePuXA
DANFLPi48pzUuer8IFAdGEE=
=mqUv
-----END PGP SIGNATURE-----


More information about the freebsd-amd64 mailing list