Quantcast
Channel: R.NET
Viewing all articles
Browse latest Browse all 1634

Edited Issue: dlopen: invalid caller on loading libR.so on CentOS [73]

$
0
0
Repro:
Revision: 237
Changeset: 8375124a9341c72faaba1bd8a8f31a34d8663b5c [8375124a9341]
Date: Monday, 25 November 2013 11:34:08 AM
Branch: jperraud

See http://lists.ximian.com/pipermail/mono-list/2013-November/050490.html


Mono JIT compiler version 3.2.3 (tarball Sun Nov 24 17:03:07 EST 2013)
R3.0.2 compiled from tarball
```
# I compile on my Debian box, SimpleTest (all .NET, no native code - https://rdotnet.codeplex.com/SourceControl/latest#TestApps/SimpleTest/Program.cs at rev 237, 25 Nov 2013) and push it with sftp and:
cd /home/599/jmp599/test
export PATH=/short/eq8/jmp599/local/bin:/short/eq8/jmp599/local/lib64/R/lib:${PATH}
export LD_LIBRARY_PATH=/home/599/jmp599/local/lib:/short/eq8/jmp599/local/lib64/R/lib:/usr/local/lib64:${LD_LIBRARY_PATH}
mono ./SimpleTest.exe # /home/599/jmp599/local/bin is in my PATH
```

the PInvoke of dlopen occurs, but returns a NULL handle. calling dlerror then returns the error message 'invalid caller'


Viewing all articles
Browse latest Browse all 1634

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>