[ncl-install] dyld: unknown required load command 0x80000022

Nancy Y. Kiang nkiang at giss.nasa.gov
Fri Sep 24 12:07:05 MDT 2010


Hi, I'm trying to compile something with ncargf77, and I am getting:

$ make
ncargf77 nmaps.o blocks.o mapeod.o nounder.o stops.o box.o fixUV.o 
lin_int.o ljust.o line_ends.o circle.o cpcldm.o cpcldr.o gridal.o 
getall.o layout.o bartag_no_lead0.o ndex.o fill.o regions.o fixX.o 
readx.o maxminsub.o kstring.o gmeansub.o hdfsubs_dummy.o WonderLand.o 
layout_w.o igrid2.o fill_blocks.o vvudmv.o vectors.o mdpio.o sfill.o 
nmaps_cdf_dummy.o readx_cubed.o getall_cubed.o layout_cubed.o -64 
-static -ncarbd  -o nmaps
gfortran -fPIC -fno-range-check -O nmaps.o blocks.o mapeod.o 
nounder.o stops.o box.o fixUV.o lin_int.o ljust.o line_ends.o 
circle.o cpcldm.o cpcldr.o gridal.o getall.o layout.o 
bartag_no_lead0.o ndex.o fill.o regions.o fixX.o readx.o maxminsub.o 
kstring.o gmeansub.o hdfsubs_dummy.o WonderLand.o layout_w.o igrid2.o 
fill_blocks.o vvudmv.o vectors.o mdpio.o sfill.o nmaps_cdf_dummy.o 
readx_cubed.o getall_cubed.o layout_cubed.o -64 -static -o nmaps 
-L/sw/lib -L/usr/X11R6/lib /sw/lib/ncarg/robj/libncarbd.o -lncarg 
-lncarg_gks -lncarg_c -lXpm -lX11 -lXext
dyld: unknown required load command 0x80000022
Trace/BPT trap
make: *** [nmaps] Error 133


I am on a Mac Powerbook 10.5.8 Intel, and I just did a fresh install of ncarg.

Here's my Makefile:

# Fortran compiler definitions
FFLAGS = -64 -static -g
FORT = ncargf77

# Linker definitions
LD = ncargf77
LFLAGS = -64 -static -ncarbd
# LIBS = -lnetcdf -L/usr/local/netcdf-3.6.2/libsrc/.libs


# General rule for building objects from Fortran sources
.f.o:
         $(FORT) $(FFLAGS) -c $*.f

OBJECTS = \
         nmaps.o blocks.o mapeod.o nounder.o stops.o box.o fixUV.o \
         lin_int.o ljust.o line_ends.o circle.o cpcldm.o cpcldr.o \
         gridal.o getall.o layout.o bartag_no_lead0.o ndex.o fill.o regions.o \
         fixX.o readx.o maxminsub.o kstring.o gmeansub.o hdfsubs_dummy.o \
         WonderLand.o layout_w.o igrid2.o fill_blocks.o vvudmv.o \
         vectors.o mdpio.o sfill.o nmaps_cdf_dummy.o \
         readx_cubed.o getall_cubed.o layout_cubed.o

# Make nmaps from several object files and libraries
nmaps: $(OBJECTS)
         $(LD) $(OBJECTS) $(LFLAGS) $(LIBS) -o $@


Thanks for any advice,
Nancy Kiang
-- 
-----------------
Dr. Nancy Y. Kiang
NASA Goddard Institute for Space Studies
2880 Broadway, New York, NY  10025
Cell: (949) 439-3416
Tel: (212) 678-5587
Fax: (212) 678-5552
Email: nkiang at giss.nasa.gov
Skype: nancy_kiang
http://www.giss.nasa.gov
http://vpl.astro.washington.edu



More information about the ncl-install mailing list