[GRASS-dev] python grass problems on OSX (Incompatible library version for module)

massimo wrote:

I removed the graas_trunk source code and re-download a new
one and rebuild it using these configure [1]

but the problem persists.

what's OSX's version of ldd called?
if you run that within the broken environment it will tell you which
libraries it is trying to use.

Hamish

Il giorno 11/mag/09, alle ore 08:21, Hamish ha scritto:

massimo wrote:

I removed the graas_trunk source code and re-download a new
one and rebuild it using these configure [1]

but the problem persists.

what's OSX's version of ldd called?
if you run that within the broken environment it will tell you which
libraries it is trying to use.

Hamish

Hamish, sorry i can't undstand well the question :frowning: ,

"what's OSX's version of ldd" << i don't know how to retrieve thise information, how can i have infos about a broken environment and which
libraries it is trying to use. ?

p.s..

I'm on osx 10.5.6,

firsto to run make i export the environment :

export CXXFLAGS="-arch ppc -arch i386 -Os" ; export CFLAGS="-arch ppc -arch i386 -Os" ; export LDFLAGS="-arch ppc -arch i386 -Os" ; export GDAL_BIN=/Library/Frameworks/gdal.framework/unix/bin/ ; export NAD2BIN=/Library/Frameworks/PROJ.framework/Programs/nad2bin

while these are my $PATH vars :

macbook-pro-15-di-sasha:~ sasha$ echo $PATH
/Library/Frameworks/GDAL.framework/Programs:/usr/local/pgsql/bin:/Library/Frameworks/FFTW3.framework/Programs:/Library/Frameworks/SQLite3.framework/Programs:/Library/Frameworks/PROJ.framework/Programs:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:/usr/local/git/bin
macbook-pro-15-di-sasha:~ sasha$

Massimo Di Stefano
massimodisasha@yahoo.it

epifanio on irc.freenode.net /join gfoss

Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com

On Mon, May 11, 2009 at 8:21 AM, Hamish <hamish_b@yahoo.com> wrote:

massimo wrote:

I removed the graas_trunk source code and re-download a new
one and rebuild it using these configure [1]

but the problem persists.

what's OSX's version of ldd called?
if you run that within the broken environment it will tell you which
libraries it is trying to use.

Debugging on Mac OS X

The 'ldd' command doesn't exist, but
  otool -L
does almost the same job.

Markus