nekodjin
Explore posts from serversDllImport Troubles
Hello there. I'm running on linux. I'm trying to load symbols from a library named
libxyz.so
. I have written it as such:
however, I get this runtime error:
I used the LD_DEBUG
environment variable as instructed, and discovered that while the runtime is correctly identifying the possible permutations (xyz
, libxyz
, xyz.so
, libxyz.so
) it is only searching for those permutations in the system search path (i.e. /usr/lib
) and nowhere else. That is to say, it is not searching the current directory, which is where the file is located. How can I remedy this?26 replies