Ethereal-users: Re: [ethereal-users] ethereal: error in loading shared libraries: ethereal: und

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Trev Peterson <tpeterso@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 04 Aug 2000 08:27:10 +0200
Hello:

I was experiencing the same problem (RH 6.2, gtk+ 1.2.6-7, zlib 1.1.3-6,
libpcap 0.4-19, ucd-snmp 4.1.1-2 and ethereal 0.8.10-1 ).  I did the
following and now ethereal works:

1. Downgraded ucd-snmp  to 4.0.1 (due to thinking it was a problem
similiar to FAQ Q 3.5: Ethereal will not run because snmp_set_full_objid
is an undefined symbol.)
2. Removed and re-installed ethereal 0.8.10-1
3. Upgraded ucd-snmp to 4.1.1

Now it works.  Not sure why but when I check the log file from strace I
get the following line:

         open("/usr/lib/libsnmp.so", O_RDONLY)   =  5

I can send the whole trace file if that helps.  Anyway Ethereal is up
and running for me.  Hope this helps.

    Trev



    On Sun, Jul 30, 2000 at 11:26:38AM -0700, Brian Campbell wrote:
    > 1) ldd ethereal gives:
    >
    >       libsnmp.so.0 => /usr/lib/libsnmp.so.0 (0x4001a000)

                    ...

    > 2) Running strace -o /tmp/ethereal.log ethereal gives
    > a big log file.  So I attached it.

            open("/usr/lib/libsnmp.so", O_RDONLY)   = -1 ENOENT (No such
file or directory)

    Damn.

    The UCD SNMP library is installed as "libsnmp.so.0", but without a
    "libsnmp.so" link to it; I'll have to see if there's any way to beat
out
    of the run-time linker the full name of the library - wiring in
    "libsnmp.so.0" won't do very well if the major version number gets
    increased to make it "libsnmp.so.1".

    I suspect it'd work if you make "/usr/lib/libsnmp.so" a symbolic
link to
    "/usr/lib/libsnmp.so.0".

    (Note: "guy@xxxxxxxxxxxx" is on "ethereal-users", so there's no need
to
    CC that address if responding to "ethereal-users"; send to
    "guy@xxxxxxxxxxxx" only if you're not sending to any of the Ethereal

    lists.)