Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 2009 07:15:55 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Warren Liddell <shinjii@maydias.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Problem with libperl
Message-ID:  <4976CBAB.4030703@infracaninophile.co.uk>
In-Reply-To: <4976B399.5090906@maydias.com>
References:  <4976B399.5090906@maydias.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig26FDC826A4A9E2B635ECEDC1
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

Warren Liddell wrote:
> im trying to start a few programs, on eof them being ntop, but it keeps=
=20
> saying the below msg .. how do i register it when i have libperl .. wha=
t=20
> has happend for it to be unregisterd ?
>=20
>=20
> enterprise# ntop
> /libexec/ld-elf.so.1: Shared object "libperl.so" not found, required by=
=20
> "ntop"

It was perhaps the recent upgrade from perl-5.8.8 to perl-5.8.9,
which means that libperl.so will have moved from

/usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so
                     ^^^^^
to=20

/usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so
                     ^^^^^

To fix the problem --

  * run 'perl-after-upgrade -f' -- will fix most pure perl scripts /
    modules

  * Compiled software that embeds a perl interpreter (ie. that links
    against libperl.so) will be highlighted by the perl-after-upgrade
    script.

  * If the indicated binaries fail to run, showing linker errors as
    you've seen, then those packages need to be recompiled to embed
    the new shlib path into the binaries.

So the following should sort you out:

    portupgrade -f net/ntop

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW


--------------enig26FDC826A4A9E2B635ECEDC1
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAkl2y7IACgkQ8Mjk52CukIwhFACeJ8lF9J8D7mplLogQ90YrrIsV
V1cAn27Us1L8DAio5i8SOretuGbgs2Mi
=hL3I
-----END PGP SIGNATURE-----

--------------enig26FDC826A4A9E2B635ECEDC1--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?4976CBAB.4030703>