[Mono-list] Mono compilation on Linux

Paolo Molaro lupus@ximian.com
Tue, 20 Aug 2002 11:42:08 +0200


On 08/19/02 Gaurav Vaish wrote:
>     Silly MonoBurg cannot load libglib-2.0.so.0, which exists in
> /usr/local/lib, with directory already marked in /etc/ld.so.conf.
> 
>     Though I found the work-around. Export the LD_LINK_PATH and
> LD_LIBRARY_PATH, but most of you would agree with me that this solution is
> higly discouraged.
> 
>     Any suggestions?

> make[3]: Entering directory
> `/mnt/hdc7/home/gvaish/gaurav/GoMono/mono/mono/jit'
> ../monoburg/monoburg ./x86.brg -d codegen.h -s codegen-x86.c
> ../monoburg/monoburg: error while loading shared libraries:
> libglib-2.0.so.0: cannot open share
> d object file: No such file or directory
> make[3]: *** [codegen-x86.c] Error 127
[...]
> Mon Aug 19 11:03:37 IST 2002
> /mnt/hdc7/home/gvaish/gaurav/GoMono/mono> locate libglib-2.0.so.0
> /usr/local/lib/libglib-2.0.so.0.0.6
> /usr/local/lib/libglib-2.0.so.0

What is the output of ls -l /usr/local/lib/libglib-2.0.so.0?
It may be a dangling symlink.

lupus

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