Re: [gtk-list] Re: Error linking on Solaris:



Gert Scholten wrote:
> On Sat, 6 Feb 1999, Drazen Kacar wrote:

>:Which version of Solaris? Are you using Sun's or GNU linker? What is
>:the output of `gtk-config --libs'?
> 
> Here it comes:
> $ /net/public/bin/gtk-config --libs
> -L/usr/local/public/lib -L/usr/openwin/lib -R/usr/openwin/lib -lgtk -lgdk
> -lgmodule -lglib -ldl -lintl -lXext -lX11 -lsocket -lnsl -lw -lm

Hmm... There is no -R/usr/local/public/lib. That means you'll have to
have LD_LIBRARY_PATH set to that directory. Other than that, everything
seems fine.

> I use:
> gcc `/net/public/bin/gtk-config --libs` -o gMOO *.o
> for linking

That still doesn't tell us which link editor you use. Try
gcc -v `/net/public/bin/gtk-config --libs` -o gMOO *.o
and look for /usr/ccs/ld or /some/other/directory/ld

> I don't know how to get a version number of the solaris system ... there isn't
> a /proc/version file ....

uname -a

-- 
 .-.   .-.    Life is a sexually transmitted disease.
(_  \ /  _)
     |        dave@srce.hr
     |        dave@fly.cc.fer.hr



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