Fedora Linux Support Community & Resources Center
  #1  
Old 15th May 2007, 04:45 AM
chenpeib Offline
Registered User
 
Join Date: Mar 2007
Location: China
Posts: 25
ld can not find library

hi everyone
I installed the libid3tag library and now I want to link to libid3tag.so.0 ( it exist in /usr/lib/ ),but ld complains
"/usr/bin/ld: cannot find -lid3tag".
Can anyone help me ?Thanks in advance .
Reply With Quote
  #2  
Old 15th May 2007, 01:02 PM
giulix Offline
"Fixed" by (vague) request
 
Join Date: Oct 2005
Location: GMT+ 1
Posts: 2,950
The compiler looks for a library called libid3tag.so. What's the name of the library you installed and in which directory did it get installed ? If you've got , say, a library called libid3tag.so.0 in /usr/lib, switch user to root
Code:
su -
go to the installation library
Code:
cd /usr/lib
make a symbolic link to the library calling it what the compiler expects
Code:
ln -s libid3tag.so.0 libid3tag.so
and recompile
Reply With Quote
  #3  
Old 15th May 2007, 01:49 PM
sideways Offline
Retired User
 
Join Date: Oct 2004
Location: London, UK
Posts: 4,999
or
Code:
yum install libid3tag-devel
which will create the symbolic link, and required header file
Reply With Quote
Reply

Tags
library

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
Built application can't find library file... elmerfud Programming & Packaging 5 20th December 2007 11:17 PM
ldd can not find a static library jsanza@terra.es Using Fedora 0 19th September 2006 05:39 PM
ldd can not find a static library jsanza@terra.es Using Fedora 0 19th September 2006 05:20 PM
Fedora's Tomcat can't find jar library ?? Coenos Using Fedora 11 5th August 2006 09:52 AM
SimGear can't find Openal Library but it is installed Kingtu Using Fedora 1 22nd May 2005 06:01 AM


Current GMT-time: 11:56 (Saturday, 01-11-2014)

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
Hiratacho Photos - Alajuela Travel Photos on Instagram - Parli Vaijnath Photos on Instagram