I have been building many openpkg packages under linux amd64.  Most packages
work fine, but many produce errors like the following:

/local/tools/Linux/bin/cc -pipe -O3 -fPIC  -shared -fPIC -I../src
-I/local/tools/Linux/include pcre-module.c -o
pcre-module.so-L/local/tools/Linux/lib -lpcre
-Wl,-R/local/tools/Linux/lib:/local/tools/Linux/lib:/local/tools/Linux/lib
-lm
/local/tools/Linux/bin/ld: /local/tools/Linux/lib/libpcre.a(pcre_compile.o):
relocation R_X86_64_32S against `_pcre_utf8_table4' can not be used when
making a shared object; recompile with -fPIC
/local/tools/Linux/lib/libpcre.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [pcre-module.so] Error 1
make: *** [all] Error 2

Has anyone conquered this problem already?  I have been googling, but there
doesn't seem to be a clear and concise explanation of this error.

-doug

Reply via email to