$ wget http://localhost/
--23:20:19-- http://localhost/
=> `index.html'
/usr/libexec/ld-elf.so.1: wget: Undefined symbol "OpenSSL_add_all_algorithms"
Tim
_______________________________________________
freebsd...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stabl...@freebsd.org"
--aZoGpuMECXJckB41
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Thu, Mar 27, 2003 at 11:23:06PM +1100, Tim Robbins wrote:
> wget broke after updating a 4.7 box to 4.8-RC:
>=20
> $ wget http://localhost/
> --23:20:19-- http://localhost/
> =3D> `index.html'
> /usr/libexec/ld-elf.so.1: wget: Undefined symbol "OpenSSL_add_all_algorit=
hms"
>=20
This is even with COMPAT4X in /etc/make.conf?
Cheers,
--=20
Ruslan Ermilov Sysadmin and DBA,
r...@sunbay.com Sunbay Software AG,
r...@FreeBSD.org FreeBSD committer,
+380.652.512.251 Simferopol, Ukraine
http://www.FreeBSD.org The Power To Serve
http://www.oracle.com Enabling The Information Age
--aZoGpuMECXJckB41
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)
iD8DBQE+gu+VUkv4P6juNwoRAvh+AJsFB5WFOyPfXiFFDOrnye6GVPF8RACeOkjU
+HUgFdBFr/qKBv+nrdtowwA=
=nx4E
-----END PGP SIGNATURE-----
--aZoGpuMECXJckB41--
--===============98706810685325841==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
freebsd...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stabl...@freebsd.org"
--===============98706810685325841==--
You have probably been bitten by the fact that the OpenSSL _port_ had
the wrong version number, and that wget was compiled against the
OpenSSL _port_. Now at runtime, wget finds the base system OpenSSL
libraries (which are 0.9.7, not 0.9.6 as wget expects).
You might try the following hack to work around the problem.
1) Rename the old port's libraries.
mv /usr/local/lib/libssl.so.3 /usr/local/lib/libSsl.so.3
mv /usr/local/lib/libcrypto.so.3 /usr/local/lib/libCrypto.so.3
2) Patch up your old binaries to refer to the modified names.
ed -s /path/to/wget >/dev/null <<-EOF
/libcrypto\.so/ s/libcrypto\.so\.\([0-9]\)/libCrypto.so.\1/
/libssl\.so/ s/libssl\.so\.\([0-9]\)/libSsl.so.\1/
w
EOF
Or another possibility might be simply
env LD_LIBRARY_PATH=/usr/local/lib wget ...
but that gets tiresome :-)
Cheers,
--
Jacques A. Vidrine <nec...@celabo.org> http://www.celabo.org/
NTT/Verio SME . FreeBSD UNIX . Heimdal Kerberos
jvid...@verio.net . nec...@FreeBSD.org . nec...@kth.se