Need help with an linker error message with libphobos2.so
Danny Arends
Danny.Arends at gmail.com
Mon Aug 19 11:58:39 PDT 2013
So I was using D as an alternative back-end to the R programming
language. R provides a way to call into C and CPP DLLs, so what I
did was let the default C/CPP compiler compile the initial C code
into a DLL, then collect all the object files link together with
D code created by DMD...
I updated DMD and R recently so both could have cause the
following error:
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object
'/usr/local/lib/R/site-library/iqtl/libs/libD.so':
/usr/lib/i386-linux-gnu/libphobos2.so.0.63: cannot allocate
memory in static TLS block
It seems to not accept the libD.so anymore, when linking and
throws an error about phobos2.so... I'm kind of stuck on why this
happens, can anyone enlighten me ?
If needed I could post relevant make and source files, although
most of the build is obscured by the R 'compiler' invoking the C
and CPP compiler by using an obscure settings file..
Gr,
Danny Arends
http://www.dannyarends.nl
More information about the Digitalmars-d-learn
mailing list