ente-io / ente

Fully open source, End to End Encrypted alternative to Google Photos and Apple Photos
https://ente.io
GNU Affero General Public License v3.0
13.76k stars 726 forks source link

AppImage: libffi & libtiff error #472

Open janakdom opened 6 months ago

janakdom commented 6 months ago

After i download pre-release of Nightly Build AppImage and run it i got error:

./ente_auth: error while loading shared libraries: libffi.so.7: cannot open shared object file: No such file or directory

after that i install latest libffi7 i got:

./ente_auth: symbol lookup error: /usr/lib/libtiff.so.6: undefined symbol: jpeg12_write_raw_data, version LIBJPEG_8.0

and i hane no idea how to fix it.

I have latest Manjaro Linux with KDE & Wayland.

image

mrbluecoat commented 6 months ago

Similar on Ubuntu 22.04 x86_64. I had to run sudo apt install libffi7 to get past the ffi error and now I get:

$ LIBGL_DEBUG=verbose ./auth-linux-v2.0.34-beta0-x86_64.AppImage
(ente_auth:17604): Gdk-CRITICAL **: 18:57:35.241: gdk_window_get_state: assertion 'GDK_IS_WINDOW (window)' failed
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/mbc/.drirc: No such file or directory.
libGL: using driver i915 for 11
libGL: pci id for fd 11: 8086:1912, driver iris
libGL: MESA-LOADER: failed to open /usr/lib/x86_64-linux-gnu/dri/iris_dri.so: usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/x86_64-linux-gnu/dri/iris_dri.so)
...
libGL error: failed to load driver: iris
libGL: MESA-LOADER: failed to open /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so: usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so)
mrbluecoat commented 5 months ago

FYI, this only occurred with the AppImage. The deb option worked great.

dnet890 commented 5 months ago

Yes, I got the stable version 2.0.5 for ubuntu 22.04 and SteamOS and I have same issue

ebigaignon commented 4 months ago

Hello, The error is still present on Debian 12, with v2.0.54: ./ente_auth: error while loading shared libraries: libffi.so.7

wehagy commented 4 months ago

The issue persist on archlinux with ente-auth-v2.0.54-x86_64.AppImage

$ ./ente-auth-v2.0.54-x86_64.AppImage 
./ente_auth: error while loading shared libraries: libffi.so.7: cannot open shared object file: No such file or directory

The release notes of auth-v2.0.54 state that have been fixed on #1257

mrbluecoat commented 3 months ago

Thanks for the heads up, @wehagy - ente-auth-v3.0.7-x86_64.AppImage worked great for me

janakdom commented 3 months ago

ente-auth-v3.0.8-x86_64.AppImage still not working for me. Same error.

./ente-auth-v3.0.8-x86_64.AppImage
./ente_auth: symbol lookup error: /usr/lib/libtiff.so.6: undefined symbol: jpeg12_write_raw_data, version LIBJPEG_8.0

lrwxrwxrwx     16  libtiff.so -> libtiff.so.6.0.2
lrwxrwxrwx     16  libtiff.so.6 -> libtiff.so.6.0.2
-rwxr-xr-x 563240  libtiff.so.6.0.2
lrwxrwxrwx     18  libtiffxx.so -> libtiffxx.so.6.0.2
lrwxrwxrwx     18  libtiffxx.so.6 -> libtiffxx.so.6.0.2
-rwxr-xr-x  14288  libtiffxx.so.6.0.2
dnet890 commented 3 months ago

@janakdom I use Kubuntu 22.04 and steamos and current appimage release fixed the issue. which distro you use?

janakdom commented 3 months ago

@dtantono I use the latest full Manjaro with KDE 6

103sbavert commented 3 weeks ago

it used to work just fine a few weeks ago and now it doesn't work at all.

prateekmedia commented 3 weeks ago

@103sbavert Did you updated your system?

103sbavert commented 3 weeks ago

Yes, I'm running the latest version of all packages on Arch Linux @prateekmedia