FS#72847 - [python-fiona] ImportError libdlap_r-2.4.so.2 not found

Attached to Project: Community Packages
Opened by Christoph Fink (peippo) - Friday, 26 November 2021, 14:00 GMT
Last edited by Antonio Rojas (arojas) - Friday, 03 December 2021, 08:30 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Bruno Pagani (ArchangeGabriel)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Fiona (or one of its dependencies) tries to load libldap_r-2.4.so.2.
libldap was recently updated to 2.6, do the .so is not available.

Fiona from PyPi does not have the same problem.

Additional info:

python 3.9.7-2
python-fiona 1.8.20-2
gdal 3.3.1-9


Steps to reproduce:

Start Python, import `fiona`

Python 3.9.7 (default, Oct 10 2021, 15:13:22)
[GCC 11.1.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import fiona
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.9/site-packages/fiona/__init__.py", line 86, in <module>
from fiona.collection import BytesCollection, Collection
File "/usr/lib/python3.9/site-packages/fiona/collection.py", line 11, in <module>
from fiona.ogrext import Iterator, ItemsIterator, KeysIterator
ImportError: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory
>>>
This task depends upon

Closed by  Antonio Rojas (arojas)
Friday, 03 December 2021, 08:30 GMT
Reason for closing:  Not a bug
Comment by Christoph Fink (peippo) - Friday, 26 November 2021, 14:01 GMT
Sorry, I forgot to edit the summary, and don’t find how to change it retrospectively.
It should be: [python-fiona] ImportError libdlap_r-2.4.so.2 not found
Comment by Bruno Pagani (ArchangeGabriel) - Thursday, 02 December 2021, 19:30 GMT
I cannot reproduce. Do you still have this issue?
Comment by Bruno Pagani (ArchangeGabriel) - Thursday, 02 December 2021, 19:33 GMT
If so, do you have postgresql installed? Is it up-to-date?
Comment by Christoph Fink (peippo) - Friday, 03 December 2021, 08:17 GMT
I cannot reproduce it anymore, either.

I have postgresql installed, and I keep `postgresql-libs` and `postgresql` in `IgnorePkg` to have an extra eye on major updates.
I’m fairly certain, though, that they were up to date at that time (but it still would be such a good explanation that I start to doubt myself there)

Thanks for looking into it!

Loading...