error compiling firefox

Yu-Shun Wang yushunwa at ISI.EDU
Tue Apr 6 19:40:38 GMT 2004


Sean McNeil wrote:
> On Tue, 2004-04-06 at 12:13, Yu-Shun Wang wrote:
> 
>>Sean McNeil wrote:
>>
>>>Anyone else seeing this error?
>>
>>>gmake[4]: Leaving directory
>>>`/usr/ports/www/firefox/work/mozilla/security/nss/cmd/shlibsign/mangle'
>>>FreeBSD5.2_DBG.OBJ/shlibsign -v -i
>>>/usr/ports/www/firefox/work/mozilla/dist/lib/libsoftokn3.so
>>>Assertion failure: _PT_PTHREAD_MUTEX_IS_LOCKED(lock->mutex), at
>>>ptsynch.c:207
>>>Abort trap (core dumped)
>>>gmake[3]: ***
>>>[/usr/ports/www/firefox/work/mozilla/dist/lib/libsoftokn3.chk] Error 134
>>>gmake[3]: Leaving directory
>>>`/usr/ports/www/firefox/work/mozilla/security/nss/cmd/shlibsign'
>>>gmake[2]: *** [libs] Error 2
>>
>>Yes. For me, it turned out to be an error in my /etc/libmap.conf.
>>Could you email your /etc/libmap.conf?

> # /etc/libmap.conf for FreeBSD 5.x
> # $Id: libmap.conf-FreeBSD5.x,v 1.4 2004/02/08 03:38:03 nork Exp $

Ah, these were copy-n-pasted from the linuxpluginwrapper port.
Please check libmap.conf(5). I believe everything defaults to
libpthread now in CURRENT. I am not sure what the result will
be if you don't have these lines suggested by the man page:

Taken from libmap.conf(5):

      # /etc/libmap.conf
      #
      # candidate             mapping
      #
      libpthread.so.1         libpthread.so.1 # Everything uses 'libpthread'
      libpthread.so           libpthread.so

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


      <snip>

Others might know better, but fixing libmap.conf according to
the map page fixed it for me. (I mistakenly had the following
extra lines in my old libmap.conf in addition to the above.
Removing these solved my firebird build.)

      libpthread.so.1         libc_r.so.5
      libpthread.so           libc_r.so

Regards,

yushun

> # Flash6 with Opera is not avilable.
>  
> # Flash6 with Konqueror
>  
> # KDE on FreeBSD requires plugins to be placed in /opt/mozilla/plugins/.
> # (unlike many other www browsers on X11, it does not support
> # /usr/X11R6/lib/browser_plugins/ for a plugin directory)
> # So please copy libflashplayer.so and flashplayer.xpt to
> # /opt/mozilla/plugins like following lines.
> #       mkdir -p /opt/mozilla/plugins
> #       cd /usr/local/lib/linux-flashplugin6
> #       cp flashplayer.xpt libflashplayer.so /opt/mozilla/plugins/
> [/opt/mozilla/plugins/libflashplayer.so]
> libpthread.so.0                 pluginwrapper/flash6.so
> libdl.so.2                      pluginwrapper/flash6.so
> libz.so.1                       libz.so.2
> libstdc++-libc6.2-2.so.3        liblstdc++.so.4
> libm.so.6                       libm.so.2
> libc.so.6                       pluginwrapper/flash6.so
>  
> # Flash6 with Mozilla/Firebird/Galeon/Epiphany
> [/usr/local/lib/linux-flashplugin6/libflashplayer.so]
> libpthread.so.0                 pluginwrapper/flash6.so
> libdl.so.2                      pluginwrapper/flash6.so
> libz.so.1                       libz.so.2
> libstdc++-libc6.2-2.so.3        liblstdc++.so.4
> libm.so.6                       libm.so.2
> libc.so.6                       pluginwrapper/flash6.so
>  
>  
> # Acrobat with Opera
> #[/usr/X11R6/lib/browser_plugins/nppdf.so]
> #libc.so.6                      pluginwrapper/acrobat.so
>  
> # Acrobat with Konqueror
> # KDE on FreeBSD requires plugins to be placed in /opt/mozilla/plugins/.
> # (unlike many other www browsers on X11, it does not support
> # /usr/X11R6/lib/browser_plugins/ for a plugin directory)
> # So please copy nppdf.so to /opt/mozilla/plugins/ like following lines.
> #       mkdir -p /opt/mozilla/plugins
> #       cd /usr/local/Acrobat5/Browsers/intellinux
> #       cp nppdf.so /opt/mozilla/plugins/
> #[/opt/mozilla/plugins/nppdf.so]
> #libc.so.6                      pluginwrapper/acrobat.so
>  
> # Acrobat with Mozilla/Firebird/Galeon/Epiphany
> [/usr/local/Acrobat5/Browsers/intellinux/nppdf.so]
> libc.so.6                      pluginwrapper/acrobat.so
>  
>  
> # Java3D
> # NOTE: THESE ARE SAMPLES.  PLEASE SEE ALSO INSTALL MESSAGES
> #       OF java/java3d PORT.
> [/usr/local/jdk1.4.2/jre/lib/i386/libJ3D.so]
> libdl.so.2                      pluginwrapper/java3d.so
> libm.so.6                       libm.so.2
> libnsl.so.1                     pluginwrapper/java3d.so
> libpthread.so.0                 pluginwrapper/java3d.so
> libc.so.6                       pluginwrapper/java3d.so
>  
> [/usr/local/jdk1.4.2/jre/lib/i386/libj3daudio.so]
> libm.so.6                       libm.so.2
> libnsl.so.1                     pluginwrapper/java3d_snd.so
> libpthread.so.0                 pluginwrapper/java3d_snd.so
> libc.so.6                       pluginwrapper/java3d_snd.so
>  
> [/usr/local/jdk1.4.2/jre/lib/i386/libJ3DUtils.so]
> libpthread.so.0                 pluginwrapper/java3d.so
> libc.so.6                       pluginwrapper/java3d.so
>  
>  
> # Java Advanced Imaging (JAI) API
> # NOTE: THIS IS A SAMPLE.  PLEASE SEE ALSO INSTALL MESSAGES
> #       OF java/jai PORT.
> [/usr/local/jdk1.4.2/jre/lib/i386/libmlib_jai/libmlib_jai.so]
> libm.so.6                       libm.so.2
> libc.so.6                       pluginwrapper/jai.so
>  
>  
> # JAI Image I/O Tools
> # NOTE: THIS IS A SAMPLE.  PLEASE SEE ALSO INSTALL MESSAGES
> #       OF java/jai-imageio PORT.
> [/usr/local/jdk1.4.2/jre/lib/i386/libclib_jiio.so]
> libm.so.6                       libm.so.2
> libc.so.6                       pluginwrapper/jai.so
> 


-- 
Yu-Shun Wang <yushunwa at isi.edu>
USC Information Sciences Institute
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3314 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20040406/44b6ac4c/smime.bin


More information about the freebsd-gnome mailing list