r/AlpineLinux • • Sep 30 '23

[Q] Script file outputs `%filename% not found` when attempting to execute said file.

1 Upvotes

[SOLVED]: Turns out that firefox.real is compiled against glibc while Alpine is obviously musl based.

Here is the line in the script in question: exec "$basedir/firefox.real" "$@"

I'm trying to setup Tor on my Alpine. I've downloaded official archive from the torproject.com and executing start-tor-browser.desktop. This eventually leads to failure at line above in one of the script files with the message:

./firefox: exec: line 23: ./firefox.real: not found

firefox.real is clearly seen in the directory but, is not visible to script.

Previously I had to install bash and file because Tor scripts require those but once I did related errors were gone.