当前位置:网站首页>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
边栏推荐
- Development of entity developer database application
- Day 245/300 JS foreach data cannot be updated to the object after multi-layer nesting
- 机器学习植物叶片识别
- RichView TRVStyle 模板样式的设置与使用
- A method to measure the similarity of time series: from Euclidean distance to DTW and its variants
- Embed UE4 program into QT interface display
- Fast target recognition based on pytorch and fast RCNN
- [unity] how to export FBX in untiy
- LeetCode每日一题(1997. First Day Where You Have Been in All the Rooms)
- PCL realizes frame selection and clipping point cloud
猜你喜欢
Introduction to ros2 installation and basic knowledge
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
雲上有AI,讓地球科學研究更省力
Database basics exercise part 2
ROS learning_ Basics
《从0到1:CTFer成长之路》书籍配套题目(周更)
[daily question] 729 My schedule I
AI on the cloud makes earth science research easier
【刷题】怎么样才能正确的迎接面试?
Visitor tweets about how you can layout the metauniverse
随机推荐
Redis Foundation
Introduction to ros2 installation and basic knowledge
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
Introduction and underlying analysis of regular expressions
【Hot100】739. 每日溫度
Day 246/300 ssh连接提示“REMOTE HOST IDENTIFICATION HAS CHANGED! ”
Attributeerror successfully resolved: can only use cat accessor with a ‘category‘ dtype
Classification des verbes reconstruits grammaticalement - - English Rabbit Learning notes (2)
Simple use of MySQL database: add, delete, modify and query
Monotonic stack
接口自动化测试实践指导(上):接口自动化需要做哪些准备工作
Entity Developer数据库应用程序的开发
C语言_双创建、前插,尾插,遍历,删除
Basic commands of MySQL
【Hot100】739. Daily temperature
攻防世界 MISC中reverseMe简述
[ 英语 ] 语法重塑 之 英语学习的核心框架 —— 英语兔学习笔记(1)
MySQL high frequency interview 20 questions, necessary (important)
从autojs到冰狐智能辅助的心里历程
Oracle数据库11gr2使用tde透明数据加密报错ora28353,如果运行关闭wallet会报错ora28365,运行打开wallet就报错ora28353无法打开wallet