Solve the problem that the dynamic link library compiled in Linux lacks the so suffix
Source: Internet
Author: User
Solve the problem that the dynamic link library compiled in Linux lacks the so suffix-Linux general technology-Linux programming and kernel information. For details, refer to the following. You can refer to this link, but it seems that it is not very clear.
I will not discuss the principles here. I will only discuss the processing methods.
1. Rebuild aclocal/automake/autoconf. Pay attention to the version. In fact the automake-1.8 used on fedora core 6 seems a bit problematic, and after fc8, the system didn't provide 1.8 Support. The 1.7 and other versions are supported. 1.7 is selected here to support both fc8 and fc6
In fact, we just need to copy some tools under/usr/share/libtool. Copying data one by one is not only troublesome, but also error-prone. Libtoolize can be used directly to complete this task.
Libtoolize
3. Run the./configure command again.
4. Run make clean all
5. Check the. libs directory to see if the dynamic link library has a. so suffix.
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