Solved Firefox 128 unable to start?

I'm getting
Code:
ld-elf.so.1: /usr/local/bin/firefox: Undefined symbol "_ZNSt3__122__libcpp_verbose_abortEPKcz"

Anyone else seeing this? Any ideas how to address this? I've reinstalled all packages via pkg update -f but no dice... downgrading to 127 and everything goes back to work, so it's got to be 128 that's somehow broken I assume?
 
Huh, good question. How do I best check this? My browser usually runs inside a jail that I just freebsd-update'dto 13.3-p4 but I encountered the same on my host system?
 
Well, if your host system is up-to-date it is up to date.

I wonder whether a 14.x browser came down into your system.
 
If I'm reading this right, I assume things should be alright?
Code:
user@host:~ % freebsd-version -kru
13.3-RELEASE-p3
13.3-RELEASE-p3
13.3-RELEASE-p4
user@host:~ % pkg info firefox
firefox-128.0_1,2
Name           : firefox
Version        : 128.0_1,2
Installed on   : Sat Jul 20 10:46:58 2024 CEST
Origin         : www/firefox
Architecture   : FreeBSD:13:amd64
Prefix         : /usr/local
Categories     : www wayland
Licenses       :
Maintainer     : gecko@FreeBSD.org
WWW            : https://www.mozilla.com/firefox
Comment        : Web browser based on the browser portion of Mozilla
Options        :
        ALSA           : off
        CANBERRA       : off
        DBUS           : on
        DEBUG          : off
        FFMPEG         : on
        JACK           : on
        LIBPROXY       : off
        LTO            : off
        OPTIMIZED_CFLAGS: on
        PROFILE        : on
        PULSEAUDIO     : on
        SNDIO          : on
        TEST           : off
Shared Libs required:






        libfontconfig.so.1
        libffi.so.8
        libevent-2.1.so.7
        libdbus-1.so.3
        libdav1d.so.7
        libcairo.so.2
        libcairo-gobject.so.2
        libatk-1.0.so.0
        libaom.so.3
        libXrandr.so.2
        libXfixes.so.3
        libXext.so.6
        libXdamage.so.1
        libXcomposite.so.1
        libX11.so.6
        libX11-xcb.so.1
Annotations    :
        FreeBSD_version: 1303001
        build_timestamp: 2024-07-16T20:18:34+0000
        built_by       : poudriere-git-3.4.1-30-g79e3edcd
        cpe            : cpe:2.3:a:mozilla:firefox:128.0:::::freebsd13:x64:1
        no_provide_shlib: yes
        port_checkout_unclean: no
        port_git_hash  : 8565550e255
        ports_top_checkout_unclean: no
        ports_top_git_hash: 8f18cec99b9
        repo_type      : binary
        repository     : FreeBSD
Flat size      : 250MiB
Description    :
Mozilla Firefox is a free and open source web browser descended from the
Mozilla Application Suite. It is small, fast and easy to use, and offers
many advanced features:

 o Popup Blocking
 o Tabbed Browsing
 o Live Bookmarks (ie. RSS)
 o Extensions
 o Themes
 o FastFind
 o Improved Security

Not sure why there's so many empty lines after the shared libs header. Looks weird to me but might be a red herring.
 
Also...
Code:
user@host: % ldd /usr/local/bin/firefox 
/usr/local/bin/firefox:
        libc++.so.1 => /lib/libc++.so.1 (0x153ae9fcf000)
        libcxxrt.so.1 => /lib/libcxxrt.so.1 (0x153aea892000)
        libm.so.5 => /lib/libm.so.5 (0x153aebd3a000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x153aeaf5a000)
        libthr.so.3 => /lib/libthr.so.3 (0x153aec5a9000)
        libc.so.7 => /lib/libc.so.7 (0x153aecd8a000)
        [vdso] (0x7ffffffff000)
 
I'm going to start a full build from source and install over whatever I've got on disk. This system once had been built from source. Maybe something broke over the course of time?
 
Code:
user@host:~ # ls -l /lib/libc++.so.*
-r--r--r--  1 root  wheel  842640 Jan  5  2022 /lib/libc++.so.1
 
Your libc++.so.1 is in the wrong place. Just nuke it.

This is what I get on 13.x:

/usr/local/bin/firefox:
libc++.so.1 => /usr/lib/libc++.so.1 (0x24a93ee8e000)
libcxxrt.so.1 => /lib/libcxxrt.so.1 (0x24a93f7c1000)
libm.so.5 => /lib/libm.so.5 (0x24a941398000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x24a93fb14000)
libthr.so.3 => /lib/libthr.so.3 (0x24a9404ea000)
libc.so.7 => /lib/libc.so.7 (0x24a941fde000)
[vdso] (0x7ffffffff650)
 
Hi,
i have here on the 13.5 version the same issue.
i already copied the libc++ to the Usr/lib location, but i get the same error.

freebsd-version
13.5-RELEASE-p6

pkg info firefox
firefox-145.0_1,2
Name : firefox
Version : 145.0_1,2
Installed on : Sat Nov 15 08:27:19 2025 CET
Origin : www/firefox
Architecture : FreeBSD:13:amd64
Prefix : /usr/local
Categories : wayland www
Licenses :
Maintainer : gecko@FreeBSD.org
WWW : https://www.firefox.com/
Comment : Web browser based on the browser portion of Mozi


firefox
ld-elf.so.1: /usr/local/bin/firefox: Undefined symbol "_ZNSt3__122__libcpp_verbose_abortEPKcz"


ldd /usr/local/bin/firefox
/usr/local/bin/firefox:
libc++.so.1 => /lib/libc++.so.1 (0x353dd6161000)
libcxxrt.so.1 => /lib/libcxxrt.so.1 (0x353dd7f72000)
libm.so.5 => /lib/libm.so.5 (0x353dd6baa000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x353dd7a18000)
libthr.so.3 => /lib/libthr.so.3 (0x353dd8907000)
libc.so.7 => /lib/libc.so.7 (0x353dd9ab5000)
[vdso] (0x7ffffffff650)


/lib/libc++.so.1 /lib/libcxxrt.so.1
-r--r--r-- 1 root wheel 1029112 Nov 10 01:02 /lib/libc++.so.1
-r--r--r-- 1 root wheel 108104 Nov 10 02:06 /lib/libcxxrt.so.1


during the installation i see:
==> Running trigger: gdk-pixbuf-query-loaders.ucl
Generating gdk-pixbuf modules cache
g_module_open() failed for /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jxl.so: /usr/local/lib/libjxl.so.0.11: Undefined symbol "_ZNSt3__122__libcpp_verbose_abortEPKcz"
=====


Greetings
 
Back
Top