Finally, I think I found the cause (as the problem appeared on Debian as
well): The object file pythongdl.cpp.o was empty, and all functions
(including initGDL and PyInit) were called from the library
(libgnudatalanguage0) linked to. On gcc-9 (and probably on Ubuntu's
gcc), the "as-needed" flag is implicite in the linking step, which
prevents unneded libraries from being linked. Therefore, the symbols
can't befound anymore.
This is now solved in the Debian package.
** Changed in: gnudatalanguage (Ubuntu)
Status: Confirmed => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1665355
Title:
import GDL fails in python (ImportError: dynamic module does not
define init function (initGDL))
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnudatalanguage/+bug/1665355/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs