Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 29th September 2006, 06:12 PM
Dirk_R Offline
Registered User
 
Join Date: Sep 2006
Posts: 1
Default library links for 32 bit libs on x86_64

Hi everybody,

I'm struggling with compiling apps in 32 bit mode on my x86_64 box. Using -m32 the compilation works fine. But linking fails, because many of the libs in /usr/lib are only versioned (e.g. libjpeg.so.62 and libjpeg.so.62.0.0), but it's missing the generic libjpeg.so link, so 'gcc test.c -ljpeg' just fails because it can't find anything.

So far I've just kludged it by creating those links myself, but that's not a solution. Why are those links missing?

Thanks

Dirk
Reply With Quote
  #2  
Old 2nd October 2006, 02:59 AM
Thetargos's Avatar
Thetargos Online
Registered User
 
Join Date: May 2004
Location: Mexico City, Mexico
Age: 35
Posts: 4,418
Have you tried preceding the make or gcc commands with the 'linux32' command? This fools the system making it think it running on i686, I think this also affects the LD_LIBARY_PATH environment variable to point to /usr/lib instead of /usr/lib64 by default.
__________________
If ain't broken, don't fix it! :eek:
If can be improved, go for it! :cool:

FedoraForum Community forums lurker.
Fedora user since RHL 5.2 :cool:

Systems: Laptop, Main System, Netbook.
Reply With Quote
  #3  
Old 12th October 2006, 12:14 AM
Alex W. Jackson Offline
Registered User
 
Join Date: Jan 2005
Posts: 27
Install the i386 versions of the -devel rpms for whatever libraries you need. That'll give you the necessary symlinks without having to create files by hand in /usr, which makes baby Jesus (and rpm) cry.
Reply With Quote
Reply

Tags
bit, default, library, libs, links, x8664

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
perl-libs.x86_64 Dependancey issue lazlow Using Fedora 11 17th November 2007 01:20 AM
i386 && x86_64 devel-libs?? PolywogSys Using Fedora 7 15th July 2007 12:38 AM
symbolic links missing for i386 compatibility shared libs ? Andreas_77 Using Fedora 1 5th July 2006 04:54 AM
Missing X11 i386 libs in FC4 x86_64 RockM Using Fedora 3 18th July 2005 06:47 PM
missing library links aymanos Installation and Live Media 1 3rd January 2005 02:01 AM


Current GMT-time: 22:08 (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