[Mono-list] Mono compilation on Linux

Gaurav Vaish gaurav.vaish@amsoft.net
Mon, 19 Aug 2002 11:12:56 +0530


Duh,
    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?


Cheers,
Gaurav


.......
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
make[3]: Leaving directory
`/mnt/hdc7/home/gvaish/gaurav/GoMono/mono/mono/jit'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/hdc7/home/gvaish/gaurav/GoMono/mono/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/hdc7/home/gvaish/gaurav/GoMono/mono'
make: *** [all] Error 2

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

Mon Aug 19 11:03:43 IST 2002
/mnt/hdc7/home/gvaish/gaurav/GoMono/mono> cat /etc/ld.so.conf
/usr/X11R6/lib
/usr/lib/qt2/lib
/usr/local/lib