You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use mold on Manjaro and receiving these errors:
$ cd ~/projects
$ git clone --recursive https://github.com/rui314/mold.git
$ cd mold
$ make submodules
$ make
$ build-webkit --gtk --debug --cmakeargs="-DUSE_LD_LLD=OFF -DUSE_LD_GOLD=OFF"
Building flatpak based environment
+ /home/twilco/projects/mold/mold -run cmake --build /app/webkit/WebKitBuild/Debug --config Debug --
/home/twilco/projects/mold/mold: /usr/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /home/twilco/projects/mold/mold)
/home/twilco/projects/mold/mold: /usr/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/twilco/projects/mold/oneTBB/build/linux_intel64_gcc_cc10.2.0_libc2.33_kernel5.4.105_release/libtbb.so.2)
It looks like mold expects these .sos to be in the directories Ubuntu / apt-get puts them in (e.g. see the file listing for libc6-dev, depended on by Ubuntu's build-essential package). Neither /usr/lib/x86_64-linux-gnu nor /lib/x86_64-linux-gnu exists on my system, so I'm guessing Arch-based repos don't follow this pattern.
I do have glibc installed, just not in the place mold expects:
$ /lib/libc.so.6
GNU C Library (GNU libc) release release version 2.33.
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 10.2.0.
libc ABIs: UNIQUE IFUNC ABSOLUTE
For bug reporting instructions, please see:
<https://bugs.archlinux.org/>.
Hello!
I'm trying to use
mold
on Manjaro and receiving these errors:It looks like
mold
expects these.so
s to be in the directories Ubuntu /apt-get
puts them in (e.g. see the file listing for libc6-dev, depended on by Ubuntu'sbuild-essential
package). Neither/usr/lib/x86_64-linux-gnu
nor/lib/x86_64-linux-gnu
exists on my system, so I'm guessing Arch-based repos don't follow this pattern.I do have glibc installed, just not in the place
mold
expects:I tried a symlink:
But get the exact same errors, so there must be more to it.
Have you tested
mold
on Arch-based distros yet?Thanks for making this project -- excited to continue experimenting with it!
The text was updated successfully, but these errors were encountered: