A dynamic link library is missing from Linux under links

Source: Internet
Author: User

1, use ln to link the required so file to/usr/lib or/lib the two default directories below

Ln-s/where/you/install/lib/*.so/usr/libsudo ldconfig

2, modify Ld_library_pathexport ld_library_path=/where/you/install/ Lib: $LD _library_pathsudo ldconfig

3. Modify the/etc/ld.so.conf and then refresh

Vim / etc / ld.so.confadd/where/you/install/Lib sudo ldconfig

1. Use ln to link the required so file to the/usr/lib or/lib two default directories below

ln-s/where/you/install/lib/*.so/usr/libsudo ldconfig

2. Modify Ld_library_path

export Ld_library_path=/where/you/install/Lib: $LD _library_ PATH sudo ldconfig

3. Modify the/etc/ld.so.conf and then refresh

vim /etc/ld.so.conf

Add/where/you/install/Lib

sudo ldconfig

A dynamic link library is missing from Linux under links

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.