LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   compile..can't find library files (https://www.linuxquestions.org/questions/linux-general-1/compile-cant-find-library-files-37141/)

doublefailure 12-02-2002 10:17 PM

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

neo77777 12-02-2002 10:21 PM

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

doublefailure 12-02-2002 10:29 PM

yeah
actually i did that
but diferent files popped up

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

thanks though

Mik 12-03-2002 02:11 AM

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?


All times are GMT -5. The time now is 06:55 AM.