DebianLinux (etch). so LIBRARY PATH

Source: Internet
Author: User
DebianLinux (etch). so Link Library path-Linux Release Technology-Debian information, the following is read details. This is what I encountered when using ODE.

Generally, the installation is based on the source code in Linux. The steps are simple configure, make, and make install.

However, the problem may occur on make install: compiled dynamic link library (. so) will be put by makefile in places like/usr/local/lib. Because of the differences between Linux releases, this location may not be identified in LD_LIBRARY_PATH, as a result, the program cannot find the corresponding dynamic link library.

The solution to this problem on the Internet is to add this path to the system.

Add/usr/local/lib to/etc/ld. so. conf
And run:/sbin/ldconfig

For Debian, you may not be able to find the ld. so. conf file. The solution is:

Add/usr/local/lib to/etc/ld. so. conf. d/i486-linux-gnu.conf
And run:/sbin/ldconfig

(Root permission is required for all the above steps)
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.