Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Sep 2009 15:10:17 +0200 (CEST)
From:      Alexander Best <alexbestms@math.uni-muenster.de>
To:        Maciej Suszko <maciej@suszko.eu>, "Carlos A. M. dos Santos" <unixmania@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: /lib/libz.so version bump prevents java/jdk1* from upgrading
Message-ID:  <permail-2009091013101780e26a0b00002950-a_best01@message-id.uni-muenster.de>
In-Reply-To: <20090910145407.6ae8d5ba@suszko.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
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?

cheers.
alex

Maciej Suszko schrieb am 2009-09-10:
> Alexander Best <alexbestms@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?permail-2009091013101780e26a0b00002950-a_best01>