From owner-freebsd-current@FreeBSD.ORG Fri Aug 19 18:11:39 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCFD416A421 for ; Fri, 19 Aug 2005 18:11:39 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: from smtp114.sbc.mail.mud.yahoo.com (smtp114.sbc.mail.mud.yahoo.com [68.142.198.213]) by mx1.FreeBSD.org (Postfix) with SMTP id 8280843D49 for ; Fri, 19 Aug 2005 18:11:38 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: (qmail 11447 invoked from network); 19 Aug 2005 18:11:38 -0000 Received: from unknown (HELO optimator.noacks.org) (noacks@swbell.net@70.240.202.126 with login) by smtp114.sbc.mail.mud.yahoo.com with SMTP; 19 Aug 2005 18:11:37 -0000 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 47116613B; Fri, 19 Aug 2005 13:11:37 -0500 (CDT) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 71513-01; Fri, 19 Aug 2005 13:11:34 -0500 (CDT) Received: from compgeek.noacks.org (compgeek [192.168.1.10]) by optimator.noacks.org (Postfix) with ESMTP id CADCF60D9; Fri, 19 Aug 2005 13:11:34 -0500 (CDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by compgeek.noacks.org (8.13.4/8.13.4) with ESMTP id j7JIBYN0076602; Fri, 19 Aug 2005 13:11:34 -0500 (CDT) (envelope-from noackjr@alumni.rice.edu) Message-ID: <430620D0.6000609@alumni.rice.edu> Date: Fri, 19 Aug 2005 13:11:28 -0500 From: Jonathan Noack User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050727) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Panagiotis Astithas References: <4300FF21.5000609@mail.ru> <20050815205144.GC2362@odin.ac.hmc.edu> <430397B4.4090604@mail.ru> <200508180602.38366.lofi@freebsd.org> <43041D6F.3000805@mail.ru> <43042799.8050709@alumni.rice.edu> <4305FFF9.3000507@ebs.gr> In-Reply-To: <4305FFF9.3000507@ebs.gr> X-Enigmail-Version: 0.92.0.0 OpenPGP: id=991D8195; url=http://www.noacks.org/cert/noackjr.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigDF6B81C68404898A198ACBE4" X-Virus-Scanned: amavisd-new at noacks.org Cc: freebsd-current@freebsd.org, Michael Nottebrock Subject: Re: kde applications crash (Was: no permissions to libc.so.x libpthread.so.x and other files) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2005 18:11:39 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigDF6B81C68404898A198ACBE4 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 08/19/05 10:51, Panagiotis Astithas wrote: > Jonathan Noack wrote: >> On 08/18/05 00:32, Stepan Rakhimov wrote: >>> Michael Nottebrock wrote: >>>> On Wednesday, 17. August 2005 22:01, Stepan Rakhimov wrote: >>>>> Thanks for your reply, but lastest investigations showed that Kmail >>>>> craches with libc.so.6 and works with libc.so.5 only. That's why I >>>>> didn't delete the old file as i want to. I think it's not normal >>>>> behaviour, is it a known problem or my kde build's problem? >>>>> >>>>> I have the same problem with Kdevelop, but i cannot use libmap.conf >>>>> with >>>>> it, ldd says that it is "not a dynamic executable". (Kdevelop's >>>>> backtrace is in attachment) >>>> >>>> /usr/local/bin/kdevelop is a script, the real executable is >>>> kdevelop-bin. The kdevelop crash also looks somewhat familiar - are >>>> you running kdevelop-3.2.0? If so, consider upgrading to KDE 3.4.2 / >>>> KDevelop 3.2.2. >>>> >>>> Also, if you've updated from FreeBSD 5.x to 6-BETA, you might want >>>> to recompile all your installed ports to make sure they all link >>>> against the same system libraries. >>> >>> As I've said I have all latest software (kdevelop 3.2.2 and kde 3.4.2) >>> >>> When I've upgraded from 5.3-release to 6-current I did recompile all >>> the ports (it was 4 or 5 months ago) >>> >>> Is it good solution to manually remove such old files like libc.so.5, >>> libpthread.so.1 libc_r.so.5 and make a symlinks to libc.so.6 >>> lipthread.so.2 and libc_r.so.6 respectively? >>> Since kmail works only with libc.so.5 for me, I'm afraid to get it >>> completely broken. >> >> Short answer: >> Recompile all your ports. >> >> Long answer: >> To see how polluted your binaries/libraries are, install the >> sysutils/libchk port and run "libchk -v". You might want to redirect >> that to a file as it is quite verbose (note that firefox and >> thunderbird produce a lot of noise that can be ignored). The only >> things that should be linked to libc.so.5 are 5.x binaries that you >> downloaded and didn't compile (e.g., the binary port of 'rar'). If >> you see more binaries linked to libc.so.5, you need to recompile all >> your ports. Once that is done, you may delete all unreferenced >> libraries (according to libchk) OLDER than your last build/install >> world. Until there is a misc/compat5x port, I use the following >> settings in /etc/libmap.conf so I can delete ALL old libraries (but >> still allow 'rar' to work): >> >> # Work with 5.x binaries >> libc.so.5 libc.so.6 >> libm.so.3 libm.so.4 >> libstdc++.so.4 libstdc++.so.5 > > I believe you need a mapping for libpthread.so.1 to libpthread.so.2, too. If you have anything binary-only AND threaded then you are correct. I do not: $ ldd /usr/local/bin/rar /usr/local/bin/rar: libstdc++.so.4 => /usr/lib/libstdc++.so.5 (0x280bf000) libm.so.3 => /lib/libm.so.4 (0x2818e000) libc.so.5 => /lib/libc.so.6 (0x281a4000) -- Jonathan Noack | noackjr@alumni.rice.edu | OpenPGP: 0x991D8195 --------------enigDF6B81C68404898A198ACBE4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDBiDVUFz01pkdgZURAv/8AKCd7vLqYOYRvQ4yRHrdouoA7EcLbwCdFR6r bZOhx3NzwaE4Rg5sBjluQpg= =JkdL -----END PGP SIGNATURE----- --------------enigDF6B81C68404898A198ACBE4--