Bug#989428: libx265-dev: pygdal does not like to the right version
Package: libx265-dev
Version: 3.4-2
Severity: normal
X-Debbugs-Cc: ldng@free.fr
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
When installing pygdal in a python 3.6 virtualenv on debian 11 (bullseye) and
try to import it, it generates the following error :
OSError: libx265.so.165: cannot open shared object file: No such file or
directory
* What exactly did you do (or not do) that was effective (or
ineffective)?
$ pyenv --version
pyenv 2.0.0
It's used to create a Python 3.6 virtualenv
pip --version
pip 21.1.2 from /home/$foo/.pyenv/versions/3.6.13/envs/$bar/lib/python3.6/site-
packages/pip (python 3.6)
When cloning the pygdal repo and compiling in the version 3.2.1 matching the
installed version, with python setup.py bdist_wheel, it seems to link to an
unexisting library :
$ ldd build/lib.linux-x86_64-3.6/osgeo/_gdal.cpython-36m-x86_64-linux-gnu.so
...
libde265.so.0 => /usr/lib/x86_64-linux-gnu/libde265.so.0
(0x00007fe1a8d39000)
libx265.so.165 => not found
libdav1d.so.4 => /usr/lib/x86_64-linux-gnu/libdav1d.so.4
(0x00007fe1a8c03000)
...
The library available is : /usr/lib/x86_64-linux-gnu/libx265.so.192
Could be a pygdal issue though.
-- System Information:
Debian Release: 11.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.10.0-6-amd64 (SMP w/8 CPU threads)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not
set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libx265-dev depends on:
ii libx265-192 3.4-2
libx265-dev recommends no packages.
Versions of packages libx265-dev suggests:
pn libx265-doc <none>
Reply to: