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

Maciej Suszko maciej at suszko.eu
Thu Sep 10 13:22:27 UTC 2009


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.
-- 
regards, Maciej Suszko.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20090910/249b27c1/signature.pgp


More information about the freebsd-ports mailing list