LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-08-2001, 11:45 PM   #1
paavaka
Member
 
Registered: Jun 2001
Location: Virginia
Distribution: Slackware,Debian,SuSE
Posts: 43

Rep: Reputation: 15
Potentially stupid question: how to move glib?


I have been pulling my hair out for a little while now... this is the first time I have tried to build GNOME from scratch.
I installed all of the packages leading up to gnome-libs in a temporary directory, so that I could seal them up into a Slackware package. Of course, I changed the prefix entries in glib-config, gtk-config, glib.pc, etc, to reflect their true location.
However, when compiling gnome-libs failed. It is looking for libglib.la in its original location, not where it is now. I have checked very, very carefully... all of my files seem to be pointing to the correct locations. The file is there. It is in my path. I have tried running ldconfig. The gnome library directory is in my ld.so.conf file. The makefile seems to be using the correct parameters. I have satisfied all of the prerequisites, I have installed everything in the right order (to the best of my knowledge, and that of a handy little article on the GNOME site).
I suppose that the original location is written in some library, but the prefix parameters SHOULD be overriding that path.
 
Old 12-09-2001, 01:26 PM   #2
paavaka
Member
 
Registered: Jun 2001
Location: Virginia
Distribution: Slackware,Debian,SuSE
Posts: 43

Original Poster
Rep: Reputation: 15
Error message:

libtool: link: warning: library `/opt/gnome/lib/libORBit.la' was moved.
(many more like this)
libtool: link: cannot find the library `/home/james/build/opt/gnome/lib/libglib.la'
make[1]: *** [loadshlib] Error 1
make[1]: Leaving directory `/home/james/tmp/gnome/gnome-libs-1.4.1.2/libgnorba'

I am not a C-programmer, so I don't know a whole lot about libtool. It looks to me as if libtool linked the original path names, which would make sense. Is there a way for me to relink these libraries, or is there some sort of database or file that is still storing the false paths?

I was using libtool 1.4, but I just upgraded to 1.4.2. Perhaps I should try downgrading?
 
Old 02-17-2002, 09:57 PM   #3
cmcginty
LQ Newbie
 
Registered: Feb 2002
Posts: 9

Rep: Reputation: 0
I also am in the same boat. I removed the previous gnome installation, and built the packages from scartch into their default directories. (/usr/local/lib/) I build the gnome base correctly, but bonobo and other programs fail when using libtool. Libtool indicates that it is looking in the old installintion directory which no longer exists. (/opt/gnome/lib/) How can I get libtool to use the files in /usr/local/lib ?????????
 
Old 02-17-2002, 10:22 PM   #4
Malicious
Member
 
Registered: Jan 2002
Location: Galveston Island
Distribution: suse, redhat
Posts: 208

Rep: Reputation: 30
Try "libtool --config". This will tell you the configuration variables that are being used by libtool. Probably the one you are interested in is sys_lib_searchpath_spec which is the paths to search for libraries. See if "libtool --help -mode=execute" will lead you to a solution.
 
Old 02-18-2002, 09:23 AM   #5
cmcginty
LQ Newbie
 
Registered: Feb 2002
Posts: 9

Rep: Reputation: 0
Just after writing this I figured it out. There was one library left over, gnome-print, that I had compiled before I reinstalled gnome. This package was still statically pointing to the old directory somehow. All I had to do was re-compile it, and libtool stopped complaining and trying to use the old directory.
 
  


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
Stupid, stupid question; I lost Klaptop. :( Surfrider Slackware 2 08-31-2005 10:12 PM
a potentially stupid question.... killerbob Slackware 13 05-26-2005 11:03 PM
Gnome Themes In Fedora - Potentially Dumb Question salvatore Fedora 4 03-13-2004 09:58 PM
Ksirc ,Stupid Move!! chilibowl Linux - Security 2 08-06-2003 05:07 PM
Potentially stupid question about fonts in *box themes Electrode Linux - Software 0 03-01-2003 08:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration