[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#989428: marked as done (libx265-dev: pygdal does not like to the right version)



Your message dated Thu, 3 Jun 2021 23:03:07 +0200
with message-id <YLlDi2yLMnSgYFaH@ramacher.at>
and subject line Re: Bug#989428: libx265-dev: pygdal does not like to the right version
has caused the Debian Bug report #989428,
regarding libx265-dev: pygdal does not like to the right version
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
989428: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=989428
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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>

--- End Message ---
--- Begin Message ---
On 2021-06-03 15:48:42, ldng wrote:
> 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

So whatever you've installed was built against a different version of
libx265. You need to rebuild that binary against the versioned provided
by Debian if you want to use the packaged x265. There's nothing we can
do here.

Cheers


>         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>

-- 
Sebastian Ramacher

--- End Message ---

Reply to: