shared lib

Ellery Newcomer ellery-newcomer at utulsa.edu
Thu Nov 10 22:29:39 PST 2011


trying to build a .so file (actually, trying to resuscitate pyd) with gdc.

celerid is spitting out

gdc -fPIC -nostartfiles -shared -fdebug {lots of object files plus some
link directives}

which is spitting out

/usr/bin/ld: /usr/lib64/libgphobos2.a(object_.o): relocation
R_X86_64_32S against `_D11TypeInfo_Pv6__initZ' can not be used when
making a shared object; recompile with -fPIC
/usr/lib64/libgphobos2.a: could not read symbols: Bad value

any ideas what might be wrong?


More information about the Digitalmars-d-learn mailing list