[Gdal-dev] gdal_merge.py on OSX

Frank Warmerdam fwarmerdam at gmail.com
Tue Apr 12 14:51:16 EDT 2005


On Apr 12, 2005 2:46 PM, Mike Logan <mlogan at mail.arc.nasa.gov> wrote:
> Hi, I am unable to run gdal_merge because its choking on
> 
>         import _gdal
> 
> which doesn't seem to exist?   This is CVS as of yesterday afternoon.
> gdal-1.2.1  doesn't seem to import this file.
> 
> Any clues for us clueless?
>
> BTW, as a side note,   the pymod/  module in general still doesn't
>   link in OSX, but I removed the -rpath from the GNUmakefile and
>   it built fine.    I was getting the undefined symbols before like
>    _PyArg_Parse, etc..

Mike,

I configure "--without-libtool" on MacOS X in order to get
the python stuff to work.  If you end up installing the GDAL
pymod stuff somewhere other than the default, you will
likely need to set your PYTHONPATH environment variable
appropriately.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the Gdal-dev mailing list