Hi

I've investigated the issue a bit more deeper and the problem is in
interaction with Python. Running dbi in standalone process works, but
once it is used in Python module, it fails.

The reason for this is that Python modules are dlopened with RTLD_LOCAL
flag, thus libdbi is loaded with it as well. When it later dlopens it's
plugins, they can not see libdbi symbols.

I'm not sure what would be proper fix, however I'm putting workaround
to python-gammu to force using RTLD_GLOBAL for it's import. It is ugly
and maybe it will break something else in future, but at least it makes
things work for now.

-- 
        Michal Čihař | http://cihar.com | http://blog.cihar.com

Attachment: signature.asc
Description: PGP signature

Reply via email to