Re: gtk+ link error



Michael Torrie wrote:
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.

The way i did it is: run "make" until it hits the error.

In libgtk-x11-2.0.la and libgdk-x11-2.0.la, edit out of the dependency_libs
line:

  /usr/lib/libgobject-2.0.la
  /usr/lib/libgmodule-2.0.la
  /usr/lib/libglib-2.0.la

Run "make" again.




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