crt1.o: could not read symbols: Bad value

Tim via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jun 10 21:44:20 PDT 2014


On Tuesday, 10 June 2014 at 20:29:56 UTC, FreeSlave wrote:
> dmd has -shared option. Try it instead of -L-shared.

I'm getting a similar error:

/usr/bin/ld: 
/usr/local/bin/../lib64/libphobos2.a(object__a_58c.o): relocation 
R_X86_64_32 against `_D10TypeInfo_m6__initZ' can not be used when 
making a shared object; recompile with -fPIC
/usr/local/bin/../lib64/libphobos2.a: could not read symbols: Bad 
value
collect2: ld gab 1 als Ende-Status zurück
--- errorlevel 1


More information about the Digitalmars-d-learn mailing list