Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Programming \ Making Linux root file system problems on-link library     - OpenGL Superb Learning Notes - Vertex Shader example (Programming)

- Linux6.1 / 6.5 dual-NIC Binding (Linux)

- Secondary exponential smoothing prediction method implemented in Python (Programming)

- Detailed installation of CentOS 6.x (Linux)

- Linux package management (Linux)

- How to use Xmanager Remote Desktop and VNC Log (Linux)

- Linux automatically install service components and optimize the kernel parameters (Linux)

- Use the vi text editor and copy and paste Linux tips (Linux)

- Zypper command for SUSE Linux package management (Linux)

- To convert into a binary search tree sorted doubly linked list (Programming)

- Copy U disk files to the Linux system on a virtual machine (Linux)

- MySQL performance comparison of large amounts of data storage (Database)

- Use eCryptFS encrypt files and directories on Linux (Linux)

- Spring declarative transaction management (Programming)

- Build and verify MongoDB3.0.7 version (shard + replica) Cluster (Database)

- Ubuntu derivative version of the user and how to install SmartGit / HG 6.0.0 (Linux)

- Use OpenSSL for RSA encryption and decryption (Linux)

- Spacewalk remove packages install the update (Linux)

- Linux Tutorial: Open multiple tabs in the GNOME terminal in Ubuntu 15.04 (Linux)

- Linux SVN installation and configuration graphic tutorials (Server)

  Making Linux root file system problems on-link library
  Add Date : 2018-11-21      
  1. The application needs to support the implementation of the library

When you create your own releases often need to determine what support shared library file a command needs to ensure that the specified command and reliable operation in a separate system;

Can be realized in the Linux environment by ldd command is executed in a terminal:

ldd / bin / ls. (Note that file command)

You can get / bin / ls command associated shared library files list:

libtermcap.so.2 => /lib/libtermcap.so.2

libc.so.6 => /lib/libc.so.6

/lib/ld-linux.so.2 => /lib/ld-linux.so.2


In the results ldd command to print, "=>" on the left represents the name of the program so you need to connect the shared libraries right represented by the Linux shared library system finds the corresponding shared library specific location in the file system. By default, / etc / ld.so.conf file contains the default shared library search path.

Knowledge Point 2:

If you do not find with ldd command corresponding to the shared library file and its location, two cases may be caused by:

1. The shared library is not installed in the system;

2. Save in the shared library search path outside the /etc/ld.so.conf file listed.

Typically, many open-source programs or libraries would installs itself into the appropriate location / usr / local directory (eg: / usr / local / bin or / usr / local / lib), so that the system itself programs or libraries to distinguish. The /etc/ld.so.conf file in many Linux systems do not contain the default / usr / local / lib. Therefore, often you have already installed shared libraries, but did not find the case of shared libraries. Specific solutions are as follows:

Check /etc/ld.so.conf file, if one is missing / usr / local / lib directory, added to it; Note: After modifying /etc/ld.so.conf file system or installing a new library after that, you need to run a command: ldconfig, this command is used to refresh the system shared library cache that /etc/ld.so.cache file. In order to reduce the shared library system library search time, the shared library system maintains a shared library so the name of the cache file /etc/ld.so.cache. Therefore, after installing a new shared library, be sure to run ldconfig to refresh the cache.
- HBase vs Oracle (Database)
- MySQL5.6.17 compiler installation under CentOS (Database)
- Build RubyMine + Ruby On Rails + MySQL development environment under Windows (Server)
- Linux loopback adapter Driven Design (Programming)
- Security Knowledge: redirection command application security (Linux)
- 24 Docker recommendations (Linux)
- struts2 completely the wrong way to capture 404 (Programming)
- Close and limit unused ports computer server security protection (Linux)
- Java Class file format parsing (Programming)
- How to install with JSON support in Ubuntu 15.04 SQLite 3.9.1 (Database)
- High-performance JavaScript loaded and executed (Programming)
- Linux environment MySQL master-slave synchronization (Database)
- HBase cluster installation and deployment (Server)
- Linux command line to put on your coat GUI (Linux)
- lolcat: an output terminal rainbow effects in the Linux command-line tool (Linux)
- Management Linux Container with Docker in Ubuntu (Linux)
- Oracle LONG RAW BLOB CLOB type of presentation (Database)
- Detailed Linux su command to switch users Mistakes (Linux)
- MySQL 5.7.10 source code for the latest version of the installation process in detail (Database)
- Ubuntu users install the video driver Nvidia Driver 334.21 (Linux)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.