You are not logged in.
Pages: 1
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.0.3/../../../../lib64/libc-client.a(osdep.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.0.3/../../../../lib64/libc-client.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libphp5.la] Fehler 1
make: *** Warte auf noch nicht beendete Prozesse...
/usr/lib/gcc/x86_64-pc-linux-gnu/4.0.3/../../../../lib64/libc-client.a(osdep.o): In function `ssl_onceonlyinit':
: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
==> ERROR: Build Failed. Aborting...
From what I´ve found we should recompile "libc-client.a" with fPIC. May that can be?
Offline
try building php with -fPIC put make CFLAGS="-fPIC" in the PKGBUILD
Offline
The problem still exists. Don't know where to start. I've googled that I have recompile one of the libs that php wants to link.
libc-client.a(osdep.o) is a symbolic link to /usr/lib64/c-client.a
[root@workstation64 nvidia]# pacman -Qo c-client.a
No package owns c-client.a
It must be one of the base packages because of the time stamp:
[root@workstation64 nvidia]# ls -l /usr/lib/c-client.a
-rw-r--r-- 1 root root 1229010 2005-09-02 10:09 /usr/lib/c-client.a
[root@workstation64 nvidia]# ls -l /usr/lib64/c-client.a
-rw-r--r-- 1 root root 1229010 2005-09-02 10:09 /usr/lib64/c-client.a
[root@workstation64 nvidia]# ls -ls /usr/lib64/libc-client.a
0 lrwxrwxrwx 1 root root 10 2005-11-28 01:11 /usr/lib64/libc-client.a -> c-client.a
What package can that be???
Offline
Offline
Thx. The error is now located. Updating imap to the current version makes no difference. But now I know where to search...
I wonder why whether pacman nor the online search for packages fid the package for this file
Offline
Got it. Had to add -fPIC to the CFLAGS for imap pkg. php is done and running here
Offline
Pages: 1