Re: gtk+ link error



On Tue, 2003-11-04 at 20:16, Russell Shaw wrote:
I noticed that in gtk+/gtk/libgtk-x11-2.0.la, there is this line of references
to things in /usr/lib:

Whenever I encounter weird linker errors like this, and you know that
the .la file refers to things you don't want it to, I move all the .la
files out of the way (you could delete them, but I don't know what all
the side effects are).  In /usr/lib, I make a dir called la and mv *.la
la.  Remove all la files from /usr/local/lib also the same way.  Then
try it again.

Michael




# Libraries that this one depends upon.

dependency_libs=' -L/usr/local/lib /home/russell/AAProjs/GNU/gtk+/gdk/libgdk-x11-2.0.la -L/usr/X11R6/lib 
-lXinerama -lXext /usr/lib//libXft.la /usr/lib/libXrender.la /usr/lib/libfreetype.la -lz 
-lfontconfig /usr/lib/libpangoxft-1.0.la /usr/lib/libpangox-1.0.la /usr/lib/libpango-1.0.la 
/usr/lib/libgobject-2.0.la /usr/lib/libgmodule-2.0.la /usr/lib/libglib-2.0.la 
/home/russell/AAProjs/GNU/gtk+/gdk-pixbuf/libgdk_pixbuf-2.0.la -lXcursor /usr/X11R6/lib/libXrender.la -lX11 
/usr/local/lib/libpangoxft-1.0.la /usr/local/lib/libpangox-1.0.la 
/usr/local/lib/libpango-1.0.la /usr/local/lib/libatk-1.0.la /usr/local/lib/libgobject-2.0.la 
/usr/local/lib/libgmodule-2.0.la -ldl /usr/local/lib/libglib-2.0.la -lm   '


It contains: /usr/lib/libglib-2.0.la
I haven't been able to determine why it happens.

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
-- 
Michael Torrie <torriem chem byu edu>



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