[gdal-dev] armadillo error with homebrew install of ogr2ogr

Sean Gillies sean at mapbox.com
Tue Nov 10 09:25:33 PST 2020


Hi John,

On Tue, Nov 10, 2020 at 10:14 AM John Muccigrosso <muccigrosso at icloud.com>
wrote:

> I've just started getting this error when I try to use ogr2ogr:
>
> dyld: Library not loaded: /usr/local/opt/armadillo/lib/libarmadillo.9.dylib
>   Referenced from: /usr/local/bin/ogr2ogr
>   Reason: image not found
>
>
> Presumably this is because armadillo is up to version 10 in my system:
>
>
> > ll /usr/local/opt/armadillo/lib/
> total 576
> drwxr-xr-x   6 username  staff     192 Oct 28 09:06 .
> drwxr-xr-x  10 username  staff     320 Oct 28 09:06 ..
> -r--r--r--   1 username  staff  293580 Oct 28 09:06
> libarmadillo.10.1.1.dylib
> lrwxr-xr-x   1 username  staff      25 Oct 28 09:06 libarmadillo.10.dylib
> -> libarmadillo.10.1.1.dylib
> lrwxr-xr-x   1 username  staff      21 Oct 28 09:06 libarmadillo.dylib ->
> libarmadillo.10.dylib
> drwxr-xr-x   3 username  staff      96 Oct 28 09:06 pkgconfig
>
>
> I've installed goal via homebrew.
>
> Thanks for any help.
>
> John
>

I haven't been a homebrew user in a long time, but I found some discussion
and a possible solution for you in
https://github.com/OSGeo/homebrew-osgeo4mac/issues/456#issuecomment-414220068
.

If some other homebrew package updated your armadillo library after you
installed gdal, you'll need to reinstall gdal.

-- 
Sean Gillies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20201110/3c93b2f4/attachment.html>


More information about the gdal-dev mailing list