Re: Compiling problem

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

 



Jim writes:

Thank you that solved the compile problem, but when i tried to execute "inq" i get this error message;

$ inq
inq: error while loading shared libraries: libinklevel.so.5: cannot open shared object file: No such file or directory

The libinklevel.so.5 file is at

/usr/local/lib/libinklevel.so.5
/usr/local/lib/libinklevel.so.5.0.0

/usr/local/lib is not in the default runtime loader search path.

This application has a slightly broken makefile and/or configuration script. By default, it installs its libraries in a directory that is not searched by the loader, at runtime. Obviously broken.

There are several ways to solve this. The easiest way, the cop-out, is to fiddle with certain environment variables and/or configuration files in /etc. I'm not going to tell you how, because even though it's easier, it will lead to problems later down the line, and it's a broken solution.

The proper way, which requires more work, but is the right way to fix this, is to rebuild the application so its binaries get linked with the -R/usr/local/lib flag. If this application uses autoconf, this is done by passing an extra argument 'LDFLAGS=-R/usr/local/lib' to its configure script. If it uses a different configuration system, consult this application's help file for instructions on passing additional compiler options, for building.


Attachment: pgprV5JrQ5Cql.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[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