Skip to main content
Commonmark migration
Source Link

You have a problem with your PATHS:

  1. with Homebrew, GDAL is installed in /usr/local/Cellar with symbolic links of the programs (ogr2ogr, etc.) in /usr/local/bin

    with Homebrew, GDAL is installed in /usr/local/Cellar with symbolic links of the programs (ogr2ogr, etc.) in /usr/local/bin

  2. with the Frameworks of KyngChaos, the versions of GDAL are installed in /Library/Frameworks/GDAL.framework/Versions/1.x/GDAL with the programs in /Library/Frameworks/GDAL.framework/Versions/1.x/Programs (/Library/Frameworks/GDAL.framework/Programs is a symbolic link for the version used)

    with the Frameworks of KyngChaos, the versions of GDAL are installed in /Library/Frameworks/GDAL.framework/Versions/1.x/GDAL with the programs in /Library/Frameworks/GDAL.framework/Versions/1.x/Programs (/Library/Frameworks/GDAL.framework/Programs is a symbolic link for the version used)

    enter image description here

enter image description here

The programs of the KyngChaos distribution use the libraries present in the Framework folder (/Library/Frameworks/GDAL.framework)and not those present in /usr/local/lib/GDAL(for Homebrew).

To verify the correct paths, type in the Console:

otool -L ogr2ogr

If the result is:

ogr2ogr:
/Library/Frameworks/GDAL.framework/Versions/1.10/GDAL (compatibility version ...)

You are using the GDAL libraries of KyngChaos

If the result is

ogr2ogr:
/usr/local/lib/GDAL (compatibility version ...)
    ....

You are still using the Homebrew libraries even if if you type export PATH=/Library/Frameworks/GDAL.framework/Programs:$PATH

So you must adapt your paths, look at Building GDAL 1.9.x with ESRI FileGDB support on OS X Lion for example.

You have a problem with your PATHS:

  1. with Homebrew, GDAL is installed in /usr/local/Cellar with symbolic links of the programs (ogr2ogr, etc.) in /usr/local/bin
  2. with the Frameworks of KyngChaos, the versions of GDAL are installed in /Library/Frameworks/GDAL.framework/Versions/1.x/GDAL with the programs in /Library/Frameworks/GDAL.framework/Versions/1.x/Programs (/Library/Frameworks/GDAL.framework/Programs is a symbolic link for the version used)

enter image description here

The programs of the KyngChaos distribution use the libraries present in the Framework folder (/Library/Frameworks/GDAL.framework)and not those present in /usr/local/lib/GDAL(for Homebrew).

To verify the correct paths, type in the Console:

otool -L ogr2ogr

If the result is:

ogr2ogr:
/Library/Frameworks/GDAL.framework/Versions/1.10/GDAL (compatibility version ...)

You are using the GDAL libraries of KyngChaos

If the result is

ogr2ogr:
/usr/local/lib/GDAL (compatibility version ...)
    ....

You are still using the Homebrew libraries even if if you type export PATH=/Library/Frameworks/GDAL.framework/Programs:$PATH

So you must adapt your paths, look at Building GDAL 1.9.x with ESRI FileGDB support on OS X Lion for example.

You have a problem with your PATHS:

  1. with Homebrew, GDAL is installed in /usr/local/Cellar with symbolic links of the programs (ogr2ogr, etc.) in /usr/local/bin

  2. with the Frameworks of KyngChaos, the versions of GDAL are installed in /Library/Frameworks/GDAL.framework/Versions/1.x/GDAL with the programs in /Library/Frameworks/GDAL.framework/Versions/1.x/Programs (/Library/Frameworks/GDAL.framework/Programs is a symbolic link for the version used)

    enter image description here

The programs of the KyngChaos distribution use the libraries present in the Framework folder (/Library/Frameworks/GDAL.framework)and not those present in /usr/local/lib/GDAL(for Homebrew).

To verify the correct paths, type in the Console:

otool -L ogr2ogr

If the result is:

ogr2ogr:
/Library/Frameworks/GDAL.framework/Versions/1.10/GDAL (compatibility version ...)

You are using the GDAL libraries of KyngChaos

If the result is

ogr2ogr:
/usr/local/lib/GDAL (compatibility version ...)
    ....

You are still using the Homebrew libraries even if if you type export PATH=/Library/Frameworks/GDAL.framework/Programs:$PATH

So you must adapt your paths, look at Building GDAL 1.9.x with ESRI FileGDB support on OS X Lion for example.

added 45 characters in body
Source Link
gene
  • 55.4k
  • 3
  • 113
  • 191

You have a problem with your PATHS:

  1. first, you install GDAL fromwith Homebrew, GDAL is installed in /usr/local/Cellar with symbolic links of the programs (ogr2ogr, etc.) in /usr/local/bin
  2. After, you installwith the GDAL FrameworkFrameworks of KyngChaos, the versions of GDAL are installed in /Library/Frameworks/GDAL.framework/Versions/1.10x/GDAL with the programs in /Library/Frameworks/GDAL.framework/Versions/1.10x/Programs (/Library/Frameworks/GDAL.framework/Programs is a symbolic link for the version used)

enter image description here

The programs of the KyngChaos distribution use the libraries present in the Framework folder (/Library/Frameworks/GDAL.framework)and not those present in /usr/local/lib/GDAL(fromfor Homebrew).

To verify the correct paths, type in the Console:

otool -L ogr2ogr

If the result is:

ogr2ogr:
/Library/Frameworks/GDAL.framework/Versions/1.10/GDAL (compatibility version ...)

You are using the GDAL libraries of KyngChaos

If the result is

ogr2ogr:
/usr/local/lib/GDAL (compatibility version ...)
    ....

You are still using the Homebrew libraries even if if you type export PATH=/Library/Frameworks/GDAL.framework/Programs:$PATH

So you must adapt your paths, look at Building GDAL 1.9.x with ESRI FileGDB support on OS X Lion for example.

You have a problem with your PATHS:

  1. first, you install GDAL from Homebrew in /usr/local/Cellar with symbolic links of the programs (ogr2ogr, etc.) in /usr/local/bin
  2. After, you install the GDAL Framework of KyngChaos in /Library/Frameworks/GDAL.framework/Versions/1.10/GDAL with the programs in /Library/Frameworks/GDAL.framework/Versions/1.10/Programs (/Library/Frameworks/GDAL.framework/Programs is a symbolic link)

enter image description here

The programs of the KyngChaos distribution use the libraries present in the Framework folder (/Library/Frameworks/GDAL.framework)and not those present in /usr/local/lib/GDAL(from Homebrew).

To verify the correct paths, type in the Console:

otool -L ogr2ogr

If the result is:

ogr2ogr:
/Library/Frameworks/GDAL.framework/Versions/1.10/GDAL (compatibility version ...)

You are using the GDAL libraries of KyngChaos

If the result is

ogr2ogr:
/usr/local/lib/GDAL (compatibility version ...)
    ....

You are still using the Homebrew libraries even if if you type export PATH=/Library/Frameworks/GDAL.framework/Programs:$PATH

So you must adapt your paths, look at Building GDAL 1.9.x with ESRI FileGDB support on OS X Lion

You have a problem with your PATHS:

  1. with Homebrew, GDAL is installed in /usr/local/Cellar with symbolic links of the programs (ogr2ogr, etc.) in /usr/local/bin
  2. with the Frameworks of KyngChaos, the versions of GDAL are installed in /Library/Frameworks/GDAL.framework/Versions/1.x/GDAL with the programs in /Library/Frameworks/GDAL.framework/Versions/1.x/Programs (/Library/Frameworks/GDAL.framework/Programs is a symbolic link for the version used)

enter image description here

The programs of the KyngChaos distribution use the libraries present in the Framework folder (/Library/Frameworks/GDAL.framework)and not those present in /usr/local/lib/GDAL(for Homebrew).

To verify the correct paths, type in the Console:

otool -L ogr2ogr

If the result is:

ogr2ogr:
/Library/Frameworks/GDAL.framework/Versions/1.10/GDAL (compatibility version ...)

You are using the GDAL libraries of KyngChaos

If the result is

ogr2ogr:
/usr/local/lib/GDAL (compatibility version ...)
    ....

You are still using the Homebrew libraries even if if you type export PATH=/Library/Frameworks/GDAL.framework/Programs:$PATH

So you must adapt your paths, look at Building GDAL 1.9.x with ESRI FileGDB support on OS X Lion for example.

Source Link
gene
  • 55.4k
  • 3
  • 113
  • 191

You have a problem with your PATHS:

  1. first, you install GDAL from Homebrew in /usr/local/Cellar with symbolic links of the programs (ogr2ogr, etc.) in /usr/local/bin
  2. After, you install the GDAL Framework of KyngChaos in /Library/Frameworks/GDAL.framework/Versions/1.10/GDAL with the programs in /Library/Frameworks/GDAL.framework/Versions/1.10/Programs (/Library/Frameworks/GDAL.framework/Programs is a symbolic link)

enter image description here

The programs of the KyngChaos distribution use the libraries present in the Framework folder (/Library/Frameworks/GDAL.framework)and not those present in /usr/local/lib/GDAL(from Homebrew).

To verify the correct paths, type in the Console:

otool -L ogr2ogr

If the result is:

ogr2ogr:
/Library/Frameworks/GDAL.framework/Versions/1.10/GDAL (compatibility version ...)

You are using the GDAL libraries of KyngChaos

If the result is

ogr2ogr:
/usr/local/lib/GDAL (compatibility version ...)
    ....

You are still using the Homebrew libraries even if if you type export PATH=/Library/Frameworks/GDAL.framework/Programs:$PATH

So you must adapt your paths, look at Building GDAL 1.9.x with ESRI FileGDB support on OS X Lion