[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> I have been unable to install the perl module UDUNITS as part of my
> udunits-1.12.4 installation on my Mac OS X 10.5.2 (Leopard). I used 64-bit
> memory (gcc -arch x86_64) and I received a
> "no suitable image found" even though I verified that UDUNITS.bundle was a
> "Mach-O 64-bit bundle x86_6." I have had this problem before and been able
> to fix it by using CPANPLUS for the installation. Is it possible for you
> to post the UDUNITS perl module on CPAN or in a separate *.tar.gz file so
> that I can try this approach?
> Debra Baker
> University of Maryland
> making `test' in directory /phd/analysis/udunits-1.12.4/src/perl
> cp UDUNITS.pm blib/lib/UDUNITS.pm
> AutoSplitting blib/lib/UDUNITS.pm (blib/lib/auto/UDUNITS)
> PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
> Can't load 'blib/arch/auto/UDUNITS/UDUNITS.bundle' for module UDUNITS:
> dlopen(blib/arch/auto/UDUNITS/UDUNITS.bundle, 2): no suitable image found.
> Did find:
> blib/arch/auto/UDUNITS/UDUNITS.bundle: mach-o, but wrong architecture at
> /System/Library/Perl/5.8.8/darwin-thread-multi-2level/DynaLoader.pm line
> 230.
> at test.pl line 4
> Compilation failed in require at test.pl line 4.
> BEGIN failed--compilation aborted at test.pl line 4.
> make[2]: *** [test_dynamic] Error 2
> make[1]: *** [perl/test] Error 1
> make: *** [perl_test] Error 2
> Compilation exited abnormally with code 2 at Wed May 21 15:29:18
> debra-bakers-mac-pro:analysis/udunits-1.12.4/src] debrabaker% file
> /phd/analysis/udunits-1.12.4/src/perl/blib/arch/auto/UDUNITS/UDUNITS.bundle
> /phd/analysis/udunits-1.12.4/src/perl/blib/arch/auto/UDUNITS/UDUNITS.bundle:
> Mach-O 64-bit bundle x86_64

I suspect that your perl(1) installation isn't compatible with
the UDUNITS installation (e.g., the perl(1) utility is 32-bit
instead of 64).  What is the output from the commands "file 
`command -v perl`" and "perl -V"?

Steve Emmerson

Ticket Details
Ticket ID: HCI-549948
Department: Support UDUNITS
Priority: Normal
Status: On Hold

NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.