fix for libpthread
    Arne Schwabe 
    arne at rfc2549.org
       
    Wed Mar  3 10:50:24 PST 2004
    
    
  
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)
    
    
More information about the freebsd-current
mailing list