Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Mar 2004 19:50:14 +0100
From:      Arne Schwabe <arne@rfc2549.org>
To:        Alfred Perlstein <alfred@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: fix for libpthread
Message-ID:  <86u115kbo9.fsf@kamino.rfc1149.org>
In-Reply-To: <20040303105149.GH56622@elvis.mu.org> (Alfred Perlstein's message of "Wed, 3 Mar 2004 02:51:49 -0800")
References:  <20040303061144.GE56622@elvis.mu.org> <404592F5.1060206@freebsd.org> <20040303104657.GG56622@elvis.mu.org> <20040303105149.GH56622@elvis.mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Alfred Perlstein <alfred@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)



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