The solution for missing dynamic library files for programs running on the Development Board error while loading shared libraries

Source: Internet
Author: User

Recently in the Development Board to do image acquisition, when the program runs to the Development Board prompts: error while loading

Shared libraries libjpeg.so.62. See this file under Linux, but according to most of the solution

The method is to directly CP the file under Linux to the/lib of the file system, but it still fails after the attempt. Finally found the required

The libjpeg.so.62 must be in the cross compiler directory when compiling the program, so the JPEG library is also interleaved with the existing

Cross-compiler, and then the cross-compiler of the newly generated libjpeg.so.62 and other related files CP to the Development Board

Under the/lib, do not make any other changes, the program passed.

The following figure is the newly generated related file under the Cross compiler after installing the JPEG library

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.