LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 02-03-2004, 07:55 PM   #1
Baltasar
Member
 
Registered: Jan 2004
Distribution: Fedora & Debian
Posts: 43

Rep: Reputation: 15
failed dependecies with libpcap


Hi

I must get ppp from http : //pptpclient.sourceforge.net to work, because my DSL use the pptp protocol.
My problem is installing the ppp package.
A rpm -ivh ppp-2.4.2_cvs_20040102-1.i386.rpm brings up a "Failed dependencies: libpcap.so.0 is needed by ppp-2.4.2_cvs_20040102-1", but libpcap is installed!


rpm -qa | grep libpcap
libpcap-0.7.2-7.1

ls -l /usr/lib/libpcap*
-rw-r--r-- 1 root root 173222 29. Aug 15:18 /usr/lib/libpcap.a
lrwxrwxrwx 1 root root 16 4. Feb 01:44 /usr/lib/libpcap.so -> libpcap.so.0.6.2
lrwxrwxrwx 1 root root 16 4. Feb 01:44 /usr/lib/libpcap.so.0 -> libpcap.so.0.6.2
lrwxrwxrwx 1 root root 16 4. Feb 01:44 /usr/lib/libpcap.so.0.6 -> libpcap.so.0.6.2
-rwxr-xr-x 1 root root 117188 29. Aug 15:18 /usr/lib/libpcap.so.0.6.2

How can i resolv the problem?

Thank you in advance!
Baltasar
 
Old 02-03-2004, 10:10 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,865

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"How can i resolv the problem?"

Something is wrong because rpm shows that you have libpcap version 0.7.2-7.1 installed but the files in /usr/lib/libpcap are version 0.6.2. I don't know why this version discrepency would cause the ppp install to fail. But if that is the problem then you could fix it by removing libpcap with rpm -e libpcap or perhaps rpm --nodeps -e libpcap. Keep removing libpcap until rpm tells you that there is no libpcap installed. Then install libpcap version 0.7.2-7.1 and see if that solves the ppp instll problem.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

Last edited by jailbait; 02-03-2004 at 10:14 PM.
 
Old 02-04-2004, 02:12 PM   #3
Baltasar
Member
 
Registered: Jan 2004
Distribution: Fedora & Debian
Posts: 43

Original Poster
Rep: Reputation: 15
i removed libpcap and the packages which depends on it and installed libpcap-0.8.1-4.
Now the libpcap files in /usr/lib have got the same version as the rpm package is, but i have still the same problem as before and a few others.


# rpm -ivh 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

# ls -la /usr/lib/libpcap.*
-rw-r--r-- 1 root root 211276 23. Jšn 14:52 /usr/lib/libpcap.a
lrwxrwxrwx 1 root root 16 4. Feb 19:36 /usr/lib/libpcap.so -> libpcap.so.0.8.1
lrwxrwxrwx 1 root root 16 4. Feb 19:36 /usr/lib/libpcap.so.0 -> libpcap.so.0.8.1
lrwxrwxrwx 1 root root 16 4. Feb 19:36 /usr/lib/libpcap.so.0.8 -> libpcap.so.0.8.1
-rwxr-xr-x 1 root root 142420 23. Jšn 14:52 /usr/lib/libpcap.so.0.8.1



and the new error is:
# apt-get install ethereal
.....
.....
The following packages have unmet dependencies:
ethereal: Depends: libpcap.so.0.6.2

I think this problem is reproducable on every FC1 system, because i tried to install ppp,pptp on 4 fresh installed systems and every time it had occured.

I am grateful over each advice
Baltasar
 
Old 02-04-2004, 04:01 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,865

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"The following packages have unmet dependencies:
ethereal: Depends: libpcap.so.0.6.2"

You could try making libpcap.so.0.6.2 a symbolic link to libpcap.so.0.8.1

ln -s libpcap.so.0.8.1 /usr/lib/libpcap.so.0.6.2

I am not sure but you may have to run ldconfig before this link will take effect.


--------------------------
Steve Stites
 
Old 02-04-2004, 04:16 PM   #5
Baltasar
Member
 
Registered: Jan 2004
Distribution: Fedora & Debian
Posts: 43

Original Poster
Rep: Reputation: 15
i didn't thank you for your replies yet, so thank you

i have to tell you, that creating a symlink and running ldconfig didn't help
if you try installing ppp from http://pptpclient.sourceforge.net , do you get the same errors?

Last edited by Baltasar; 02-04-2004 at 04:21 PM.
 
Old 02-04-2004, 05:45 PM   #6
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,865

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"i have to tell you, that creating a symlink and running ldconfig didn't help"

It looks like the ethereal rpm has a mistake in its dependencies. I think that ethereal is saying that it depends on libpcap version 0.6.2 when actually it should say that it depends on libpcap version 0.6.2 or higher.

I guess the next thing to do is to try and force the install. Try using the rpm --force option:
rpm --force -i /pathname/ethereal....rpm
This should install ethereal even though the rpm data base does not contain libpcap version 0.6.2. When ethereal runs and uses libpcap version 0.6.2 the symbolic link will direct it to version 0.8.2 which should work OK.

If it turns out to be true that ethereal really depends on an exact version number of libpcap then you will have to find matching releases of ethereal and libpcap.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

Last edited by jailbait; 02-04-2004 at 06:20 PM.
 
Old 02-06-2004, 10:56 AM   #7
Baltasar
Member
 
Registered: Jan 2004
Distribution: Fedora & Debian
Posts: 43

Original Poster
Rep: Reputation: 15
Hi,

I asked the developers and i just want to let you now the answeres.



The libpcap dependecies problem:

The problem is that internally in the past the libpcap ABI has
changed, therefore a pretty exact match between ethereal and libpcap
was always necessary.

As unfortunatelt no combined update has been done for ethereal and
libpcap on FC1 i suggest you simply use the FC2 versions of both,
which is a good idea anyway imho.

Phil Knirsch (pknirsch@redhat.com)



and the ppp libpcap problem:


Try building it from the src.rpm, let us know the result.

A workaround is to try an older version of the PPP 2.4.2 package, as
the dependency on libpcap.so.0 is only recent. 2.4.2_cvs_20031104 does
not require it. See http://quozl.netrek.org/pptp/ppp.phtml for that
version.

The right solution might be for me to release another version without
the libpcap dependency. There's a way I can build pppd without it.

--
James Cameron http://quozl.netrek.org/
HP Open Source, Volunteer http://opensource.hp.com/
PPTP Client Project, Release Engineer http://pptpclient.sourceforge.net/



What me helped is upgraded to libpcap FC2 version and installed the older ppp-2.4.2_cvs version

greetings
Baltasar
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Where to get dependecies? ElectroLinux Linux - Newbie 3 02-22-2005 07:00 PM
Says Failed dependency even when libpcap.so.0 installed. X-Unix Mandriva 2 09-14-2004 12:19 AM
Handling all those dependecies Baix Linux - Newbie 4 06-19-2004 03:31 PM
I am trying to figure out dependecies newmandrakeuser Linux - Newbie 13 12-06-2002 01:00 AM
Bugger! Failed Dependecies legend23 Linux - General 4 09-27-2002 07:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration