Re: [julia-users] More with embedding with dynamic libraries (Linux)

2014-09-17 Thread Jameson Nash
sys.so assumes that libjulia has been opened as RTLD_GLOBAL, so it gets confused if it wasn't however, perhaps ironically, this is probably not an issue on windows, because it doesn't have an RTLD_GLOBAL flag. instead, we fake it and just annotate every symbol with the library it is expected to

Re: [julia-users] More with embedding with dynamic libraries (Linux)

2014-09-17 Thread Jeff Waller
Oh I knew I could count on you guys. Thanks for the reply, of course my natural response is. What is RTLD_GLOBAL? Don't worry too much about that, I can probably look it up. I found a not desirable workaround by setting LD_PRELOAD to load libjulia.so first, but that causes a 2nd problem see

[julia-users] More with embedding with dynamic libraries (Linux)

2014-09-15 Thread Jeff Waller
Hi all, Remember this problem with dlopen and openblas https://groups.google.com/forum/#!topic/julia-users/A8HwlmldVTM? That problem was resolved by modifying how embedded Julia loads (perhaps only on OS/X).Well now there is a similar problem on Linux. Same software. The exact problem is