Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Aug 2006 15:52:06 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Boris Samorodov <bsam@ipt.ru>
Cc:        freebsd-emulation@FreeBSD.org, jes <jes@jes-2.demon.nl>
Subject:   Re: ports/102034: emulators/linux_base-fc4 library problems with RELENG_6_1
Message-ID:  <20060822155206.wnofa44ha8s0sok0@netchild.homeip.net>
In-Reply-To: <68219662@bsam.ru>
References:  <200608220730.k7M7UMbm036179@freefall.freebsd.org> <68219662@bsam.ru>

index | next in thread | previous in thread | raw e-mail

Quoting Boris Samorodov <bsam@ipt.ru> (from Tue, 22 Aug 2006 12:32:33 +0400):

>>  /usr/lib/libpthread.a
>>  /usr/lib/libpthread_p.a
>>  /usr/lib/libpthread.so.1
>
> (note: this one is suspicious as you have  [1].)

No, the one in [1] is suspicious. Nothing should move any base system  
library to /usr/local/compat/pkg.

>>  /usr/lib/libpthread.so
>>  /usr/lib/libpthread.so.0
>
> Show pls "ls -l /usr/lib/libpthread.so.0".
>
> I asked about this one. Did you create it intentionally and (if yes,
> what was the purpose)?
> Did you (and how) upgrade your system?
> Which OS version was initially installed at your PC?
>
> Anyway, this file either should exist at /usr/local/lib/compat or it
> shouldn't exist at all. Try to (tempoparily) remove it and check up
> linux_base install.
>
>>  /usr/lib/libpthread.so.2

Since the .2 one exists, there should be no .1 or .0 at all.

>>  /usr/local/lib/compat/libpthread.so.1  [1]

And this shouldn't be there too.

I suggest to remove (temporary) all old libs from everywhere (this may  
break some application) and run "libchk" (available from ports). It  
will report some apps which depend upon this removed lib  
("Unresolved... /path/to/app"). For each of those apps, you need to  
determine the corresponding port and rebuild it:
   pkg_which $(grep "Unresolved..." libchk.txt | sed -e  
's/Unresolved.*: //') | sort -u | xargs portupgrade -f

After this nothing depends upon this old lib anymore.

Bye,
Alexander.

-- 
Genius may have its limitations, but stupidity is not thus
handicapped.
		-- Elbert Hubbard

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060822155206.wnofa44ha8s0sok0>