x86_64 & -fPIC glib

Marco Prechel marcoprechel at mac.com
Tue Apr 5 05:16:12 UTC 2005


I'm not quite sure whether or not this may help some ... but i did a 

#make -d


-----------------------------------------------
     Prerequisite `/home/vpopmail/include/config.h' is older than target `preauthvchkpw.lo'.
     Prerequisite `preauthvchkpw.c' is older than target `preauthvchkpw.lo'.
     Prerequisite `vpopmail_config.h' is older than target `preauthvchkpw.lo'.
    No need to remake target `preauthvchkpw.lo'.
    Pruning file `libcourierauthcommon.la'.
   Finished prerequisites of target file `libauthvchkpw.la'.
  Must remake target `libauthvchkpw.la'.
/bin/sh ./libtool --mode=link --tag=CC gcc  -I/home/vpopmail/include -fPIC -Wall -I.. -I./..   -o libauthvchkpw.la  -module -rpath /usr/local/lib/courier-authlib -export-symbols-regex 'courier_auth.*_init' -Wl,-L/home/vpopmail/lib -Wl,-lvpopmail -Wl,-lcrypt -Wl,-lm authvchkpw.lo authvchkpwlib.lo preauthvchkpw.lo libcourierauthcommon.la
Putting child 0x005ce270 (libauthvchkpw.la) PID 18485 on the chain.
Live child 0x005ce270 (libauthvchkpw.la) PID 18485
rm -fr  .libs/libauthvchkpw.exp .libs/libauthvchkpw.ver
generating symbol list for `libauthvchkpw.la'
/usr/bin/nm -B  .libs/authvchkpw.o .libs/authvchkpwlib.o .libs/preauthvchkpw.o  | sed -n -e 's/^.*[     ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[         ][      ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' | /bin/sed 's/.* //' | sort | uniq > .libs/libauthvchkpw.exp
grep -E -e "courier_auth.*_init" ".libs/libauthvchkpw.exp" > ".libs/libauthvchkpw.expT"
mv -f ".libs/libauthvchkpw.expT" ".libs/libauthvchkpw.exp"
echo "{ global:" > .libs/libauthvchkpw.ver
 cat .libs/libauthvchkpw.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libauthvchkpw.ver
 echo "local: *; };" >> .libs/libauthvchkpw.ver
 gcc -shared  .libs/authvchkpw.o .libs/authvchkpwlib.o .libs/preauthvchkpw.o  -Wl,--rpath -Wl,/downloads/qmailrocks/courier-authlib-0.55/.libs -Wl,--rpath -Wl,/usr/local/lib/courier-authlib -L/downloads/qmailrocks/courier-authlib-0.55/.libs ./.libs/libcourierauthcommon.so  -Wl,-L/home/vpopmail/lib -Wl,-lvpopmail -Wl,-lcrypt -Wl,-lm -Wl,-soname -Wl,libauthvchkpw.so.0 -Wl,-version-script -Wl,.libs/libauthvchkpw.ver -o .libs/libauthvchkpw.so.0.0.0
/usr/bin/ld: /home/vpopmail/lib/libvpopmail.a(cdb_seek.o): relocation R_X86_64_PC32 against `read@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
Got a SIGCHLD; 1 unreaped children.
Reaping losing child 0x005ce270 PID 18485
make[2]: *** [libauthvchkpw.la] Error 1
Removing child 0x005ce270 PID 18485 from chain.
make[2]: Leaving directory `/downloads/qmailrocks/courier-authlib-0.55'
Got a SIGCHLD; 1 unreaped children.
Reaping losing child 0x005b0f70 PID 18408
make[1]: *** [all-recursive] Error 1
Removing child 0x005b0f70 PID 18408 from chain.
make[1]: Leaving directory `/downloads/qmailrocks/courier-authlib-0.55'
Got a SIGCHLD; 1 unreaped children.
Reaping losing child 0x00558ea0 PID 18407
make: *** [all] Error 2
Removing child 0x00558ea0 PID 18407 from chain.
[root at swfl courier-authlib-0.55]#




More information about the fedora-list mailing list