Re: [gtk-list] glib still doesn't link right on Solaris



Todd Dukes wrote:
> 
> If you do a normal install of glib and gtk+, for example
> 
> cd glib
> ./configure --prefix=/somedir
> make
> make install
> cd ../gtk+
> ./configure --prefix=/somedir
> make 
> make install
> 
> the second make (making gtk+) will fail at link because it
> can't find the glib library.

You are missing the -R option in LDFLAGS.  Here is what I use:

bubba:/home/jgarzik/cvs/gnome/glib> CC=gcc CFLAGS=-O ./configure ; make
bubba:/home/jgarzik/cvs/gnome/gtk+> CC=gcc CFLAGS=-O LDFLAGS=-R/usr/local/lib ./configure --with-threads ; make
bubba:/home/jgarzik/cvs/gnome/imlib> CC=gcc CFLAGS=-O LDFLAGS=-R/usr/local/lib ./configure ; make

	Jeff





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