freebsd 6.4 -> 7.3 upgrade failure, ports openssl, and versus

Benno Overeinder benno at
Tue Sep 14 07:48:59 UTC 2010


I am upgrading a system from freebsd 6.4 to freebsd 7.3 from source. On
this system, the ports openssl package has been installed.

With the make buildworld, the compilation of sendmail fails with the
/usr/obj/usr/src/tmp/usr/bin/ld: warning:, needed by
/usr/local/lib/, not found (try using -rpath or -rpath-link)

Problem is that the new kernel is expecting (or compiling the sources
against) (/usr/obj/usr/src/lib/libz/ is
available in /lib/ (FreeBSD 6.4).

Is there any way to break this dependency, such that the make buildworld
completes successfully?  It is openssl from ports depending on
of FreeBSD 6.4, sendmail is compiled with openssl from ports for FreeBSD
7.3, which provides  The upgrade path 6.4 -> 7.3 with ports
openssl is probably not unique, others will have a similar upgrade path.

Can I specify something (/etc/make.conf?) such that 'make buildworld'
makes use of base openssl and not ports openssl?  Or should I uninstall
ports openssl (and recompile half of my ports, and later again recompile
all for freebsd 7.3)?

Any suggestions are welcome.


-- Benno

More information about the freebsd-questions mailing list