Menu

#34 Unable to compile or build rpm on RHEL 7.4

0.2
open
nobody
None
5
2019-02-05
2019-02-05
Lios
No

I am trying to build the rpm (or compile) and I am getting the smae message on both.

Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ziRM9h
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd pcapsipdump-0.2
+ make
Required library not found: pcap
Please install it in your distribution-specific manner, e.g.:
 yum install libpcap-devel
 apt-get install libpcap-dev
 cd ~ports/net/libpcap && make install
make: *** [pcapsipdump] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.ziRM9h (%build)

I have installed libpcap-dev and libpcap but continue to get this error. It looks like I have libpcap 1.5.3 installed from yum, in case the version matters.

This is a 64 bit install of RHEL 7.4, again in case it matters.

I have these after installing those packages.
/usr/lib64/libpcap.so
/usr/lib64/libpcap.so.1
/usr/lib64/libpcap.so.1.5.3

I see the files on the system.. so either its looking for something else or something else is going on... any ideas?

Discussion


Log in to post a comment.