Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-17-2005, 01:26 PM
|
#1
|
|
Member
Registered: May 2003
Distribution: Ubuntu 6.10 SE, Mac OS 10.4.8
Posts: 370
Rep:
|
GTK+-2.6.2 compile error: libtool looking in wrong place for libglib-2.0.la
I'm getting the following error when I try to compile GTK+-2.6.2
Code:
/bin/sh ../../libtool --mode=link gcc -g -O2 -Wall -o timescale timescale.o libpixops.la -pthread -L/usr/local/lib -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -lm
libtool: link: cannot find the library `/usr/local/lib/libglib-2.0.la'
I checked ./configure --help and found no way of specifying where to look for glib. Does anyone know how I can get this thing to see my glib?
|
|
|
|
02-17-2005, 02:55 PM
|
#2
|
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
did you have a glib-2.0 in /usr/local? looks like you did not completely remove one that was there. when configure was doing it's checks, it called pkg-config it probably found the old one (.pc) so it set the ldflags for that lib accordingly.
To override the library linker:
export LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH
should force the linker to look in /usr/lib/ before it will look in /usr/local/lib
|
|
|
|
02-17-2005, 03:38 PM
|
#3
|
|
Member
Registered: May 2003
Distribution: Ubuntu 6.10 SE, Mac OS 10.4.8
Posts: 370
Original Poster
Rep:
|
No trace of glib-2.0 in /usr/local/lib, and no glib-2.0.pc in /usr/local/lib/pkgconfig. Bizarre. I made a quick-and-dirty fix by creating symbolic links to all glib-2.0 files and the /usr/lib/glib-2.0 directory in /usr/local. GTK is compiling now, still long from finished though. Time to make a sandwich and let it run. I'll post back if there's any problem.
|
|
|
|
02-17-2005, 03:47 PM
|
#4
|
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
what is the output of:
pkg-config --libs glib-2.0
|
|
|
|
02-17-2005, 03:49 PM
|
#5
|
|
Member
Registered: May 2003
Distribution: Ubuntu 6.10 SE, Mac OS 10.4.8
Posts: 370
Original Poster
Rep:
|
-L/usr/lib -lglib-2.0
I know, it makes no sense. Doesn't matter, though. GTK+ is compiled and installed.
|
|
|
|
02-17-2005, 03:51 PM
|
#6
|
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:36 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|