getting Mozilla Firefox port to run / libmap.conf

Streiner, Justin streiner at stargate.net
Fri May 14 22:42:15 PDT 2004


I grabbed the current version of Firefox from the ports site and ran the
appropriate portupgrades and installed the linuxflashplugin package to get
what I think are the appropriate version of libpthread.so.

I've also created what I think to be a correct version of /etc/libmap.conf
to allow ld-elf.so to find libpthread.so.1, but it continues to complain
that libpthread.so.1 can't be found.

Below is my /etc/libmap.conf:

libc_r.so.5                     libpthread.so.1 # Everything that uses 'libc_r'
libc_r.so                       libpthread.so   # now uses 'libpthread'

The library exists in /usr/compat/linux/lib.

-rwxr-xr-x  1 root  0  559279 Nov  5  2003
/usr/compat/linux/lib/libpthread-0.9.so
lrwxr-xr-x  1 root  0      15 May 14 16:15
/usr/compat/linux/lib/libpthread.so -> libpthread.so.1
lrwxr-xr-x  1 root  0      17 May  2 13:01
/usr/compat/linux/lib/libpthread.so.0 -> libpthread-0.9.so
lrwxr-xr-x  1 root  0      17 May  2 13:04
/usr/compat/linux/lib/libpthread.so.1 -> libpthread-0.9.so

When I try to launch firefox, the exact error is:
/libexec/ld-elf.so.1: Shared object "libpthread.so.1" not found

What am I doing wrong?

jms


More information about the freebsd-questions mailing list