LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   RPM install problem (https://www.linuxquestions.org/questions/linux-newbie-8/rpm-install-problem-174132/)

RHGilman 04-24-2004 04:06 PM

RPM install problem
 
I am trying to configure Fedora 1 to access a Microsoft VPN server by following directions posted by dowen at fedoranews, but there is a problem at the first step.

[root@600X VPN]# rpm -Uvh ppp-2.4.2_cvs_20040102-1.i386.rpm
error: Failed dependencies:
libpcap.so.0 is needed by ppp-2.4.2_cvs_20040102-1
[root@600X VPN]#

This error puzzles me because libpcap.so.0 seems to be available.

root@600X VPN]# ls -l /usr/lib/libpcap.so.0
lrwxrwxrwx 1 root root 16 Apr 10 07:43 /usr/lib/libpcap.so.0 -> libpcap.so.0.6.2
[root@600X VPN]#

What am I missing?

mandeltuete 04-24-2004 05:26 PM

Maybe it is looking for /usr/local/lib/libcap.so.0 instead of /usr/lib/libcap.so.0.

Try as root:
# ln -s /usr/lib/libcap.so.0 /usr/local/lib/libcap.so.0

HTH

RHGilman 04-25-2004 12:21 PM

No luck unfortunately. I created a few more links too, but it doesn't seem to help.
Thanks.

[root@600X VPN]# ls -l /usr/local/lib/libpcap*
lrwxrwxrwx 1 root root 25 Apr 25 13:17 /usr/local/lib/libpcap.so -> /usr/lib/libpcap.so.0.6.2
lrwxrwxrwx 1 root root 25 Apr 25 13:14 /usr/local/lib/libpcap.so.0 -> /usr/lib/libpcap.so.0.6.2

[root@600X VPN]# ls -l /lib/libpcap*
lrwxrwxrwx 1 root root 25 Apr 25 13:18 /lib/libpcap.so -> /usr/lib/libpcap.so.0.6.2
lrwxrwxrwx 1 root root 25 Apr 24 16:14 /lib/libpcap.so.0 -> /usr/lib/libpcap.so.0.6.2

[root@600X VPN]# rpm -Uvh ppp-2.4.2_cvs_20040102-1.i386.rpm
error: Failed dependencies:
libpcap.so.0 is needed by ppp-2.4.2_cvs_20040102-1
[root@600X VPN]#

Gozar 05-02-2004 04:53 AM

libpcap version in RPM
 
I encountered the same problem as you mention here. After some looking around I found out that according to the RPM database I am using libpcap-0.7.2-7.1 ("rpm -qi libpcap" gives me this), but in my /usr/lib directory I can only find libpcap-0.6.2 and a link from libpcap.so.0 to this file.

Can anyone tell me/us if this is indeed the reason for the failed dependency message. And how do we get around this problem? I prefer not to use the --nodeps option, because this will disrupt the RPM database.

RHGilman 05-02-2004 05:49 AM

I have the same anomaly. RPM says I am using libpcap-0.7.2-8.fc1.1.


All times are GMT -5. The time now is 09:30 AM.