From owner-freebsd-ports@FreeBSD.ORG Sat Nov 28 02:28:34 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 111181065679; Sat, 28 Nov 2009 02:28:34 +0000 (UTC) (envelope-from vkushnir@bigmir.net) Received: from ex.volia.net (ex.volia.net [82.144.192.10]) by mx1.freebsd.org (Postfix) with ESMTP id B89648FC15; Sat, 28 Nov 2009 02:28:33 +0000 (UTC) Received: from em.volia.net ([82.144.192.9]) by ex.volia.net with esmtp (Exim 4.63 (FreeBSD)) (envelope-from ) id 1NE4Yy-000309-1A; Fri, 27 Nov 2009 19:24:56 +0200 Received: from chiseled-boat.volia.net ([93.73.141.54] helo=kushnir1.kiev.ua) by em.volia.net with esmtp (Exim 4.63 (FreeBSD)) (envelope-from ) id 1NE4Yx-0008Wy-S8; Fri, 27 Nov 2009 19:24:55 +0200 Received: from kushnir1.kiev.ua (kushnir1.kiev.ua [192.168.0.10]) by kushnir1.kiev.ua (8.14.3/8.13.8) with ESMTP id nARHMT90001861; Fri, 27 Nov 2009 19:22:29 +0200 (EET) (envelope-from vkushnir@bigmir.net) Date: Fri, 27 Nov 2009 19:22:29 +0200 (EET) From: Vladimir Kushnir X-X-Sender: vkushnir@kushnir1.kiev.ua To: ports@freebsd.org In-Reply-To: <200911271636.nARGaf92050278@pozo.com> Message-ID: References: <200911270246.nAR2k9Zp026751@pozo.com> <86ocmos11v.fsf@ds4.des.no> <200911271636.nARGaf92050278@pozo.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Volia-Original-IP: 93.73.141.54 Cc: =?ISO-8859-1?Q?Dag-Erling_Sm=C3=B8rgrav?= , current@freebsd.org Subject: Re: libthr on current breaks some ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Nov 2009 02:28:34 -0000 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 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@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