To keep it more Redhat looks:
1.First remove the old library to avoid any conflict:
yum erase libevent*
2.Download and uncompress the package:
wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
tar xzvf libevent-2.0.21-stable.tar.gz
3.Compile and install into /usr/lib:
cd libevent-2.0.21-stable
make clean
./configure --prefix=/usr
make
make install
You should have it under /usr/lib, with correct /usr/lib/pkgconfig. Not changes LD_LIBRARY_PATH needed at all!
4.If unhappy with where it installed, uninstall anytime:
cd libevent-2.0.21-stable
make uninstall
make: *** No targets specified and no makefile found. Stop.
ReplyDeleteHi there, try to check your typo on the command?
ReplyDelete