Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Apr 2004 12:38:42 -0700
From:      Yu-Shun Wang <yushunwa@ISI.EDU>
To:        Sean McNeil <sean@mcneil.com>
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: error compiling firefox
Message-ID:  <40730742.1030709@isi.edu>
In-Reply-To: <1081279398.7457.24.camel@server.mcneil.com>
References:  <1081231472.53285.2.camel@server.mcneil.com> <40730150.1080304@isi.edu> <1081279398.7457.24.camel@server.mcneil.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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@isi.edu>
USC Information Sciences Institute

[-- Attachment #2 --]
0	*H
010	+0	*H
	y00L0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
040212070736Z
050211070736Z0z1
0UWang10U*Yu-Shun10UYu-Shun Wang10	*H
	yushunwa@isi.edu10	*H
	yushunwa@usc.edu0"0
	*H
0
~T{"=!v%Ys@WW/oI
 
2f)4`{G8PzIx Lw%{G΍-2KLvgI5fM~F؜Daj[]G~Pk̦OôU5хP#9+pGހRpgjMIkP7oE)wNAzy91dJҢ遃aω<?0=0-U&0$yushunwa@isi.eduyushunwa@usc.edu0U00
	*H
';q^[(\|KoWĽ<ly=Mfm#8f}Mh&rGDIۘNթ{27N#MȒhJP+.vA7<=ncwn9!*E00L0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
040212070736Z
050211070736Z0z1
0UWang10U*Yu-Shun10UYu-Shun Wang10	*H
	yushunwa@isi.edu10	*H
	yushunwa@usc.edu0"0
	*H
0
~T{"=!v%Ys@WW/oI
 
2f)4`{G8PzIx Lw%{G΍-2KLvgI5fM~F؜Daj[]G~Pk̦OôU5хP#9+pGހRpgjMIkP7oE)wNAzy91dJҢ遃aω<?0=0-U&0$yushunwa@isi.eduyushunwa@usc.edu0U00
	*H
';q^[(\|KoWĽ<ly=Mfm#8f}Mh&rGDIۘNթ{27N#MȒhJP+.vA7<=ncwn9!*E0?0
0
	*H
010	UZA10UWestern Cape10U	Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0)	*H
	personal-freemail@thawte.com0
030717000000Z
130716235959Z0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00
	*H
0Ħ<UsUNʙZhup[v:aQP
0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr`00U00CU<0:08642http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 010UPrivateLabel2-1380
	*H
HP.
fgCL!6-6/P p<ab:~t%Pb'qW%ݩ9 Oe_N4[5MwV!x!5$F]_eO1;070i0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAL0	+0	*H
	1	*H
0	*H
	1
040406193842Z0#	*H
	16_R-0R	*H
	1E0C0
*H
0*H
0
*H
@0+0
*H
(0x	+71k0i0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAL0z*H
	1ki0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAL0
	*H
nsɫw+fkT4V.'O.Yuo)˹(/+i:rH?[&m2IDN4r>zI=PP4:՝7eN!)I8sMVSY&qi;:HkQ467,.kzQӁST[:ْxs5F=?*']nc.3$
home | help

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