Re: .so file not found in /usr/lib

Jonathan Pryor <[email protected]>
Newsgroups gmane.comp.gnome.mono.general
Message-ID <[email protected]>
On Jul 4, 2016, at 7:24 PM, Daniel Hughes <[email protected]> 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

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.