LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 12-02-2002, 11:17 PM   #1
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
compile..can't find library files


I'm trying to compile gtk+2.0
should be stupid error..

i have /usr/local/lib in ld.so.conf file
[root@beautifulmind gtk+-2.0.9]# cat /etc/ld.so.conf
/usr/X11R6/lib
/usr/lib/qt2/lib
/usr/lib/qt3/lib
/opt/kde3/lib/
/usr/lib/mysql
/usr/local/pqxx/lib
/usr/local/lib
/usr/local/lib/pango/1.0.0/modules
[root@beautifulmind gtk+-2.0.9]#

i did ldconfig as root

libgobject-2.0.la is at /usr/local/lib not at /usr/lib
how can i solve this nicely?
thank you

libtool: link: warning: `/usr/lib/libgobject-2.0.la' seems to be moved
grep: /usr/lib/libgmodule-2.0.la: No such file or directory
/bin/sed: can't read /usr/lib/libgmodule-2.0.la: No such file or directory
libtool: link: `/usr/lib/libgmodule-2.0.la' is not a valid libtool archive
make[3]: *** [libgdk-x11-2.0.la] Error 1
 
Old 12-02-2002, 11:21 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
you can create a symlink in /usr/lib to point to the "missing" library
cd /usr/lib
ln -s /usr/local/lib/libgobject-2.0.la
 
Old 12-02-2002, 11:29 PM   #3
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Original Poster
Rep: Reputation: 30
yeah
actually i did that
but diferent files popped up

i don't want to link in *.la files =)

thanks though
 
Old 12-03-2002, 03:11 AM   #4
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 46
Have you tried removing /etc/ld.so.cache and then running ldconfig again?
Also you should probably either remove some conf file in the source tree of gtk or start from a clean source tree.

Oh nevermind I noticed it's an la file and not an so file. Well what does it say in the .la file itself? It should contain a line at the end which specifies the libdir, is that still set to /usr/lib?

Last edited by Mik; 12-03-2002 at 03:18 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting a different library path on compile brainlesspinkey Linux - Software 7 11-13-2005 06:42 PM
compile error srgp library in C csst0136 Programming 13 10-25-2005 10:36 PM
x86_64 library compile problem zypo Fedora 1 10-10-2005 05:46 AM
howto compile bin with my library using all-static and shared linked standart library stpg Programming 4 06-29-2004 05:20 AM
How to compile a tiny simple library by g++? Xiangbuilder Programming 13 10-20-2003 09:33 PM


All times are GMT -5. The time now is 07:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration