Bug#847014: python-pjproject: undefined symbol: pjmedia_endpt_create

Bernhard Schmidt berni at debian.org
Sun Dec 4 22:21:04 UTC 2016


Control: severity -1 important

On Sun, Dec 04, 2016 at 11:03:26PM +0100, Roland Koebler wrote:

Hi Roland,

> Package: python-pjproject
> Version: 2.5.5~dfsg-3
> Severity: grave
> Justification: renders package unusable
> 
> Dear Maintainer,
> 
> python-pjproject is broken; when trying to use it, it reports an
> undefined symbol and aborts:
> 
> $ python
> >>> import pjsua
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/lib/python2.7/dist-packages/pjsua.py", line 59, in <module>
>     import _pjsua
> ImportError: /usr/lib/libpjsua.so.2: undefined symbol: pjmedia_endpt_create

Works here.

root at voiptest:~# python
Python 2.7.12+ (default, Nov 22 2016, 00:48:54) 
[GCC 6.2.1 20161119] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pjsua
>>> 

> I guess that this is a packaging issue.

Yes and no. You seem to be running a weird mixture of old and new
versions of the pjproject libs

> ii  libpj2                2.5.5~dfsg-3
> ii  libpjlib-util2        2.1.0.0.ast20130823-1
> ii  libpjmedia-audiodev2  2.1.0.0.ast20130823-1
> ii  libpjmedia-codec2     2.1.0.0.ast20130823-1
> ii  libpjmedia-videodev2  2.5.5~dfsg-3
> ii  libpjmedia2           2.5.5~dfsg-3
> ii  libpjnath2            2.5.5~dfsg-3
> ii  libpjsip-simple2      2.1.0.0.ast20130823-1
> ii  libpjsip-ua2          2.1.0.0.ast20130823-1
> ii  libpjsip2             2.1.0.0.ast20130823-1
> ii  libpjsua2             2.1.0.0.ast20130823-1

I assume when you update all libs to the same release it will work.

I think python bindings should depend on the libs of the same version.
I'll have a look on how to code this dependency into the package. But I
don't agree that this is a grave bug.

Bernhard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20161204/fb2f7481/attachment.sig>


More information about the Pkg-voip-maintainers mailing list