[Issue 17061] dlopen: cannot load any more object with static TLS

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Jan 5 10:36:37 PST 2017


https://issues.dlang.org/show_bug.cgi?id=17061

Timothee Cour <timothee.cour2 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timothee.cour2 at gmail.com

--- Comment #1 from Timothee Cour <timothee.cour2 at gmail.com> ---
found workaround here in a different context:

http://stackoverflow.com/questions/19268293/matlab-error-cannot-open-with-static-tls/36769074#36769074

the workaround is to add `LD_PRELOAD=dlib2.so` before calling the binary

LD_PRELOAD=dlib2.so main

Is there anything better?

--


More information about the Digitalmars-d-bugs mailing list