LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-01-2007, 07:13 PM   #1
milvstore
LQ Newbie
 
Registered: Nov 2004
Distribution: FC2
Posts: 3

Rep: Reputation: 0
Compilation problems after FC6 to FC7 upgrade.


I have upgraded from FC6 to 7 on an X86_64 architecture and had relatively few problems. However when I try to build software from source (XINE and now SciLab) the ./configure stage fails when it tries to find certian libraries. An 'env' command shows that there is no LD_LIBRARY_PATH set as default for any of the users on the system, but setting this manually doesn't seem to help.

Apologies if this has been discussed elsewhere but I can't seem to find a relevant thread.

All help greatly appreciated.

Regards Russ.
 
Old 08-02-2007, 06:41 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Generally with a distro like Fedora missing libraries means you don't have the development package for that library not necessarily the library itself. The configure script is most likely using pkg-config to find and read the library's metadata file. Pkg-config isn't finding the metadata file. In any event, make sure you have the development package for the missing libraries installed.

BTW, LD_LIBRARY_PATH will have no impact on this; the environment variable that would is PKG_CONFIG_PATH.
 
Old 08-02-2007, 07:26 AM   #3
milvstore
LQ Newbie
 
Registered: Nov 2004
Distribution: FC2
Posts: 3

Original Poster
Rep: Reputation: 0
Hmmm - PKG_CONFIG_PATH is not set for any users either. With XINE specifically it would not operate after the upgrade due to not finding libcurl.so.3 (nowhere to be found) so I tried a re-configure and rebuild to see if that would help. the make stage gives the following error:-

/usr/lib/libGL.so: could not read symbols: File in wrong format:

which I thought meant that it somehow was confusing 32 and 64 bit libraries...Both 32 and 64 bit libraries are on the system and also all the development libraries.

The Scilab build complains about not finding libtcl after having found the appropriate tcl.h file. Again the libraries and development libraries (64 bit only this time) are on the system.

As I say, hmmmmmm

Last edited by milvstore; 08-02-2007 at 07:27 AM.
 
Old 08-02-2007, 07:36 AM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
/usr/lib/libGL.so should be the 32-bit library if FC7 is standards compliant. The 64-bit should be in /usr/lib64/libGL.so. PKG_CONFIG_PATH usually isn't set unless you have metadata files in non-standard locations or need to separate 32-bit and 64-bit versions of packages.

Can't read symbols because the file is in the wrong format sounds like you're trying to build a 64-bit binary against a 32-bit library. You don't really provide enough information to to say more than that.
 
Old 08-04-2007, 12:28 PM   #5
milvstore
LQ Newbie
 
Registered: Nov 2004
Distribution: FC2
Posts: 3

Original Poster
Rep: Reputation: 0
I have now discovered that the run time linker has a problem with SELINUX. When I switch the mode to "permissive" all configuration and run time linking works perfectly. How do I ensure SELINUX does not conflict with the linker/loader?
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrade to FC7 Failed JonBL Fedora 5 08-02-2007 07:17 AM
Invalid swap file error upgrading from FC6 to FC7 f1f1 Fedora 6 07-10-2007 09:03 PM
libraw1394 changes between FC6 and FC7 ChillyWillie Fedora 2 07-02-2007 10:10 PM
Can't boot after upgrading from FC6 to FC7 dennis Fedora 5 06-15-2007 04:21 PM
Long start-up due to very slow udev after upgrading FC6 to FC7 Baran Fedora 2 06-03-2007 05:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 04:33 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
Open Source Consulting | Domain Registration