开发者

DllNotFoundException libpjsipDll Mono

开发者 https://www.devze.com 2023-01-08 02:28 出处:网络
I\'ve a problem to execute a program with Mono in the terminal, (mono program.exe). An error appears : \"System.DllNotFoundException : libpjsipDll.so \"

I've a problem to execute a program with Mono in the terminal, (mono program.exe). An error appears : "System.DllNotFoundException : libpjsipDll.so "

however my library exists and I've setted my 2 environment variables : LD_LIBRARY_PATH and MONO_PATH in the directory where the file is.

I don't understand why this error occured ?

Anyone has an idea ?

I've :

ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, stripped (CPU architecture)

ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),dynamically linked, not stripped (third-party lib)

I try MONO_LOG_LEVEL="debug" MONO_LOG_MASK="dll".

and I obtain an : undefi开发者_开发问答ned symbol : Pa_GetErrorText

I try to install PortAudio but I doesn't work always :-(

Thanks in advance.

Narglix


First of all, make sure that the letter casing is correct in that the library you are calling and the assembly on disk have the same case. Linux is picky about it.

I assume that you are using P/Invoke DLLImport? What is the actual code you are using here? You library (libpjsipDll.so) is not managed code of course.


Is not a problem about loading, is a problem about another dependency dll, just run this code and make sure the libpjsipDll.so is where the callingApp.exe is executing.

//I tried this in ubuntu $ sudo apt-get install libssl0.9.8:i386

I discovered that running my App like this:

$ MONO_LOG_LEVEL=debug mono MyApp.exe

Here is my question, where you can find adittional info: MonoDevelop and libpjsipDll.so library on Ubuntu. System.DllNotFoundException

0

精彩评论

暂无评论...
验证码 换一张
取 消