/lib/libz.so version bump prevents java/jdk1* from upgrading

Alexander Best alexbestms at math.uni-muenster.de
Thu Sep 10 13:10:19 UTC 2009

thanks for the hint. i was actually aware of this thread and the way of fixing
the problem described in it. however from a users perspective i think
installing a port to fix this problem is much more easy and convenient than to
hack in any changes to /etc/libmap.conf. don't you agree?


Maciej Suszko schrieb am 2009-09-10:
> Alexander Best <alexbestms at math.uni-muenster.de> wrote:
> > hi there,

> > it would be nice to have a note in UPDATING on how to rebuild an
> > installed java/jdk1* under >= 8. since java/jdk1* requires an
> > installed java environment in order to build it fails due to the
> > version bump of /lib/libz.so.4 to /lib/libz.so.5

> > to be able to rebuild any installed java/jdk1* one needs to install
> > misc/compat7x. after installation of java/jdk1* finishes
> > misc/compat7x can safely be deleted (if it's not required by any
> > other port).

> > i haven't checked what the situation is like when no java
> > environment
> > is installed, but i believe this doesn't cause a problem since
> > java/diablo-jdk* is used for bootrapping then.

> Add those lines in /etc/libmap.conf (this is for jdk16):
> [/usr/local/jdk1.6.0/]
> libz.so.4              libz.so.5

> Than you can rebuild your jdk.

More information about the freebsd-ports mailing list