problem building netcsdf_handler 3.7.4

Denis Nadeau denis.nadeau at gmail.com
Tue Feb 6 15:50:37 PST 2007


Hi,

You need to set your variable LD_LIBRARY_PATH to the location of your
library libbes_dap.so

export LD_LIBRARY_PATH=/PATH/TO/LIB.SO
or
setenv LD_LIBRARY_PATH "/PATH/TO/LIB.SO"

Denis

2007/2/6, Pan, Jerry Yun <pany at ornl.gov>:
>
>  Could anyone point me to the right direction?  I am a new comer and I am
> having trouble building netcdf_handler-3.7.4 on a RedHat Enterprise 4 box
,
> with the following error on make:
>
> "/usr/bin/ld: cannot find -lbes_dap
> collect2: ld returned 1 exit status"
>
> I have built netcdf-3.5.1 and have tried to use the
> --with-netcdf="PATH/TO/3.5.1/", and the result is the same.
>
> trace follows:
>
>
> ========================
=========================
=========================
=========================
====================
>
> Script started on Tue 06 Feb 2007 06:27:01 PM EST
>
>  [root at daac-ws01 netcdf_handler-3.7.4]# make
>
> make all-am
>
> make[1]: Entering directory `/home/yp9/dev/netcdf_handler-3.7.4'
>
> /bin/sh ./libtool --tag=CXX --mode=link g++ -g -O2 -o libnc_module.la
> -rpath /usr/local/lib/bes -avoid-version -module libnc_module_la-ncdas.lo
libnc_module_la-
> ncdds.lo libnc_module_la-NCArray.lo libnc_module_la-NCByte.lolibnc_module
_la-
> NCFloat64.lo libnc_module_la-NCGrid.lo libnc_module_la-NCUInt32.lolibnc_m
odule_la-
> NCInt32.lo libnc_module_la-NCSequence.lo libnc_module_la-NCStr.lolibnc_mo
dule_la-
> NCStructure.lo libnc_module_la-NCUrl.lo libnc_module_la-NCUInt16.lolibnc_
module_la-
> NCInt16.lo libnc_module_la-NCFloat32.lo libnc_module_la-NCTypeFactory.lol
ibnc_module_la-
> NCRequestHandler.lo libnc_module_la-NCModule.lo -L/usr/local/lib
> -lbes_dispatch -lbes_command -lbes_ppt -lbes_dap -ltermcap -ldl -lreadlin
e
> -L/usr/local/lib -ldap -ldapserver -L/usr/lib -lcurl -L/usr/kerberos/lib
> -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -l
z
> -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -L/usr/kerberos/lib -l
idn
> -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto
> -lresolv -ldl -lz -lz -L/usr/lib -lxml2 -lz -lpthread -lm -lpthread -lnet
cdf
>
> g++ -shared -nostdlib /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../crti.
o
> /usr/lib/gcc/i386-redhat-linux/3.4.6/crtbeginS.o .libs/libnc_module_la-
> ncdas.o .libs/libnc_module_la-ncdds.o .libs/libnc_module_la-NCArray.o.lib
s/libnc_module_la-
> NCByte.o .libs/libnc_module_la-NCFloat64.o .libs/libnc_module_la-NCGrid.o
.libs/libnc_module_la-
> NCUInt32.o .libs/libnc_module_la-NCInt32.o .libs/libnc_module_la-
> NCSequence.o .libs/libnc_module_la-NCStr.o .libs/libnc_module_la-
> NCStructure.o .libs/libnc_module_la-NCUrl.o .libs/libnc_module_la-
> NCUInt16.o .libs/libnc_module_la-NCInt16.o .libs/libnc_module_la-
> NCFloat32.o .libs/libnc_module_la-NCTypeFactory.o .libs/libnc_module_la-
> NCRequestHandler.o .libs/libnc_module_la-NCModule.o -Wl,--rpath
> -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib
> /usr/local/lib/libbes_dispatch.so /usr/local/lib/libbes_command.so
> /usr/local/lib/libbes_ppt.so -lbes_dap -ltermcap -lreadline
> /usr/local/lib/libdap.so -L/usr/lib -L/usr/kerberos/lib
> /usr/local/lib/libdapserver.so /usr/local/lib/libcurl.so /usr/lib/libidn.
so
> -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl
> /usr/lib/libxml2.so -lz -lpthread -lnetcdf
> -L/usr/lib/gcc/i386-redhat-linux/3.4.6
> -L/usr/lib/gcc/i386-redhat-linux/3.4.6/../../.. -lstdc++ -lm -lc -lgcc_s
> /usr/lib/gcc/i386-redhat-linux/3.4.6/crtendS.o
> /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../crtn.o -Wl,-soname
> -Wl,libnc_module.so -o .libs/libnc_module.so
>
> /usr/bin/ld: cannot find -lbes_dap
>
> collect2: ld returned 1 exit status
>
> make[1]: *** [libnc_module.la] Error 1
>
> make[1]: Leaving directory `/home/yp9/dev/netcdf_handler-3.7.4'
>
> make: *** [all] Error 2
>
> ]0;yp9 at daac-ws01:/home/yp9/dev/netcdf_handler-3.7.4 [root at daac-ws01net
cdf_handler-
> 3.7.4]#
>
> Script done on Tue 06 Feb 2007 06:27:24 PM EST
>


More information about the Opendap-tech mailing list