Package: dico-module-python Version: 2.10-1 Severity: important X-Debbugs-Cc: simon.heimb...@heimberg-ea.ch
Dear Maintainer, I found a problem in dico-module-python. * What led up to the situation? I wanted to write a python module for dico, but could not load python "mode". * What exactly did you do (or not do) that was effective (or ineffective)? When I included the following in the config file (/etc/dicod.conf), the python module failed to load already. load-module python; # other variants with "load-module python {command python ...};" did the same * What was the outcome of this action? This error message was printed: cannot load module python: file not found * What outcome did you expect instead? I expected it to load the python module, to be able to load a database loaded by my python code thereafter. After research, I found out that /usr/lib/x86_64-linux- gnu/dico/python.so does not find a dependant library. (LD_DEBUG=all /bin/dicod ...) I managed to get it running with setting a variable before the run: LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libpython3.9.so.1.0 /bin/dicod ... or LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libpython3.9.so.1 /bin/dicod ... No idea if this happens on many systems. So here some more information about mine: The library l*n3.9.so.1 is a symlink to the other one (l*n3.9.so.1.0). There is no other libpython* on my system (in any lib path). Of course /lib is a symlink to /usr/lib/, so this files are shown once more. By the way, why does the package not depend on or recommend libpython3.9 (which contains the library)? So I append some package information additionally: ii libpython3.9 3.9.2-1 -- System Information: Debian Release: 11.6 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-19-amd64 (SMP w/4 CPU threads) Kernel taint flags: TAINT_OOT_MODULE Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8), LANGUAGE=de_CH:de Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages dico-module-python depends on: ii dicod 2.10-1 ii libc6 2.31-13+deb11u5 ii libdico2 2.10-1 dico-module-python recommends no packages. dico-module-python suggests no packages. -- no debconf information