Problems with libz since libz.so.5 is gone...

Pierre-Luc Drouin pldrouin at pldrouin.net
Fri Jan 27 16:44:23 UTC 2012


On Fri, Jan 27, 2012 at 10:41 AM, Pierre-Luc Drouin
<pldrouin at pldrouin.net>wrote:

>
>
> On Fri, Jan 27, 2012 at 9:58 AM, Pierre-Luc Drouin <pldrouin at pldrouin.net>wrote:
>
>>
>>
>> On Fri, Jan 27, 2012 at 9:55 AM, Pierre-Luc Drouin <pldrouin at pldrouin.net
>> > wrote:
>>
>>> On Thu, Jan 26, 2012 at 5:40 PM, Dan Nelson <dnelson at allantgroup.com>wrote:
>>>
>>>> In the last episode (Jan 26), Pierre-Luc Drouin said:
>>>> > so various ports, in particular the java ports, are giving me
>>>> headaches
>>>> > since /lib/libz.so.5 was replaced by /lib/libz.so.6.  I managed to
>>>> update
>>>> > most of my ports, but the binary java ports, such as diablo-jdk16,
>>>> are now
>>>> > installing broken binary files.  Even if I put an entry such as
>>>> >
>>>> > libz.so.4 libz.so.6
>>>> >
>>>> > in /etc/libmap.conf
>>>>
>>>> libmap (or symlinking) only works for libraries that have a compatible
>>>> ABI.
>>>> The version number of libz was bumped precisely because the ABI changed
>>>> :)
>>>>
>>>> Install the misc/compat8x port to get libz.so.5 back until you can
>>>> replace
>>>> diablo-jdk16 with openjdk6.
>>>>
>>>> --
>>>>        Dan Nelson
>>>>        dnelson at allantgroup.com
>>>>
>>>
>>> Hi,
>>>
>>> sorry I tried to install compat8x but it did not solve the problem, as
>>> that package does not install libz.so.5
>>>
>>> Thanks
>>>
>>
>> Sorry it did install libz.so.5, but diablo-jdk16 is still crashing for
>> some reason...
>>
>
> Ok, so I installed linux-sun-jdk16 that does not seem to get broken by
> FreeBSD 9, then I hacked the port Makefile for openjdk16 to bootstrap
> itself with linux-sun-jdk16 and so far it seems to be compiling fine...
>

That solution did ont work either because jni_md.h is missing with
linux-sun-jdk16. So now I am trying to compile gcj by hand and use it to
bootstrap openjdk. This chicken and egg problem is getting really
annoying...


More information about the freebsd-questions mailing list