Bug#1025649: love: undefined symbol: PHYSFS_getSearchPath

Premek premysl.vyhnal+bugreport at gmail.com
Tue Dec 6 21:31:24 GMT 2022


Package: love
Version: 11.4-1
Severity: normal
X-Debbugs-Cc: premysl.vyhnal+bugreport at gmail.com

Some love programs using FFI crash with the error message below.

$ cat main.lua
local ffi = require'ffi'
ffi.cdef("bool PHYSFS_unmount(const char *path);")
ffi.C.PHYSFS_unmount("xyz")

$ love .
Error: main.lua:3: /lib/x86_64-linux-gnu/libluajit-5.1.so.2: undefined symbol:
PHYSFS_unmount
stack traceback:
        [love "boot.lua"]:345: in function <[love "boot.lua"]:341>
        [C]: in function '__index'
        main.lua:3: in main chunk
        [C]: in function 'require'
        [love "boot.lua"]:316: in function <[love "boot.lua"]:126>
        [C]: in function 'xpcall'
        [love "boot.lua"]:355: in function <[love "boot.lua"]:348>
        [C]: in function 'xpcall'

Running the same program with love compiled from source does not print any
error.

More information:
https://love2d.org/forums/viewtopic.php?p=251062&sid=4ce1bbcbc945046797d8d2112efb2e00#p251062



-- System Information:
Debian Release: 11.5
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'stable-
security'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-16-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages love depends on:
ii  libc6            2.35-4
ii  libfreetype6     2.10.4+dfsg-1+deb11u1
ii  libgcc-s1        12.2.0-3
ii  libluajit-5.1-2  2.1.0~beta3+dfsg-5.3
ii  libmodplug1      1:0.8.9.0-3
ii  libmpg123-0      1.31.1-1
ii  libogg0          1.3.4-0.1
ii  libopenal1       1:1.19.1-2
ii  libsdl2-2.0-0    2.24.2+dfsg-1
ii  libstdc++6       12.2.0-3
ii  libtheora0       1.1.1+dfsg.1-15
ii  libvorbisfile3   1.3.7-1
ii  zlib1g           1:1.2.11.dfsg-2+deb11u2

Versions of packages love recommends:
ii  binfmt-support  2.2.1-1
ii  systemd         247.3-7+deb11u1

love suggests no packages.



More information about the Pkg-games-devel mailing list