Re: ld finds some libraries, but not others (REVISED)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 15 Dec 2011 00:31:26 -0800, JR (Jonathan) wrote:

> A build is failing with the error cannot find <library> for libraries
> that are, in fact present on the system.

They aren't. The "test bed" is invalid. Linker option -lwhatever needs
expects to find a  libwhatever.so  file or symlink. Those are provided by
the respective -devel packages.
 
>         lrwxrwxrwx. 1 root root     15 Nov  9 18:28 libICE.so -> libICE.so.6.3.0*
>         lrwxrwxrwx. 1 root root     15 Nov  9 08:02 libICE.so.6 -> libICE.so.6.3.0*
>         -rwxr-xr-x. 1 root root  98328 Jun 21 09:37 libICE.so.6.3.0*

Here, libICE.so is present.

>         lrwxrwxrwx. 1 root root     14 Nov  9 08:14 libgd.so.2 -> libgd.so.2.0.0*
>         -rwxr-xr-x. 1 root root 278048 Oct 26 20:15 libgd.so.2.0.0*

Here, libgd.so is not present.

>         /usr/bin/ld: cannot find -lgd
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux