> May I just remove all the files within /usr/local/lib and the > directory /usr/local/share/gdal ? yes (move them somewhere else) If the problem persists afterwards, maybe you should run ldconfig: sudo /sbin/ldconfig -v (really no warranty on this one: it may really impact your install although this is very unlikely!)