glib 1.1.9 doesn't install itself correctly on irix



I'm using glib 1.1.9 on IRIX 6.3. I've found two nits installing it.

1)

After `make install', my $prefix/lib contains (among other files):

$ ls -al libglib*
-rw-r--r--    1 jas      usr       846888 Dec 26 17:39 libglib-1.1.so.9.0.0
-rw-r--r--    1 jas      usr      1434964 Dec 26 17:39 libglib.a
-rw-r--r--    1 jas      usr          485 Dec 26 17:39 libglib.la
lrwxr-xr-x    1 jas      usr           20 Dec 26 17:39 libglib.so -> libglib-1.1.so.9.0.0

There is no file libglib-1.1.so which the linker looks for when say
"-lglib".

"Make install" (or libtool) should do a `ln -s libglib-1.1.so.9.0.0
libglib-1.1.so' in the library directory. If I do this manually, GTK
find the library and configure's happily.

The same applies to libgmodule and libgthread.

2)

$ glib-config --libs
-L/usr/local/hacks/vol/glib-1.1.9/lib -lglib

This is wrong, to compile something using Glib it's required to also
add:

-Wl,-rpath -Wl,/usr/local/hacks/vol/glib-1.1.9/lib

This differ from system to system (on Solaris it's "-Rpath"), and the
proper thing would probably be to fetch this information from libtool
which detect it properly.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]