PDA

View Full Version : compile x86_64 CFLAGS=-fPIC


davidbrohall
8th May 2005, 03:02 PM
I'm trying to installl courier-authlib on my dual xeon x86_64 running FC3. I have just changed to x86_64 istead of i386 but have som serios problems when I'm compiling. There is no problem to compile on i386.

This is the message I get:

/usr/bin/ld: /home/vpopmail/lib/libvpopmail.a(vpopmail.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/home/vpopmail/lib/libvpopmail.a: could not read symbols: Bad value
collect2: ld returned 1 exit status

When I try to reconfigure it with "# CFLAGS=-fPIC ./configure....." I still got the same message.

What should I do?

davidbrohall
8th May 2005, 04:28 PM
This time I tried do the same but now it will not even configure (with -fPID environment). It did configure before but not compile.
This is the error I got:

configure: error: C compiler cannot create executables

CC=gcc didn't help

davidbrohall
8th May 2005, 04:30 PM
Could it be possible to compile it into 32-bit and still run it on my 64-bit server?

In that case, how?

Please, I need help...

Sakete Photos - Annandale Travel Photos - Lutuhyne Instagram Photos