Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#36503 - [gdal] GDAL Package needs recompilation because of giflib

Attached to Project: Community Packages
Opened by Hannes Gräuler (albertid) - Monday, 12 August 2013, 10:01 GMT
Last edited by Eric Belanger (Snowman) - Tuesday, 13 August 2013, 09:14 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

GDAL needs to be recompiled as it is linked with an old version of giflib:

Additional info:
* Package versions: gdal 1.10.0-2, giflib 5.0.4-2
* Log:
% ldd /usr/lib/libgdal.so | grep gif
libgif.so.4 => /usr/lib/libgif.so.4 (0x00007f7bdacc8000)
% pacman -Ql giflib | grep \.so
giflib /usr/lib/libgif.so
giflib /usr/lib/libgif.so.6
giflib /usr/lib/libgif.so.6.0.1

Steps to reproduce:
% sudo pacman -Syu
...
% python -c "import gdal"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/GDAL-1.10.0-py2.7-linux-x86_64.egg/gdal.py", line 2, in <module>
from osgeo.gdal import deprecation_warn
File "/usr/lib/python2.7/site-packages/GDAL-1.10.0-py2.7-linux-x86_64.egg/osgeo/__init__.py", line 21, in <module>
_gdal = swig_import_helper()
File "/usr/lib/python2.7/site-packages/GDAL-1.10.0-py2.7-linux-x86_64.egg/osgeo/__init__.py", line 17, in swig_import_helper
_mod = imp.load_module('_gdal', fp, pathname, description)
ImportError: libgif.so.4: cannot open shared object file: No such file or directory
This task depends upon

Closed by  Eric Belanger (Snowman)
Tuesday, 13 August 2013, 09:14 GMT
Reason for closing:  Not a bug
Comment by Eric Belanger (Snowman) - Monday, 12 August 2013, 18:17 GMT
libgdal is build against the correct libgif:
$ readelf -d /usr/lib/libgdal.so |grep gif
libgif.so.6 => /usr/lib/libgif.so.6 (0x00007f6bbe165000)

Make sure your system is fully up-to-date and that all custom packages have been rebuilt.
Comment by Eric Belanger (Snowman) - Monday, 12 August 2013, 18:21 GMT
The python file that are referenced in your error message are not in the gdal package. You probably need to rebuild the package they belong too.
Comment by Hannes Gräuler (albertid) - Tuesday, 13 August 2013, 06:31 GMT
Ok sorry, I had an old symlink in /usr/lib.

However I would have expected pacman to overwrite it.

Loading...