Package: liblua5.1-csnd Version: 1:5.11.1~dfsg-2 Severity: grave ta...@birba:/tmp$ lua Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio > require 'csnd' error loading module 'csnd' from file '/usr/lib/lua/5.1/csnd.so': /usr/lib/lua/5.1/csnd.so: undefined symbol: luaopen_csnd stack traceback: [C]: ? [C]: in function 'require' stdin:1: in main chunk [C]: ? >
If we look at objdump: ta...@birba:/tmp$ objdump -T /usr/lib/lua/5.1/csnd.so | grep luaopen 0000000000017880 g DF .text 00000000000000b7 Base _Z20luaopen_luaCsnd_userP9lua_State 00000000002a0a60 g DO .data 0000000000000008 Base luaopen_luaCsnd_luacode 0000000000019560 g DF .text 0000000000000dc4 Base luaopen_luaCsnd It seems some extern "C" directives are missing, since symbols names are mangled according to C++ conventions, while Lua expects the entrypoint to be called luaopen_csnd. Cheers -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages liblua5.1-csnd depends on: ii libc6 2.10.2-2 GNU C Library: Shared libraries ii libcsnd5.2 1:5.11.1~dfsg-2 C++ bindings for the Csound API ii libcsound64-5.2 1:5.11.1~dfsg-2 main library for Csound ii libgcc1 1:4.4.2-5 GCC support library ii liblua5.1-0 5.1.4-6 Simple, extensible, embeddable pro ii libstdc++6 4.4.2-5 The GNU Standard C++ Library v3 liblua5.1-csnd recommends no packages. liblua5.1-csnd suggests no packages. -- no debconf information -- Enrico Tassi -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org