Fedora Linux Support Community & Resources Center
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
Old 15th May 2007, 01:02 PM
giulix Offline
Join Date: Oct 2005
Location: CE(S)T
Posts: 3,242
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
su -
go to the installation library
cd /usr/lib
make a symbolic link to the library calling it what the compiler expects
ln -s libid3tag.so.0 libid3tag.so
and recompile
Asus K55VD, i5 3230M - Productivity/Programming (F24)
Asus M32CD - i7-6700, Asus STRIX-GTX970-DC2OC-4GD, 1x8 GB Sk Hynix 2133 MHz DDR4 - Gaming (W10)
HP Proliant DL 360 G5 - Heavy lifting (CentOS 7.2)
Reply With Quote
Old 15th May 2007, 01:49 PM
sideways Offline
Retired User
Join Date: Oct 2004
Location: London, UK
Posts: 4,999
yum install libid3tag-devel
which will create the symbolic link, and required header file
Reply With Quote


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 21st December 2007 12:17 AM
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: 20:43 (Tuesday, 19-09-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

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