System.EntryPointNotFoundException
- by Hema Joshi
thank, but by using this i am getting the output
c2@ubuntu:~/Desktop$ mcs testingsrp.cs -lib:/home/c2/Desktop/libsrp/libsrp.so
c2@ubuntu:~/Desktop$ nm -D /home/c2/Desktop/libsrp/libsrp.so | grep SRP_initialize_library
c2@ubuntu:~/Desktop$ MONO_LOG_LEVEL="debug" MONO_LOG_MASK="dll" mono testingsrp.exe
Mono-INFO: DllImport attempting to load: 'libsrp.so'.
Mono-INFO: DllImport loading location: 'libsrp.so.so'.
Mono-INFO: DllImport error loading library: 'libsrp.so.so: cannot open shared object file: No such file or directory'.
Mono-INFO: DllImport loading library: './libsrp.so.so'.
Mono-INFO: DllImport error loading library './libsrp.so.so: cannot open shared object file: No such file or directory'.
Mono-INFO: DllImport loading: 'libsrp.so'.
Mono-INFO: Searching for 'SRP_initialize_library'.
Mono-INFO: Probing 'SRP_initialize_library'.
Mono-INFO: Probing 'SRP_initialize_library'.
Mono-INFO: Probing 'SRP_initialize_libraryA'.
Mono-INFO: Probing 'SRP_initialize_libraryA'.
Mono-INFO: DllImport attempting to load: 'libsrp.so'.
Mono-INFO: DllImport loading location: 'libsrp.so.so'.
Mono-INFO: DllImport error loading library: 'libsrp.so.so: cannot open shared object file: No such file or directory'.
Mono-INFO: DllImport loading library: './libsrp.so.so'.
Mono-INFO: DllImport error loading library './libsrp.so.so: cannot open shared object file: No such file or directory'.
Mono-INFO: DllImport loading: 'libsrp.so'.
Mono-INFO: Searching for 'SRP_finalize_library'.
Mono-INFO: Probing 'SRP_finalize_library'.
Mono-INFO: Probing 'SRP_finalize_library'.
Mono-INFO: Probing 'SRP_finalize_libraryA'.
Mono-INFO: Probing 'SRP_finalize_libraryA'.
Mono-INFO: DllImport attempting to load: 'libsrp.so'.
Mono-INFO: DllImport loading location: 'libsrp.so.so'.
Mono-INFO: DllImport error loading library: 'libsrp.so.so: cannot open shared object file: No such file or directory'.
Mono-INFO: DllImport loading library: './libsrp.so.so'.
Mono-INFO: DllImport error loading library './libsrp.so.so: cannot open shared object file: No such file or directory'.
Mono-INFO: DllImport loading: 'libsrp.so'.
Mono-INFO: Searching for 'SRP_initialize_library'.
Mono-INFO: Probing 'SRP_initialize_library'.
Mono-INFO: Probing 'SRP_initialize_library'.
Mono-INFO: Probing 'SRP_initialize_libraryA'.
Mono-INFO: Probing 'SRP_initialize_libraryA'.
Unhandled Exception: System.EntryPointNotFoundException: SRP_initialize_library
at (wrapper managed-to-native) Main.Test:SRP_initialize_library ()
at Main.Test1.Main (System.String[] args) [0x00000]
sorry , but really i am not able to get where is the problem .please help me to finding the the problem.
thanks