[gdal-dev] ogr2ogr problem with updated libproj

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[gdal-dev] ogr2ogr problem with updated libproj

John Muccigrosso
I use homebrew to install both gdal2 and its dependencies, like osgeo-proj. This morning I updated the latter and started getting the following error from ogr2ogr:

        dyld: Library not loaded: /usr/local/opt/osgeo-proj/lib/libproj.15.dylib
        Referenced from: /usr/local/bin/ogr2ogr
        Reason: image not found

The relevant directory listing is this:

-r--r--r--   1  3172652 Mar 17 11:35 libproj.19.dylib
-r--r--r--   1  5447248 Mar 17 11:35 libproj.a
lrwxr-xr-x   1       16 Mar 17 11:35 libproj.dylib -> libproj.19.dylib
-rwxr-xr-x   1     1017 Mar 17 11:35 libproj.la
drwxr-xr-x   3       96 Mar 17 11:35 pkgconfig

This happened to me before and I filed a bug at osgeo here: https://github.com/OSGeo/homebrew-osgeo4mac/issues/174

The solution there was to remove and re-install gdal, which also worked this time.

Anyway, as I noted in that thread, it seems like this is something that is fixable (maybe by not referring to a specific version of the library? - out of my expertise here), so I thought I'd note it here.


gdal-dev mailing list
[hidden email]