Reputation: 12371
I am trying to use log4cxx in my c++ project under the system Red Hat 7.
So I download it with this command: yum install log4cxx.x86_64
After that, I type this command: rpm -ql log4cxx and get this message:
Now I dont know how to use the log4cxx in my project. Where is the head files? Where is the lib files?
thanks in advance.
Upvotes: 0
Views: 3701
Reputation: 4926
Try with:
yum search log4cxx
you will get:
....
log4cxx.i686 : A port to C++ of the Log4j project
log4cxx.x86_64 : A port to C++ of the Log4j project
log4cxx-devel.i686 : Header files for Log4xcc - a port to C++ of the Log4j project
log4cxx-devel.x86_64 : Header files for Log4xcc - a port to C++ of the Log4j project
Just do yum install log4cxx-devel
too
Upvotes: 1