[Mono-list] mono not load *.so shared library on server-pc

Kornél Pál kornelpal at gmail.com
Fri Dec 28 14:35:37 UTC 2012


Hi,

On 12/28/2012 12:47 PM, Wang Song wrote:
> hi, here is my stackoverflow link:
> http://stackoverflow.com/questions/14064559/mono-not-load-so-shared-library-on-server-pc

Looks like your code is calling Path.GetDirectoryName with an empty 
string argument, like in Path.GetDirectoryName("");

As such the exception is most likely not related to .so loading, it just 
occurs before the .so is being loaded.

The stack trace seems to be printed by your application (not an 
unhandled exception printed by Mono) and you are missing the exception type.

You should use mono --debug to execute you app to get line numbers and 
use pdb2mdb tool to convert your .pdb debug info produced by VS to get 
line numbers for your app on Mono too.

Kornel


More information about the Mono-list mailing list