当前位置:网站首页>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
边栏推荐
- 【Hot100】739. Daily temperature
- UNIPRO Gantt chart "first experience": multi scene exploration behind attention to details
- ROS learning_ Basics
- 同事上了个厕所,我帮产品妹子轻松完成BI数据产品顺便得到奶茶奖励
- How to find a medical software testing institution? First flight software evaluation is an expert
- Do you really know the use of idea?
- Day 246/300 ssh连接提示“REMOTE HOST IDENTIFICATION HAS CHANGED! ”
- 成功解决TypeError: data type ‘category‘ not understood
- Data security -- 13 -- data security lifecycle management
- C语言_双创建、前插,尾插,遍历,删除
猜你喜欢
ROS学习_基础
Entity Developer数据库应用程序的开发
机器人类专业不同层次院校课程差异性简述-ROS1/ROS2-
Facebook AI & Oxford proposed a video transformer with "track attention" to perform SOTA in video action recognition tasks
同事上了个厕所,我帮产品妹子轻松完成BI数据产品顺便得到奶茶奖励
Monotonic stack
Map of mL: Based on the adult census income two classification prediction data set (whether the predicted annual income exceeds 50K), use the map value to realize the interpretable case of xgboost mod
My seven years with NLP
How to convert flv file to MP4 file? A simple solution
Apache DolphinScheduler源码分析(超详细)
随机推荐
【Hot100】739. 每日溫度
MySQL high frequency interview 20 questions, necessary (important)
19. Actual memory management of segment page combination
A method to measure the similarity of time series: from Euclidean distance to DTW and its variants
Apache DolphinScheduler源码分析(超详细)
LeetCode Algorithm 2181. 合并零之间的节点
UWA Pipeline 2.2.1 版本更新说明
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
漏了监控:Zabbix对Eureka instance状态监控
Windows Server 2016 standard installing Oracle
BIO模型实现多人聊天
[English] Verb Classification of grammatical reconstruction -- English rabbit learning notes (2)
顶测分享:想转行,这些问题一定要考虑清楚!
kubernetes集群搭建Zabbix监控平台
Attributeerror successfully resolved: can only use cat accessor with a ‘category‘ dtype
Lesson 7 tensorflow realizes convolutional neural network
同事上了个厕所,我帮产品妹子轻松完成BI数据产品顺便得到奶茶奖励
SAP SD发货流程中托盘的管理
Erreur de type résolue avec succès: type de données « catégorie» non sous - jacente
Fedora/rehl installation semanage