gnome-sound-recorder_42.0 - undefined symbol: udat_countAvailable_66

Technical issues/questions of an intermediate or advanced nature.
User avatar
Rava
Contributor
Contributor
Posts: 5416
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

gnome-sound-recorder_42.0 - undefined symbol: udat_countAvailable_66

Post#1 by Rava » 13 Nov 2023, 05:50

Trying to get gnome-sound-recorder_42.0 to run in Porteus 5.01 Xfce 4.16:

Code: Select all

guest@rava:/$ cat /etc/porteus/*
001-core.xzm:20230922
002-xorg.xzm:20231001
002-xtra.xzm:20230922
003-xfce.xzm:20230922
06-man.xzm:20230915
initrd.xz:20220928
It is not available via slapt-mod so I try using binaries from an LTS compatible Linux distribution and choose Ubuntu 22.04 LTS (Jammy Jellyfish) (or Ubuntu 20.04 LTS (Focal Fossa) when not available in Ubuntu 22.04 LTS)

My modules thus far: (made from the deb's)
gnome-sound-recorder_42.0-1_all.xzm
gjs_1.72.0-1_amd64.xzm
libgjs0g_1.64.1-2ubuntu1_amd64.xzm

libmozjs-68-0_68.6.0-1ubuntu1_amd64_rava.xzm - changed the original module, path of library would not work for slackware -> moved

Code: Select all

/usr/lib/x86_64-linux-gnu/libmozjs-68.so.68
/usr/lib/x86_64-linux-gnu/libmozjs-68.so.68.6.0
to

Code: Select all

/usr/lib/libmozjs-68.so.68
/usr/lib/libmozjs-68.so.68.6.0
and did as root create the following symlinks

Code: Select all

cd /usr/lib64/
ln -s libicui18n.so.69.1 libicui18n.so.66
ln -s libicuuc.so.69.1 libicuuc.so.66
and activated all above mentioned modules but now are stuck at this point:

Code: Select all

guest@rava:~$ gnome-sound-recorder
/usr/bin/gjs-console: symbol lookup error: /usr/lib/libmozjs-68.so.0: undefined symbol: udat_countAvailable_66
guest@rava:~$ ls -o /usr/lib/libmozjs-68.so.0
lrwxrwxrwx 1 root 21 2023-11-13 06:31 /usr/lib/libmozjs-68.so.0 -> libmozjs-68.so.68.6.0
guest@rava:~$ ls -o /usr/lib/libmozjs-68.so.68.6.0
-rw-r--r-- 1 root 10961128 2020-04-14 02:18 /usr/lib/libmozjs-68.so.68.6.0
Never encountered that specific error.
And /usr/lib/libmozjs-68.so.0 should be compatible with the rest of these packages.

Any ideas that could solve this issue (aside from compiling all these packages myself)

Added in 3 minutes 26 seconds:
I found this info on https://stackoverflow.com/questions/270 ... t#27116151
For future reference: other than checking LD_LIBRARY_PATH, it's always a good idea to check a library with nm -D to see if the symbols actually exist. In this case it was found that they do exist in interactive mode but not when run in the queue. A quick md5sum revealed that the files were actually different.
but at least without the huge 05-devel there is no such thing as nm:

Code: Select all

root@rava:/usr/lib64# nm -D /usr/lib/libmozjs-68.so.68.6.0
-su: nm: command not found
Would nm be helpful for me?
Cheers!
Yours Rava