LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-22-2007, 03:05 PM   #1
Valkyrie_of_valhalla
Member
 
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301

Rep: Reputation: 30
problems installing ethereal/wireshark


I tried both compiling from source and installing a slackware package. I installed some dependencies and here are my attempts:

1. Ethereal, with a slackware package from linuxpackages.net, after it installs ok, this is what I get when I try to run it:
Code:
ethereal: error while loading shared libraries: libnetsnmp.so.10: cannot open shared object file: No such file or directory
even though I installed net-snmp.

2. Ethereal, compiled from source, here are the last few lines of make:
Code:
-avoid-version packet-acn.lo -L../../epan -lethereal -Wl,--export-dynamic -lgmodule-2.0 -ldl -lglib-2.0
libtool: link: cannot find the library `'
make[3]: *** [acn.la] Error 1
make[3]: Leaving directory `/home/valkyria/Desktop/New Folder/ethereal-0.99.0/ethereal-0.99.0/plugins/acn'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/valkyria/Desktop/New Folder/ethereal-0.99.0/ethereal-0.99.0/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/valkyria/Desktop/New Folder/ethereal-0.99.0/ethereal-0.99.0'
make: *** [all] Error 2
3. Wireshark, from a slackware package, I get segmentation fault when I start capturing packages, no additional info. Ran it with gdb, here's what I got:
Code:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1239000864 (LWP 16644)]
0xb7ed8af3 in libpcap_seek_read (wth=0x88d7bd8, seek_off=40, pseudo_header=0x0, pd=0x8193a78 "",
    length=135871240, err=0x3c, err_info=0xbf870ac4) at libpcap.c:1436
1436                    pseudo_header->ieee_802_11.fcs_len = -1;
Right now, I have no ideas what to do. Tried everything I could think of.
I'm being a bit paranoid regarding security and privacy, and after I noticed some strange packets on windows, I'd like to test slackware as well. Ethereal is much easier to use than tcpdump, but I'll try learning how that works as well.

So, any ideas on how I could get it working? Any info/suggestions will help.
 
Old 04-22-2007, 03:59 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
well i'd pursue option 3. as your hopefully aware wireshark is not even a fork of ethereal, just a name change really, so going back to ethereal really is honestly pointless, it's ust an older version... what version are you using on 3 there? 0.99.5 is the newest last time i looked.
 
Old 04-22-2007, 04:28 PM   #3
Valkyrie_of_valhalla
Member
 
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301

Original Poster
Rep: Reputation: 30
I'm using 0.99.5, latest version... (or so the package says).
 
Old 04-22-2007, 04:42 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
ok, well one thing about that segfault is that it actually looks to be in libpcap, not wireshark. is that up to date and everything?
 
Old 04-25-2007, 03:06 PM   #5
Valkyrie_of_valhalla
Member
 
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301

Original Poster
Rep: Reputation: 30
Is libpcap a separate package? I thought it should come with tcpdump, or something, can't seem to find a slackware package... I'll try compiling it from source, if needed.
 
Old 04-25-2007, 04:03 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
yeah it normally is... certainly is on fedora and co.
 
Old 04-26-2007, 03:14 AM   #7
Valkyrie_of_valhalla
Member
 
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301

Original Poster
Rep: Reputation: 30
Thanks for staying with me so far.
I tried compiling it, but I get the same error. It seems the official tar.gz doesn't even have that file (libpcap.c)...
Seems tcpdump slackware package has some files related to libpcap too. Tried reinstalling that as well, after a "make uninstall" for libpcap. No luck, same segmentation fault...

Edit: I guess it needs some devel packages in libpcap. Trying to figure out how to "make" it with the correct option

Last edited by Valkyrie_of_valhalla; 04-26-2007 at 03:41 AM.
 
Old 04-29-2007, 04:51 AM   #8
Valkyrie_of_valhalla
Member
 
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301

Original Poster
Rep: Reputation: 30
Couldn't figure it out with wireshark.

Instead, I got another weird idea and managed to get the ethereal package to work. It said it needed libnetsnmp.so.10. I had a version of net-snmp that came with libnetsnmp.so.15, and I got the idea to link the two (ln -s /usr/lib/libnetsnmp.so.15 /usr/lib/libnetsnmp.so.10). And it works...
So, is it ok if I let it like this?
 
Old 04-29-2007, 05:23 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
well yes but again i'd remind you that ethereal is just an older version of wireshark. there's no point considering them to be seperate packages at all. just becuase the very latest wireshark package seems to have problems on your system doesn't mean the previous one is any less likely to work than ethereal.
 
Old 04-29-2007, 05:38 AM   #10
Valkyrie_of_valhalla
Member
 
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301

Original Poster
Rep: Reputation: 30
ok, thanks.
Yup, I know they're the same thing (theoretically). It's weird that they have such diffrent behaviour on slackware... Anyway, doesn't matter now, good thing I got something working.
 
  


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
Problem installing wireshark with yum bozoka45 Fedora 4 10-12-2007 05:33 PM
LXer: Ethereal changes name to Wireshark LXer Syndicated Linux News 0 06-10-2006 09:03 PM
Problems Installing ethereal qais Linux - Networking 4 10-30-2005 10:14 AM
Installing Ethereal...what to do? jared78 Linux - Software 3 07-04-2005 11:01 PM
Need help installing ethereal abefroman Linux - Security 7 05-08-2005 05:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:13 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