There are many things worth learning about in Linux. Here we mainly introduce the Linux library files. After collecting and sorting out the Linux library file materials, I will share them with you here, I hope you will have a lot to learn.
Linux library files are used when they are connected (static library and Shared
Linux operating system, the Linux library file path is still more commonly used, so I studied the Linux library file path, here to share with you, hope to be useful to everyone.Library files are used when connecting (static libraries and shared libraries) and running (limited to programs that use shared libraries), and
First, the header fileGCC looks for the required header files at compile time:* Search will start from-I※ then find the environment variable of GCC C_include_path,cplus_include_path,objc_include_path※ Find the default catalogue again/usr/include/usr/local/include/usr/lib/gcc-lib/i386-linux/2.95.2/include/usr/lib/gcc-lib/i386-linux/2.95.2/include/g++-3/usr/lib/gcc-lib/i386-linux/2.95.2/i386-linux/includeLibrary file But if there is a given prefix when the GCC is installed, then it is/usr/includeP
In Linux, read how to add the path of the library file, read how to add the path of the library file in Linux, the library file is connected (static library and shared library) and
About adding a shared library path to Ubuntu: 1. Write the absolute path to/etc/ld. so. conf2.ldconfigOK! * **************************** The following is a tedious explanation, if you want to see it, just look at it ..... Library files are used when they are connected (static databases and shared libraries) and run (on
Transferred from: http://blog.csdn.net/jurbo/article/details/52334345Write this cause is, or because in the Python challenge, sometimes want to solve problems, even should use which class library do not know, but also to Baidu (I do not believe that I am a person so embarrassed TVT)It seems that since I learned the basics of Python syntax, I've seen some of the c
The image is processed in Python using the PIL library, which can be used for some of the most common operations of pictures, such as resizing, formatting, color, rotation, and so on.
First you have to install Python (no introduction here).
After you install Python, it's very easy to install the PIL
First, the header fileHow GCC looks for the required header files at compile time:※ The search for header file will start with-I※ then find the environment variables of GCCC_include_path,cplus_include_path, Objc_include_path※ Find the default catalogue again/usr/include/usr/local/include/usr/lib/gcc-lib/i386-linux/2.95.2/include/usr/lib/gcc-lib/i386-linux/2.95.2/....../....../....../....../include/g++-3/usr/lib/gcc-lib/i386-linux/2.95.2/....../....../....../....../i386-linux/includeLibrary file
Library files are used when they are connected (static databases and shared libraries) and run (only programs that use shared libraries). Their search paths are set in the system. In Linux, the/lib and/usr/lib directories are used as the default library search paths. Therefore, you can directly use these directories without setting the search path. For libraries
Talking about the problem of locating path of dynamic library under Linux ldconfig ld_library_path Pkg_config_pathReprinted from: http://blog.chinaunix.net/xmlrpc.php?r=blog/articleuid=23069658id=4028681After learning to a stage, it is necessary to constantly summarize, precipitate, clear zero, and then continue to "road." Recall that when I first contact with Linux, whether it is to use the source package
Original article:
Http://blog.csdn.net/diantouxiao/article/details/5836345
References: http://hi.baidu.com/relayon/blog/item/95aaf7fcf8e3edf5fc037f89.html
We use three things when writing a program: header files, library files when linking, and dynamic library files when running. In the above 3, I think the header file is a preprocessing process and should be related to the compiler, while the
Linux header file and library file search path-Linux general technology-Linux programming and kernel information. The following is a detailed description. Include header file, link database, system definition, there are a total of the following sources designated gcc to find.
The ~ Gcc/collect2.c: locatelib ()
Written in specs
Later, it was specified with-D-I-L.
Gcc environment variable setting (during comp
Often asked this question, how to set the path.
How do I get out of the executable folder and then I have no way to use the executable file.
Why is it always wrong for me to use export?
A lot of questions, here is a very straightforward and simple method, in fact, the operation is very simple, familiar with Linux friends because they should know, is not very familiar with the use of Linux friends a little Help
Operating system: openSUSE 11.1 64-bi
There are many things worth learning about in linux. Here we mainly introduce linux library filesCollect and organize linux library filesHere, I would like to share some of my materials with you. I hope you will have a lot to learn.
Linux library filesWhen connecting to static and shared libraries) and running programs that only use shared libraries), the search
):
Gcc-iquote/bar/foo-I/usr/include/sys *. o
2. Form 2: # include Gcc looks for file2 in the following order:
-Idir1-Idir2.../Usr/local/includeLibdir/gcc//Usr//Usr/includeIn the first line,-Idir1-Idir2... is the directory specified by the user through the-I option of gcc. It is worth mentioning that the header files placed under/usr/local/include/will also be automatically retrieved by gcc, this is different from the library Processing Method in the/
I. header filesFind the required header file during GCC Compilation:※The search starts with-I.※Find the GCC environment variable c_include_path, cplus_include_path, objc_include_path.※Find the specified directory./Usr/include
/Usr/local/include/Usr/lib/GCC-lib/i386-linux/2.95.2/include/Usr/lib/GCC-lib/i386-linux/2.95.2/include/g ++-3/Usr/lib/GCC-lib/i386-linux/2.95.2/i386-linux/includeLibrary file, but if there is a given prefix when installing GCC, it is/Usr/include
Prefix/includePrefix/xxx
From: http://fanhaijun.com /? P = 1065
Module search path
The search path of the module is placed in the SYS. Path list. If the default SYS. path does not contain its own module or package path, you can dynamically add(SYS. Path.
Article Title: Linux dynamic library search path. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
As we all know, the default search paths for Linux dynamic libraries are/lib and/usr/lib. After a dynamic library is created, it
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.