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>
References:  <193.170.217.106.1080218575.wm@webmail.inode.at>

next in thread | previous in thread | raw e-mail | index | archive | help
=2D----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:
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D
> /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=20
thing you're working on, but whatever provides /usr/local/lib/libsybdb.a. H=
ow=20
you achieve that may take some jiggery-pokery (CFLAGS=3D-fPIC before config=
ure,=20
perhaps).=20

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

iD8DBQFAYtbXdqzuAf6io/4RAghyAKCaTxIaEK4zi+O477WneU6jtgM0AQCePuXA
DANFLPi48pzUuer8IFAdGEE=3D
=3DmqUv
=2D----END PGP SIGNATURE-----



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