Re: libthr on current breaks some ports

From: Vladimir Kushnir <vkushnir_at_bigmir.net>
Date: Fri, 27 Nov 2009 19:22:29 +0200 (EET)
Sorry, just my .0002 USD

On Fri, 27 Nov 2009, Manfred Antar wrote:

> At 02:40 AM 11/27/2009, Dag-Erling Sm??rgrav wrote:
>> Manfred Antar <null_at_pozo.com> writes:
>>> The new addition to Makefile on /lib/libthr  "-Wl,-znodlopen "
>>> Breaks php4 and mhash on my current 1386
>>
>> If they try to dlopen() libthr, they're already broken.
>>
>>> I'm sure other ports that use it are broken too as can't load the lib.
>>
>> I doubt it.
>>
>> DES
>> --
>> Dag-Erling Sm??rgrav - des_at_des.no
>>
>> --
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
>
> OK
> Here are some of the errors I get
> Just rebuild /usr/ports/graphics/gd
>
> ldd /usr/local/lib/libgd.so.4
> /usr/local/lib/libgd.so.4: /libexec/ld-elf.so.1: /usr/local/lib/libgd.so.4: Unexpected inconsistency: dependency libthr.so.3 not found
> /usr/local/lib/libgd.so.4: exit status 1
>
> Just rebuild /usr/ports/security/mhash
> ldd /usr/local/lib/libmhash.so
> /usr/local/lib/libmhash.so: /libexec/ld-elf.so.1: /usr/local/lib/libmhash.so: Unexpected inconsistency: dependency libthr.so.3 not found
> /usr/local/lib/libmhash.so: exit status 1
>
> Both of these have "--with-LDFLAGS="${PTHREAD_LIBS}" in the Makefile.
>

Just rebuild audio/faad - result precisely the same. Besides, ALL of the 
already installed ports are affected:
ldd /usr/local/lib/lib*.so|grep libthr
gives either the same or
libthr.so.3 => not found (0x0)
What is the worst, X does not load (display just freezes and the only way 
out is to turn a box off - fortunately, ACPI does work here).
Result: as it is, my system (it's a desktop so ports are essential) is 
rendered unusable.
Fortunately, installworld backs up old ld-elf.so.1 so replacing linker 
saves from this disaster.

WBR,
Vladimir
Received on Sat Nov 28 2009 - 01:28:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:58 UTC