当前位置:网站首页>Compile, connect -- notes-2
Compile, connect -- notes-2
2022-07-06 06:55:00 【wishfly】
1 Linux The dynamic shared libraries on the operating system are roughly divided into three categories
ldd nm strip strings readelf file Check the information _pao98pao The blog of -CSDN Blog
1、 Operating system level shared library and basic system tool library For example libc.so, libz.so, libpthread.so wait , These system libraries will be placed in /lib and /usr/lib Below directory , If it is 64 Bit operating system , There will be /lib64 and /usr /lib64 Catalog . If the operating system has a graphical interface , Then there will be /usr/X11R6/lib Catalog , If it is 64 Bit operating system , also /usr/X11R6 /lib64 Catalog . There may also be other specific Linux System library directory of version . The completeness and correct version of these system library files , Ensured Linux The above programs can run normally . 2、 Application level system shared libraries The operating system does not come with , But libraries that may be shared by many applications , Usually placed in /usr/local/lib and /usr/local/lib64 Under these two directories . Many programs you compile and install by yourself will automatically put /usr/local/lib Join in gcc Of -L Parameters , And when running, it automatically arrives /usr/local /lib Now go to find the shared library . The above two types of dynamic shared libraries , The application will automatically find them , It doesn't need your extra settings and worries . Why is that ? Because these directories are added to the search path of dynamic link program by default .Linux The search path of the system shared library is defined in /etc/ld.so
边栏推荐
- GET 和 POST 请求类型的区别
- Embed UE4 program into QT interface display
- 自动化测试环境配置
- [Yu Yue education] Dunhuang Literature and art reference materials of Zhejiang Normal University
- librosa音频处理教程
- AttributeError: Can‘t get attribute ‘SPPF‘ on <module ‘models. common‘ from ‘/home/yolov5/models/comm
- Simple use of JWT
- 将ue4程序嵌入qt界面显示
- The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
- Erreur de type résolue avec succès: type de données « catégorie» non sous - jacente
猜你喜欢
随机推荐
[English] Grammar remodeling: the core framework of English Learning -- English rabbit learning notes (1)
18.多级页表与快表
Database basics exercise part 2
AttributeError: Can‘t get attribute ‘SPPF‘ on <module ‘models.common‘ from ‘/home/yolov5/models/comm
At the age of 26, I changed my career from finance to software testing. After four years of precipitation, I have been a 25K Test Development Engineer
Simple query cost estimation
What is the difference between int (1) and int (10)? Senior developers can't tell!
Market segmentation of supermarket customers based on purchase behavior data (RFM model)
Briefly describe the differences between indexes, primary keys, unique indexes, and joint indexes in mysql, and how they affect the performance of the database (in terms of reading and writing)
GET 和 POST 请求类型的区别
云上有AI,让地球科学研究更省力
Embed UE4 program into QT interface display
【Hot100】739. 每日温度
Simple use of JWT
kubernetes集群搭建Zabbix监控平台
Reflex WMS中阶系列3:显示已发货可换组
Basic commands of MySQL
UDP攻击是什么意思?UDP攻击防范措施
Apache dolphin scheduler source code analysis (super detailed)
Machine learning plant leaf recognition








