Cannot open shared object file: No such file or directory solution

Source: Internet
Author: User

Cannot open shared object file: No such file or directory solution. /move_db: error while loading shared libraries: libmysqlclient. so.15: cannot open shared object file: No such file or directory Step 1: confirm which Lib cannot Load> ldd move_db linux-gate.so.1 => (0x0089c000) libmysqlclient. so.15 => not found libstdc ++. so.6 =>/usr/lib/libstdc ++. so.6 (0x00cfa000) libm. so.6 =>/lib/libm. so.6 (0x00804000) libgcc_s.so.1 =>/lib/libgcc_s.so.1 (0x009f8000) libc. so.6 =>/lib/libc. so.6 (0x0069e000)/lib/ld-linux.so.2 (0x0067b000) Step 2: The system needs to confirm the address of the dynamic library and put the path of the dynamic library to/etc/ld. so. in conf, it is recommended that: in/etc/ld. so. conf. d. Create a file configuration file for the dynamic library *. conf, fill in the absolute path of the dynamic library in this file. For example: vim/etc/ld. so. conf. d/ld. mysql. so. conf/usr/local/mysql/lib Step 3: Run ldconfig to recreate/etc/ld. so. cache

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.