[Mono-list] .so file not found in /usr/lib

Jonathan Pryor jonpryor at vt.edu
Wed Jul 6 17:16:48 UTC 2016

On Jul 4, 2016, at 7:24 PM, Daniel Hughes <trampster at gmail.com> wrote:
> I have a library that I am trying to pinvoke to (libsword.so) that is located in /usr/lib
> This page: http://www.mono-project.com/docs/advanced/pinvoke/
> tells me that /usr/lib is on the search path.
> However when I run my app I get a DllNotFoundException
> If I run with: MONO_LOG_LEVEL=debug mono CSSword.Tests.exe
> Then I get the following in the output:
> Mono: DllImport error loading library 'libsword.so’: 'libicui18n.so.48: cannot open shared object file: No such file or directory’.

`libsword.so` depends on `libicuil18n.so.48`, and `libicuil18n.so.48` can’t be found.

 - Jon

More information about the Mono-list mailing list