Fedora Linux Support Community & Resources Center
  #1  
Old 25th July 2009, 10:04 PM
darkone66669 Offline
Registered User
 
Join Date: Jun 2009
Posts: 2
Need info

I am using fedora 10 64bit. I downloaded and compiled xine-lib. It compiled and installed just like it was suppose to. It put the libs into /usr/local/lib. I modified ld.so.conf to include usr/local/lib and the output showed that it found xine-lib. Then when I tried to configure xine-ui it couldn't find xine-lib. I found a workaround though I'm not sure how it actually worked and that is what I would like to know. I uninstalled xine-lib the did a rpmbuild on it and it put the xine lib in lib64. then I did a rpmbuild on xine-ui and everything worked just fine. I'm curious why rpmbuild worked and ./configure; make; make install didn't. I'm curious just in case I run across the same problem again somewhere else and I don't have the option to build an rpm from the tars.
__________________
"I drank what?":confused:
Reply With Quote
  #2  
Old 26th July 2009, 02:21 AM
PabloTwo's Avatar
PabloTwo Offline
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,119
Hello, and welcome to the forum-

I'm not sure I can answer your question with any certainty or authority, so, I won't answer it directly. But a couple of suggestions on your proceedures here.

Because so many compiled sourcecode packages use PREFIX=/usr/local, and Fedoras default is PREFIX=/usr, it's always a very good idea to specify that in the ./configure command:

./configure --prefix=/usr

That helps avoid packages not being installed into directories that other packages don't expect to initially find them and having to fiddle with the relocations to make it work.

The second thing that may or may not help in this case is when any package installes linked shared object files (.so), in case the 'install' routine forgot to do so, is to run the ldconfig command manually after you've done the install step. The ldconfig command will check through all known/expected locations and 'link' any .so files that haven't yet been linked to the other files they need to be to work.
Reply With Quote
  #3  
Old 27th July 2009, 02:09 AM
darkone66669 Offline
Registered User
 
Join Date: Jun 2009
Posts: 2
I did run the ldconfig manually and it does look in /usr/local. There are also other compiled shared libraries in the same path and they work fine. But Thanks anyway for the input.
__________________
"I drank what?":confused:
Reply With Quote
Reply

Tags
info

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Just as info bob Linux Chat 0 6th March 2008 09:35 PM
Need some info.. cyberbob Using Fedora 3 1st May 2007 05:18 PM
Does anybody have any info concerning gcc 4.0.1 in fc4? Belegdol Using Fedora 1 26th July 2005 11:32 AM


Current GMT-time: 22:53 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat