[Mono-list] Error trying to run the embed example.

Paolo Molaro lupus@ximian.com
Tue, 26 Nov 2002 11:09:22 +0100


On 11/21/02 Jaime Anguiano Olarra wrote:
> The problem is when running teste test.exe, I get the following error:
> 
> jaime@intifada:~/src/mono-cvs/mono/samples/embed$ ./teste test.exe 
> ./teste: error while loading shared libraries: libmono.so.0: cannot open
> shared object file: No such file or directory
> 
> The libraries are properly installed and I have even tried by exporting
> MONO_PATH to /usr/local/lib but it neither works :(

A shared library needs to be in the path searched by the dynamic linker,
so put /usr/local/lib into LD_LIBRARY_PATH or inside /etc/ld.so.conf.

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better