missing libraries for ppp* binaries in freebsd-utils

Robert Edmonds edmonds@debian.org
Mon, 9 May 2005 21:57:31 -0400


--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

proarkh:~# dpkg --search ppp | grep freebsd-utils
freebsd-utils: /usr/sbin/pppd
freebsd-utils: /usr/sbin/pppctl
freebsd-utils: /usr/sbin/ppp
proarkh:~# ldd /usr/sbin/ppp | grep "not found"
        libcrypt.so.2 =3D> not found (0x0)
        libz.so.2 =3D> not found (0x0)
        libalias.so.4 =3D> not found (0x0)
        libcrypto.so.3 =3D> not found (0x0)
        libradius.so.1 =3D> not found (0x0)
        libpam.so.2 =3D> not found (0x0)
proarkh:~# ldd /usr/sbin/pppd | grep "not found"
        libcrypt.so.2 =3D> not found (0x0)
        libpcap.so.3 =3D> not found (0x0)
        libcrypto.so.3 =3D> not found (0x0)
        libc.so.5 =3D> /lib/libc.so.5 (0x2809e000)
proarkh:~# ldd /usr/sbin/pppctl | grep "not found"
        libpthread.so.1 =3D> not found (0x0)
        libedit.so.4 =3D> not found (0x0)

I have extracted the FreeBSD 5.3 base system and copied the needed
libraries into /usr/local/lib.

proarkh:~/base# sbin/ldconfig -elf -f /var/run/ld-elf.so.hints /usr/local/l=
ib

It looks like ppp and pppd now work, but pppctl links against both
libc.so.5 and libc.so.0.1, and hence segfaults.

--=20
Robert Edmonds
edmonds@debian.org

--qMm9M+Fa2AknHoGS
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCgBULdp+/SHMBQJERAuyvAJ9G4R9o0W5eykGtZEgCDhVcZsALMACgjg+3
diS3STMKVc6ROdLULs7NWXs=
=z7fT
-----END PGP SIGNATURE-----

--qMm9M+Fa2AknHoGS--