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

Mary Haley haley at ucar.edu
Fri Sep 24 13:57:06 MDT 2010


Hi,

I haven't seen an error like this, but I googled it, and the indication is that you may
be trying to link against "old" libraries, or in other words, libraries that were compiled
on a different type of system.

How exactly did you install NCARG (from a precompiled binary or from source code),
and what does "uname -a" report on your machine? If you installed from a precompiled
binary, which file did you download?

--Mary

On Sep 24, 2010, at 12:07 PM, Nancy Y. Kiang wrote:

> 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
> 
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install



More information about the ncl-install mailing list