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

20010314: Installation of NetCDF-perl-1.2.1

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: 20010314: Installation of NetCDF-perl-1.2.1
  • Date: Wed, 14 Mar 2001 09:04:43 -0700

Alford,

>Date: Wed, 14 Mar 2001 09:26:24 -0600
>From: "Alford, Glennette R" <address@hidden>
>Organization: US/Navy
>To: "'Steve Emmerson'" <address@hidden>
>Subject: RE: 20010313: Installation of NetCDF-perl-1.2.1 
>Keywords: 200103131940.f2DJeZL13393

The above message contained the following:

> blib/arch/auto/NetCDF/NetCDF.so:=0A=
> =0A=
> [Index]   Value      Size    Type  Bind  Other Shndx   Name=0A=
> =0A=
> [360] |         0|       0|FUNC |GLOB |0    |UNDEF  |.umul=0A=
> [455] |         0|       0|NOTY |GLOB |0    |UNDEF  =
> |PL_markstack_ptr=0A=
> [399] |         0|       0|NOTY |GLOB |0    |UNDEF  |PL_na=0A=
> [422] |         0|       0|NOTY |GLOB |0    |UNDEF  |PL_stack_base=0A=
> [375] |         0|       0|NOTY |GLOB |0    |UNDEF  |PL_stack_max=0A=
> [416] |         0|       0|NOTY |GLOB |0    |UNDEF  |PL_stack_sp=0A=
> [461] |         0|       0|NOTY |GLOB |0    |UNDEF  |PL_sv_yes=0A=
> [389] |         0|       0|NOTY |GLOB |0    |UNDEF  |Perl_av_clear=0A=
> [371] |         0|       0|NOTY |GLOB |0    |UNDEF  |Perl_av_fetch=0A=
> [402] |         0|       0|NOTY |GLOB |0    |UNDEF  |Perl_av_len=0A=
> [434] |         0|       0|NOTY |GLOB |0    |UNDEF  |Perl_av_pop=0A=
> [403] |         0|       0|NOTY |GLOB |0    |UNDEF  |Perl_av_push=0A=
> [358] |         0|       0|NOTY |GLOB |0    |UNDEF  |Perl_av_undef=0A=
> [450] |         0|       0|NOTY |GLOB |0    |UNDEF  |Perl_croak=0A=
> [459] |         0|       0|NOTY |GLOB |0    |UNDEF  |Perl_form=0A=
> [327] |         0|       0|NOTY |GLOB |0    |UNDEF  |Perl_newAV=0A=
> [352] |         0|       0|NOTY |GLOB |0    |UNDEF  |Perl_newRV=0A=
> [431] |         0|       0|NOTY |GLOB |0    |UNDEF  |Perl_newSViv=0A=
> [423] |         0|       0|NOTY |GLOB |0    |UNDEF  |Perl_newSVnv=0A=
> [417] |         0|       0|NOTY |GLOB |0    |UNDEF  |Perl_newSVpv=0A=
> [330] |         0|       0|NOTY |GLOB |0    |UNDEF  |Perl_newXS=0A=
> [409] |         0|       0|NOTY |GLOB |0    |UNDEF  |Perl_stack_grow=0A=
> [376] |         0|       0|NOTY |GLOB |0    |UNDEF  |Perl_sv_2iv=0A=
> [334] |         0|       0|NOTY |GLOB |0    |UNDEF  |Perl_sv_2mortal=0A=
> [386] |         0|       0|NOTY |GLOB |0    |UNDEF  |Perl_sv_2nv=0A=
> [460] |         0|       0|NOTY |GLOB |0    |UNDEF  |Perl_sv_2pv=0A=
> [372] |         0|       0|NOTY |GLOB |0    |UNDEF  =
> |Perl_sv_newmortal=0A=
> [393] |         0|       0|NOTY |GLOB |0    |UNDEF  |Perl_sv_setiv=0A=
> [379] |         0|       0|NOTY |GLOB |0    |UNDEF  |Perl_sv_setnv=0A=
> [373] |         0|       0|NOTY |GLOB |0    |UNDEF  |Perl_sv_setpv=0A=
> [442] |         0|       0|NOTY |GLOB |0    |UNDEF  |Perl_sv_setpvn=0A=
> [366] |         0|       0|NOTY |GLOB |0    |UNDEF  |Perl_sv_setsv=0A=
> [362] |         0|       0|NOTY |GLOB |0    |UNDEF  |Perl_warn=0A=
> [355] |     25660|     280|FUNC |GLOB |0    |9      |XS_NetCDF_abort=0A=
> [452] |     35204|     700|FUNC |GLOB |0    |9      =
> |XS_NetCDF_attcopy=0A=
> [364] |     37096|     508|FUNC |GLOB |0    |9      =
> |XS_NetCDF_attdel=0A=
> [345] |     34544|     660|FUNC |GLOB |0    |9      =
> |XS_NetCDF_attget=0A=
> [436] |     33912|     632|FUNC |GLOB |0    |9      =
> |XS_NetCDF_attinq=0A=
> [458] |     35904|     556|FUNC |GLOB |0    |9      =
> |XS_NetCDF_attname=0A=
> [419] |     32760|    1152|FUNC |GLOB |0    |9      =
> |XS_NetCDF_attput=0A=
> [405] |     36460|     636|FUNC |GLOB |0    |9      =
> |XS_NetCDF_attrename=0A=
> [333] |     24600|     280|FUNC |GLOB |0    |9      |XS_NetCDF_close=0A=
> [380] |     22788|     428|FUNC |GLOB |0    |9      =
> |XS_NetCDF_constant=0A=
> [370] |     23216|     412|FUNC |GLOB |0    |9      =
> |XS_NetCDF_create=0A=
> [384] |     26320|     508|FUNC |GLOB |0    |9      =
> |XS_NetCDF_dimdef=0A=
> [404] |     26828|     412|FUNC |GLOB |0    |9      |XS_NetCDF_dimid=0A=
> [449] |     27240|     508|FUNC |GLOB |0    |9      =
> |XS_NetCDF_diminq=0A=
> [369] |     27748|     508|FUNC |GLOB |0    |9      =
> |XS_NetCDF_dimrename=0A=
> [385] |     24320|     280|FUNC |GLOB |0    |9      |XS_NetCDF_endef=0A=
> [353] |     39652|     208|FUNC |GLOB |0    |9      |XS_NetCDF_err=0A=
> [400] |     39860|     476|FUNC |GLOB |0    |9      |XS_NetCDF_foo=0A=
> [394] |     40336|     268|FUNC |GLOB |0    |9      |XS_NetCDF_foo2=0A=
> [395] |     40604|     240|FUNC |GLOB |0    |9      |XS_NetCDF_foo3=0A=
> [397] |     40844|     312|FUNC |GLOB |0    |9      |XS_NetCDF_foo4=0A=
> [398] |     41156|     324|FUNC |GLOB |0    |9      |XS_NetCDF_foo5=0A=
> [421] |     24880|     500|FUNC |GLOB |0    |9      =
> |XS_NetCDF_inquire=0A=
> [377] |     23628|     412|FUNC |GLOB |0    |9      |XS_NetCDF_open=0A=
> [346] |     39356|     296|FUNC |GLOB |0    |9      |XS_NetCDF_opts=0A=
> [448] |     38060|     468|FUNC |GLOB |0    |9      =
> |XS_NetCDF_recget=0A=
> [390] |     38528|     548|FUNC |GLOB |0    |9      =
> |XS_NetCDF_recinq=0A=
> [347] |     37604|     456|FUNC |GLOB |0    |9      =
> |XS_NetCDF_recput=0A=
> [429] |     24040|     280|FUNC |GLOB |0    |9      |XS_NetCDF_redef=0A=
> [454] |     25940|     380|FUNC |GLOB |0    |9      =
> |XS_NetCDF_setfill=0A=
> [363] |     25380|     280|FUNC |GLOB |0    |9      |XS_NetCDF_sync=0A=
> [337] |     39076|     280|FUNC |GLOB |0    |9      =
> |XS_NetCDF_typelen=0A=
> [349] |     28256|     588|FUNC |GLOB |0    |9      =
> |XS_NetCDF_vardef=0A=
> [324] |     31600|     652|FUNC |GLOB |0    |9      =
> |XS_NetCDF_varget=0A=
> [326] |     30460|     544|FUNC |GLOB |0    |9      =
> |XS_NetCDF_varget1=0A=
> [378] |     28844|     412|FUNC |GLOB |0    |9      |XS_NetCDF_varid=0A=
> [412] |     29256|     676|FUNC |GLOB |0    |9      =
> |XS_NetCDF_varinq=0A=
> [388] |     31004|     596|FUNC |GLOB |0    |9      =
> |XS_NetCDF_varput=0A=
> [365] |     29932|     528|FUNC |GLOB |0    |9      =
> |XS_NetCDF_varput1=0A=
> [441] |     32252|     508|FUNC |GLOB |0    |9      =
> |XS_NetCDF_varrename=0A=
> [381] |    116196|       0|OBJT |GLOB |0    |15     |_DYNAMIC=0A=
> [344] |    114032|       0|OBJT |GLOB |0    |13     =
> |_GLOBAL_OFFSET_TABLE_=0A=
> [433] |    115220|       0|OBJT |GLOB |0    |14     =
> |_PROCEDURE_LINKAGE_TABLE_=0A=
> [426] |         0|       0|NOTY |WEAK |0    |UNDEF  =
> |__deregister_frame_info=0A=
> [343] |         0|       0|FUNC |GLOB |0    |UNDEF  |__flsbuf=0A=
> [387] |         0|       0|OBJT |GLOB |0    |UNDEF  |__iob=0A=
> [342] |         0|       0|NOTY |WEAK |0    |UNDEF  =
> |__register_frame_info=0A=
> [432] |    116408|       0|OBJT |GLOB |0    |19     |_edata=0A=
> [338] |    116832|       0|OBJT |GLOB |0    |20     |_end=0A=
> [336] |         0|       0|OBJT |GLOB |0    |UNDEF  |_environ=0A=
> [439] |     48493|       0|OBJT |GLOB |0    |12     |_etext=0A=
> [406] |         0|       0|FUNC |GLOB |0    |UNDEF  |_exit=0A=
> [451] |     43580|      20|FUNC |GLOB |0    |11     |_fini=0A=
> [359] |     43552|      28|FUNC |GLOB |0    |10     |_init=0A=
> [440] |     43600|       4|OBJT |GLOB |0    |12     |_lib_version=0A=
> [325] |     12052|     116|FUNC |GLOB |0    |9      |_start=0A=
> [350] |         0|       0|FUNC |GLOB |0    |UNDEF  |atexit=0A=
> [401] |     41480|    1972|FUNC |GLOB |0    |9      |boot_NetCDF=0A=
> [413] |         0|       0|OBJT |GLOB |0    |UNDEF  |errno=0A=
> [351] |         0|       0|FUNC |GLOB |0    |UNDEF  |exit=0A=
> [456] |         0|       0|FUNC |GLOB |0    |UNDEF  |fprintf=0A=
> [361] |         0|       0|FUNC |GLOB |0    |UNDEF  |fputs=0A=
> [418] |         0|       0|FUNC |GLOB |0    |UNDEF  |free=0A=
> [444] |         0|       0|NOTY |GLOB |0    |UNDEF  |main=0A=
> [356] |         0|       0|FUNC |GLOB |0    |UNDEF  |malloc=0A=
> [446] |         0|       0|FUNC |GLOB |0    |UNDEF  |memcpy=0A=
> [348] |         0|       0|NOTY |GLOB |0    |UNDEF  |ncabort=0A=
> [340] |         0|       0|NOTY |GLOB |0    |UNDEF  |ncattcopy=0A=
> [383] |         0|       0|NOTY |GLOB |0    |UNDEF  |ncattdel=0A=
> [407] |         0|       0|NOTY |GLOB |0    |UNDEF  |ncattget=0A=
> [354] |         0|       0|NOTY |GLOB |0    |UNDEF  |ncattinq=0A=
> [438] |         0|       0|NOTY |GLOB |0    |UNDEF  |ncattname=0A=
> [341] |         0|       0|NOTY |GLOB |0    |UNDEF  |ncattput=0A=
> [435] |         0|       0|NOTY |GLOB |0    |UNDEF  |ncattrename=0A=
> [424] |         0|       0|NOTY |GLOB |0    |UNDEF  |ncclose=0A=
> [411] |         0|       0|NOTY |GLOB |0    |UNDEF  |nccreate=0A=
> [357] |         0|       0|NOTY |GLOB |0    |UNDEF  |ncdimdef=0A=
> [410] |         0|       0|NOTY |GLOB |0    |UNDEF  |ncdimid=0A=
> [329] |         0|       0|NOTY |GLOB |0    |UNDEF  |ncdiminq=0A=
> [453] |         0|       0|NOTY |GLOB |0    |UNDEF  |ncdimrename=0A=
> [415] |         0|       0|NOTY |GLOB |0    |UNDEF  |ncendef=0A=
> [331] |         0|       0|NOTY |GLOB |0    |UNDEF  |ncerr=0A=
> [391] |         0|       0|NOTY |GLOB |0    |UNDEF  |ncinquire=0A=
> [374] |         0|       0|NOTY |GLOB |0    |UNDEF  |ncopen=0A=
> [420] |         0|       0|NOTY |GLOB |0    |UNDEF  |ncopts=0A=
...

The last line above indicates that the "ncopt" symbol is not defined in
the shared library.  Recall that the inability to find this symbol is
the cause of your problem.

From the above, I see that NONE of the netCDF functions are contained in
the shared library.  This indicates a failure to build the shared library
correctly.

It is possible that the reason for this failure is that
the netCDF library itself (whose pathname, I presume, is
"/usr/local/lib/libnetcdf.a") doesn't contain position-independent code
(i.e. code compiled by gcc using the "-fPIC" option).  Is there some way
you could verify this?

Regards,
Steve Emmerson   <http://www.unidata.ucar.edu>