Re: linking with dynamic libraries

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

 



On 25/06/07, Mohammed El-Afifi <mohammed_elafifi@xxxxxxxxx> wrote:

I'm using fedora 6, the 64-bit edition. I'm trying to build a program that
links with the library Xxf86vm located in the standard library path
/usr/lib. I get an error message that indicates that the library doesn't
exit. The error message says something like this, "ld returned 1 exit
status".
I checked the path /usr/lib and found that the library does exist. The real
name of the library is libXxf86vm.so.1.0.0, and the versioned soname, which
is a symbolic link to the real name, is libXxf86vm.so.1. Both names exist.
However the version-less link name, libXxf86vm.so, doesn't exit.

Install the missing "-devel" packages for all X libraries you want to
link against, e.g. libX11-devel, libXxf86vm-devel, and so on. The
-devel packages contain the non-versioned symlinks you are in search
of. ldconfig is for run-time linking, not build-time linking.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux