ports/102034: emulators/linux_base-fc4 library problems with RELENG_6_1

Alexander Leidinger Alexander at Leidinger.net
Tue Aug 22 13:52:18 UTC 2006


Quoting Boris Samorodov <bsam at 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



More information about the freebsd-emulation mailing list