Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Mar 2004 13:55:46 +0100
From:      Adriaan de Groot <adridg@cs.kun.nl>
To:        freebsd-amd64@freebsd.org
Subject:   Re: amd64 and mod_php4
Message-ID:  <200403251355.51133.adridg@cs.kun.nl>
In-Reply-To: <193.170.217.106.1080218575.wm@webmail.inode.at>

index | next in thread | previous in thread | raw e-mail

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

On Thursday 25 March 2004 13:42, markus@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@kde.org>
                     Would you like a freem?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

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


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403251355.51133.adridg>