multiviewer-2 icon indicating copy to clipboard operation
multiviewer-2 copied to clipboard

Trying to run on Arch Linux, undefined symbol

Open mxmilkiib opened this issue 2 years ago • 5 comments
trafficstars

Not sure how to get it working;

00:50:10 milk@red:~/src/multiviewer-2 master 33s ± makelove
Loading config from default path 'makelove.toml'
Found conf.lua
Assuming default löve version '11.3'
Building targets: appimage
Assembling game directory..
Created dist/love/multiviewer-2.love
>> Building target appimage
Downloading https://github.com/pfirsich/love-appimages/releases/download/v3/love-11.3-x86_64.AppImage..
Extracting source AppImage '/var/tmp/tmpt7hpx8an.AppImage'..
Creating new AppImage..
Downloading 'https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage'..
Created dist/appimage/multiviewer-2.AppImage
Removing AppDir..
Target appimage complete
00:50:18 milk@red:~/src/multiviewer-2 master ± lt
total 60K
-rw-r--r-- 1 milk milk 2.5K Sep 27 00:48 README.md
-rw-r--r-- 1 milk milk 2.9K Sep 27 00:48 Multiviewer_icon.png
-rw-r--r-- 1 milk milk 2.9K Sep 27 00:48 Multiviewer_icon.ico
-rw-r--r-- 1 milk milk 1.1K Sep 27 00:48 LICENSE.txt
-rw-r--r-- 1 milk milk  986 Sep 27 00:48 file_manager.lua
-rw-r--r-- 1 milk milk  16K Sep 27 00:48 Editor.lua
-rw-r--r-- 1 milk milk  837 Sep 27 00:48 conf.lua
drwxr-xr-x 1 milk milk   12 Sep 27 00:48 font
-rw-r--r-- 1 milk milk 1.5K Sep 27 00:48 input.lua
-rw-r--r-- 1 milk milk  735 Sep 27 00:48 input_bindings.lua
-rw-r--r-- 1 milk milk  169 Sep 27 00:48 makelove.toml
-rw-r--r-- 1 milk milk 1.8K Sep 27 00:48 main.lua
-rw-r--r-- 1 milk milk 1.1K Sep 27 00:48 love_run.lua
drwxr-xr-x 1 milk milk   94 Sep 27 00:48 lib
drwxr-xr-x 1 milk milk   24 Sep 27 00:50 dist
00:50:21 milk@red:~/src/multiviewer-2 master ± dist
00:50:23 milk@red:~/src/multiviewer-2/dist master ± ll
total 0
0 drwxr-xr-x 1 milk milk 44 Sep 27 00:50 appimage
0 drwxr-xr-x 1 milk milk 36 Sep 27 00:50 love
00:50:23 milk@red:~/src/multiviewer-2/dist master ± lve
zsh: command not found: lve
00:50:26 milk@red:~/src/multiviewer-2/dist master 127 ± love
00:50:27 milk@red:~/src/multiviewer-2/dist/love master ± ll
total 284K
284K -rw-r--r-- 1 milk milk 281K Sep 27 00:50 multiviewer-2.love
00:50:27 milk@red:~/src/multiviewer-2/dist/love master ± ..
00:50:29 milk@red:~/src/multiviewer-2/dist master ± appimage 
00:50:32 milk@red:~/src/multiviewer-2/dist/appimage master ± ll
total 4.1M
4.1M -rwxr-xr-x 1 milk milk 4.1M Sep 27 00:50 multiviewer-2.AppImage
00:50:33 milk@red:~/src/multiviewer-2/dist/appimage master ± ./multiviewer-2.AppImage 
/var/tmp/.mount_multivNoJqCY/usr/bin/love: symbol lookup error: /usr/lib/libsndfile.so.1: undefined symbol: mpg123_info2

I have extra/libsndfile 1.2.2-1 (317.2 KiB 1.0 MiB) (Installed) installed atm.

mxmilkiib avatar Sep 26 '23 23:09 mxmilkiib

Thank you for the report! Hmm, so it looks like you installed makelove to build the AppImage yourself? If you're willing to go through those steps, it's probably easier to just install Löve (it appears to be in the repositories...?) and run the project directly. With Löve installed, you can run "love" with the multiviewer-2 folder as the first argument, or just "love ." if you have navigated into the folder.

Let me know if that doesn't work and I will look into it in the morning.

rgrams avatar Sep 27 '23 03:09 rgrams

Thanks but trying that gives a similar error;

04:26:05 milk@red:~/src/multiviewer-2 master ± love .
love: symbol lookup error: /usr/lib/liblove-11.4.so: undefined symbol: mpg123_open_handle_64

I have mpg123 1.32.1 installed FWIW.

mxmilkiib avatar Sep 27 '23 03:09 mxmilkiib

Hmm, darn. Sounds like it's not a problem with my project, but with running Löve at all. Do you get the same error if you just run "love" by itself?

I found a similar report, though with no good conclusion. :/ https://github.com/love2d/love/issues/1794

Are you trying to run this on an unusual system?

rgrams avatar Sep 27 '23 15:09 rgrams

Aah, strange, yes, just love fails.

Not that strange a system. As mostly bleeding edge as most Arch systems. It's the official binary Löve package.

Trying love-git AUR entry gives the same error. No change either mpg123-svn over the binary mpg123 package..

mxmilkiib avatar Sep 27 '23 15:09 mxmilkiib

Does the Löve AppImage from here work on your machine? https://github.com/love2d/love/releases/download/11.4/love-11.4-x86_64.AppImage

rgrams avatar Sep 28 '23 16:09 rgrams