log4cxx log library is a dynamic library for logging c++ logs, then how to install log4cxx log library under RedHat system? The following small series will introduce you to the steps of RedHat to install the log4cxx log library. Interested friends may wish to understand it.
First of all, I got the information, install the library needs a total of three software
apr-1.4.6.tar.gz
apr-util-1.4. 1.tar.gz
apache-log4cxx-0.10.0.tar.gz
The installation order is from top to bottom, why, because the latter depends on the former.
I have sorted out the ideas, there are several problems:
1. Which directory does the log4cxx library install?
2. How to use it after installation?
My first thought is to check the information online. Many results are displayed:
1. For the problem 1, 99% are installed in the /usr/local directory (my permission is Ordinary users, need to be rooted in the /usr/local directory, I suddenly chilled, in case I installed the wrong, how to do the server storm)
2. For problem 2, because 99% Are installed in the /usr/local directory, the result is to provide a test program, directly to g++ test.cpp other simple parameters
I thought and thought, and finally did the first step (in Before this, I asked the leader for administrator privileges. After installation, there was no problem. However, when I was writing the program test, the files about the log4cxx library could not be found. I crashed, and this is said online. Not the same.
Steps:
1. Place the three compressed packages in a directory you like, such as /home/mac/log4cxx.
2.In /Decompress three compressed packages in the home/mac/log4cxx directory to get three folders (decompress the command tar zxvf your target)
Previous12Next page Total 2 pages
In Linux system operation, using MyEclipse to start Tomcat suddenly becomes very sl
High-availability cluster can make the overall service of the cluster as available as possible, redu
Some Linux users have chosen Gentoo as an open source tool because there are fewer users using Gento
Ctags tool is mainly used to traverse source files, quickly find the symbols in the location source
Ubuntu install Nox, compile make error, what should I do?
Ubuntu 14.04 running adb error how to do?
How to install the whois command on the CentOS system
Linux system uses the command line to execute the php file transfer step
How to create RPM or DEB package from Linux source code
How to install Cacti tools in Gentoo system
Ubuntu how to install and optimize SSD hard disk
VMware clone Linux prompt eth0 can not find what to do?
CentOS 6.5 install wireless network card driver tutorial
What if the iPad cannot be charged in Ubuntu?
The method of modifying the /etc/profile file in Linux system
How can I delete a file on Win7?
Improve Windows 2003 speed method
Win7 theme installation failed Delete the 9th character space
Win7 system update failed error code 80070020 What should I do?
Win10 how to use the file history function to restore files
Easily set up Win2003 WEB server
IE browser unexpectedly closes the webpage recovery function setting method
Win7 system can not display the hard disk icon solution
Win7 set the shutdown waiting time method
How to solve the problem of Win10 playing the old version of the stand-alone game?