I'm working on running an Electron Linux App on FreeBSD, namly lbry-desktop,
github.com
I did this
1. download https://github.com/mrclksr/linux-browser-installer
2. run from FreeBSD
3. run from chroot/ubuntu
4. back to FreeBSD
I'm getting this
I did some debugging, but can't get it thru.
My conclusion is, it should work, since
1. `ffmpeg.so` is present
From chroot
So I'm missing something, but can't find it.
How can I debug/solve it?
GitHub - lbryio/lbry-desktop: A browser and wallet for LBRY, the decentralized, user-controlled content marketplace.
A browser and wallet for LBRY, the decentralized, user-controlled content marketplace. - GitHub - lbryio/lbry-desktop: A browser and wallet for LBRY, the decentralized, user-controlled content mark...
I did this
1. download https://github.com/mrclksr/linux-browser-installer
2. run from FreeBSD
Bash:
> sudo ./linux-browser-installer chroot create
> sudo chroot /compat/ubuntu/ /bin/bash
3. run from chroot/ubuntu
Bash:
apt install --yes wget
cd /root
wget https://github.com/lbryio/lbry-desktop/releases/download/v0.51.2/LBRY_0.51.2.deb
apt install --yes ./LBRY_0.51.2.deb
rm /var/lib/dpkg/info/libfprint-2-2\:amd64.postinst
apt install --yes ./LBRY_0.51.2.deb
Bash:
> /compat/ubuntu/opt/LBRY/lbry
I'm getting this
Bash:
> /compat/ubuntu/opt/LBRY/lbry
/compat/ubuntu/opt/LBRY/lbry: error while loading shared libraries: libffmpeg.so: cannot open shared object file: No such file or directory
fish: Job 1, '/compat/ubuntu/opt/LBRY/lbry' terminated by signal SIGTRAP (Trace or breakpoint trap)
I did some debugging, but can't get it thru.
My conclusion is, it should work, since
1. `ffmpeg.so` is present
Bash:
> ll /compat/ubuntu/opt/LBRY/
total 195691
-rw-r--r-- 1 root wheel 1.0K Aug 20 16:22 LICENSE.electron.txt
-rw-r--r-- 1 root wheel 4.5M Aug 20 16:22 LICENSES.chromium.html
-rwsr-xr-x 1 root wheel 6.0M Aug 20 16:22 chrome-sandbox
-rw-r--r-- 1 root wheel 176K Aug 20 16:22 chrome_100_percent.pak
-rw-r--r-- 1 root wheel 314K Aug 20 16:22 chrome_200_percent.pak
-rw-r--r-- 1 root wheel 10M Aug 20 16:22 icudtl.dat
-rwxr-xr-x 1 root wheel 122M Aug 20 16:22 lbry
-rwxr-xr-x 1 root wheel 238K Aug 20 16:22 libEGL.so
-rwxr-xr-x 1 root wheel 8.5M Aug 20 16:22 libGLESv2.so
-rwxr-xr-x 1 root wheel 3.0M Aug 20 16:22 libffmpeg.so
-rwxr-xr-x 1 root wheel 4.3M Aug 20 16:22 libvk_swiftshader.so
-rwxr-xr-x 1 root wheel 8.1M Aug 20 16:22 libvulkan.so
drwxr-xr-x 2 root wheel 55B Sep 6 13:04 locales
drwxr-xr-x 4 root wheel 5B Sep 6 13:04 resources
-rw-r--r-- 1 root wheel 4.6M Aug 20 16:22 resources.pak
-rw-r--r-- 1 root wheel 49K Aug 20 16:22 snapshot_blob.bin
drwxr-xr-x 2 root wheel 4B Sep 6 13:04 swiftshader
-rw-r--r-- 1 root wheel 167K Aug 20 16:22 v8_context_snapshot.bin
-rw-r--r-- 1 root wheel 107B Aug 20 16:22 vk_swiftshader_icd.json
> strings /compat/ubuntu/opt/LBRY/lbry|rg libffmpeg\.so
libffmpeg.so
From chroot
Bash:
root@alef14:~# ldd /opt/LBRY/lbry |grep ffmpeg
libffmpeg.so => /opt/LBRY/libffmpeg.so (0x0000000808e00000)
So I'm missing something, but can't find it.
How can I debug/solve it?