Re: fix for libpthread

From: Arne Schwabe <arne_at_rfc2549.org>
Date: Wed, 03 Mar 2004 19:50:14 +0100
Alfred Perlstein <alfred_at_freebsd.org> writes:

> I see somehow it got linked against BOTH libpthread and libc_r,
> there has to be a way to prevent that sort of bogus linkage
> from happening. :(  Or at least make it work right when it
> does happen...

For me this in /etc/libmap.conf works:

[/usr/local/bin/mplayer]
libpthread.so.1    libc_r.so.5
libpthread.so       libc_r.so
libc_r.so.5                     libc_r.so.5
libc_r.so                       libc_r.so


[mplayer]
libpthread.so.1    libc_r.so.5
libpthread.so       libc_r.so
libc_r.so.5                     libc_r.so.5
libc_r.so                       libc_r.so

The strange thing is that if I let both libraries point to pthread my
mplayer does not work.

Arne
-- 
<Amici|Kitty> 666 is the number of the beast ;P
<momo8D> 6667 is the number of you losing whatever social life you might
have had.                                              -- (bash #214827)
Received on Wed Mar 03 2004 - 09:50:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:45 UTC