Pale Moon is not working on FreeBSD 15 (amd64)

For contributed third party builds not necessarily configured like the main product.
e.g. AVX builds, SSE builds, Pandora builds.
User avatar
SouthernComputerGeek
Apollo supporter
Apollo supporter
Posts: 34
Joined: 2022-04-16, 19:53
Location: Mississippi, USA

Pale Moon is not working on FreeBSD 15 (amd64)

Post by SouthernComputerGeek » 2025-12-10, 19:47

I tried building Pale Moon myself but when I clicked on "palemoon" nothing happened. So I tried launching it from the terminal and got this error:

Code: Select all

Bootstrap allocator: malloc_init_hard stats:
Bootstrap allocator: 0 bytes requested, 0 allocated
XPCOMGlueLoad error for file /home/rhys/palemoon/libxul.so:
Shared object "liblgpllibs.so" not found, required by "libxul.so"
Couldn't load XPCOM.
This is the mozconfig I used:

Code: Select all

mk_add_options MOZ_OBJDIR=../pmbuild
mk_add_options MOZ_MAKE_FLAGS="-j12"

# Set GTK Version to 2 or 3
_GTK_VERSION=3

# Standard build options for Pale Moon
ac_add_options --enable-application=palemoon
ac_add_options --enable-optimize="-O3 -pipe -w"
ac_add_options --enable-default-toolkit=cairo-gtk$_GTK_VERSION
ac_add_options --enable-jemalloc
ac_add_options --enable-strip
ac_add_options --enable-devtools
ac_add_options --enable-av1
ac_add_options --enable-jxl
ac_add_options --disable-webrtc
ac_add_options --disable-gamepad
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-necko-wifi
ac_add_options --disable-updater
ac_add_options --with-pthreads

# Please see https://www.palemoon.org/redist.shtml for restrictions when using the official branding.
ac_add_options --enable-official-branding
export MOZILLA_OFFICIAL=1


export MOZ_PKG_SPECIAL=gtk$_GTK_VERSION
So then I tried using the official beta binary from this site which gives me a similar error:

Code: Select all

Bootstrap allocator: malloc_init_hard stats:
Bootstrap allocator: 0 bytes requested, 0 allocated
XPCOMGlueLoad error for file /home/rhys/palemoon/libxul.so:
Shared object "libutil.so.9" not found, required by "libxul.so"
Couldn't load XPCOM.
Any help would be appreciated.
I am the monster under Silicon Valley's bed.

Image

User avatar
jobbautista9
Board Warrior
Board Warrior
Posts: 1125
Joined: 2020-11-03, 06:47
Location: Philippines

Re: Pale Moon is not working on FreeBSD 15 (amd64)

Post by jobbautista9 » 2025-12-10, 20:32

Not sure why your build can't detect the LGPL libraries it built. However the official binaries for FreeBSD (built for v13 and 14) might not be compatible with version 15.0, since 15 has incremented its versioning for libutil. You will need the compat14x package I think.
Image

Tired of creating stuff!

Avatar artwork by Shinki669: https://www.pixiv.net/artworks/113645617

XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.

User avatar
SouthernComputerGeek
Apollo supporter
Apollo supporter
Posts: 34
Joined: 2022-04-16, 19:53
Location: Mississippi, USA

Re: Pale Moon is not working on FreeBSD 15 (amd64)

Post by SouthernComputerGeek » 2025-12-10, 20:45

jobbautista9 wrote:
2025-12-10, 20:32
However the official binaries for FreeBSD (built for v13 and 14) might not be compatible with version 15.0, since 15 has incremented its versioning for libutil. You will need the compat14x package I think.
That worked. Thanks!
I am the monster under Silicon Valley's bed.

Image

User avatar
jobbautista9
Board Warrior
Board Warrior
Posts: 1125
Joined: 2020-11-03, 06:47
Location: Philippines

Re: Pale Moon is not working on FreeBSD 15 (amd64)

Post by jobbautista9 » 2025-12-11, 03:25

Good to know! Btw I've opened up an issue in the Pale Moon repo about this: Issue #2002
Image

Tired of creating stuff!

Avatar artwork by Shinki669: https://www.pixiv.net/artworks/113645617

XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.

dbsoft
Project Contributor
Project Contributor
Posts: 514
Joined: 2020-02-21, 17:35

Re: Pale Moon is not working on FreeBSD 15 (amd64)

Post by dbsoft » 2025-12-14, 01:38

I made changes to load libutil.so dynamically... If anyone has FreeBSD 15 without compat13x or compat14x installed... please test this and see if it runs on FreeBSD 15: https://dbsoft.org/whitestar/whitestar- ... tk3.tar.xz

User avatar
SouthernComputerGeek
Apollo supporter
Apollo supporter
Posts: 34
Joined: 2022-04-16, 19:53
Location: Mississippi, USA

Re: Pale Moon is not working on FreeBSD 15 (amd64)

Post by SouthernComputerGeek » 2025-12-14, 19:56

dbsoft wrote:
2025-12-14, 01:38
I made changes to load libutil.so dynamically... If anyone has FreeBSD 15 without compat13x or compat14x installed... please test this and see if it runs on FreeBSD 15: https://dbsoft.org/whitestar/whitestar- ... tk3.tar.xz
I uninstalled compat14 to test this. I got the same error.
I am the monster under Silicon Valley's bed.

Image

dbsoft
Project Contributor
Project Contributor
Posts: 514
Joined: 2020-02-21, 17:35

Re: Pale Moon is not working on FreeBSD 15 (amd64)

Post by dbsoft » 2025-12-14, 21:21

Are you sure it is the same error? Can you paste the full error here?

Edit: Actually I am just going to do a full rebuild, maybe something else got linked with libutil that didn't need it.

User avatar
SouthernComputerGeek
Apollo supporter
Apollo supporter
Posts: 34
Joined: 2022-04-16, 19:53
Location: Mississippi, USA

Re: Pale Moon is not working on FreeBSD 15 (amd64)

Post by SouthernComputerGeek » 2025-12-14, 21:44

dbsoft wrote:
2025-12-14, 21:21
Are you sure it is the same error? Can you paste the full error here?

Code: Select all

Bootstrap allocator: malloc_init_hard stats:
Bootstrap allocator: 0 bytes requested, 0 allocated
XPCOMGlueLoad error for file /home/rhys/whitestar/libxul.so:
Shared object "libutil.so.9" not found, required by "libxul.so"
Couldn't load XPCOM.
Yep, it's the same.
I am the monster under Silicon Valley's bed.

Image

dbsoft
Project Contributor
Project Contributor
Posts: 514
Joined: 2020-02-21, 17:35

Re: Pale Moon is not working on FreeBSD 15 (amd64)

Post by dbsoft » 2025-12-14, 22:50

Ok, so it looks like we were including libutil twice, I removed one but the other was still there. So now I removed both and did a full rebuild...

https://dbsoft.org/whitestar/whitestar- ... tk3.tar.xz

Please try again if you would, thanks!

User avatar
SouthernComputerGeek
Apollo supporter
Apollo supporter
Posts: 34
Joined: 2022-04-16, 19:53
Location: Mississippi, USA

Re: Pale Moon is not working on FreeBSD 15 (amd64)

Post by SouthernComputerGeek » 2025-12-15, 21:48

dbsoft wrote:
2025-12-14, 22:50
Ok, so it looks like we were including libutil twice, I removed one but the other was still there. So now I removed both and did a full rebuild...

https://dbsoft.org/whitestar/whitestar- ... tk3.tar.xz

Please try again if you would, thanks!
This one is working! :)
I am the monster under Silicon Valley's bed.

Image

dbsoft
Project Contributor
Project Contributor
Posts: 514
Joined: 2020-02-21, 17:35

Re: Pale Moon is not working on FreeBSD 15 (amd64)

Post by dbsoft » 2025-12-15, 23:40

SouthernComputerGeek wrote:
2025-12-15, 21:48
This one is working! :)
Awesome thanks!!