go-appimage icon indicating copy to clipboard operation
go-appimage copied to clipboard

can not run on ubuntu- 20.04.4

Open xiaoyifang opened this issue 3 years ago • 5 comments

2022/06/17 13:16:44 libraryLocations: [/home/runner/work/goldendict/Qt/6.3.1/gcc_64/lib appdir/usr/bin /usr/lib64 /lib64 /usr/lib /lib /usr/lib/x86_64-linux-gnu/libfakeroot /usr/local/lib /usr/local/lib/x86_64-linux-gnu /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu /lib32 /usr/lib32 /opt/hostedtoolcache/Python/3.9.13/x64/lib /home/qt/work/install/lib /home/qt/icu_install/lib /lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders /lib/x86_64-linux-gnu/gdk-pixbuf-2.0 /lib/x86_64-linux-gnu/gstreamer-1.0 /usr/lib/x86_64-linux-gnu/gstreamer1.0/gstreamer-1.0] 2022/06/17 13:16:44 len(allELFs): 240 2022/06/17 13:16:44 Bundling alsa-lib directory (for )... 2022/06/17 13:16:44 Could not find alsa-lib directory

xiaoyifang avatar Jun 18 '22 13:06 xiaoyifang

Does it really say 2022/06/17 13:16:44 Bundling alsa-lib directory (for )... - is that the whole line or did you remove something there?

probonopd avatar Jun 20 '22 18:06 probonopd

image github has done something to the text.

xiaoyifang avatar Jul 16 '22 04:07 xiaoyifang

This is the code in question:

https://github.com/probonopd/go-appimage/blob/36cf7d1b81a2407aed8e89e03f8a68fb10d4659b/src/appimagetool/appdirtool.go#L648-L668

Please sudo apt-get -y install alsa-lib and retry.

probonopd avatar Jul 16 '22 07:07 probonopd

Reading state information...
E: Unable to locate package alsa-lib

ubuntu does not have alsa-lib package

I also tried sudo apt-get install libasound2 also does not work.

xiaoyifang avatar Jul 19 '22 05:07 xiaoyifang

E: Unable to locate package alsa-lib

Sorry, my mistake, that's a source package.

libasound2 should work...

probonopd avatar Jul 19 '22 19:07 probonopd