[ncl-install] ncl: error while loading shared libraries
Rodrigo Fernández
chaotiklv at gmail.com
Thu Jan 3 11:30:08 MST 2008
On Jan 2, 2008 8:27 PM, Rodrigo Fernández <chaotiklv at gmail.com> wrote:
> On Jan 2, 2008 7:37 PM, Mary Haley <haley at ucar.edu> wrote:
> > Hi again,
> >
> > Based on your output below, it looks like the libnc-dap library is
> > being found okay, but it's your libdap and libdapclient libraries that
> > are the problem. I'm not positive about what's going on, because it's
> > finding newer versions of libdap.so and libdapclient.so, and
> > then complaining about not finding older versions.
> >
> > Are you using a precompiled NCL binary? If so, it may be that the DAP
> > library versions are out of sync enough that you can't use the newer
> > libraries. If this case, you will need to build NCL from source and
> > link against your newer OPeNDAP libraries, or else install older
> > versions of the OPenDAP libraries. If you decide to go the "older
> > versions" route, I think the versions that will be safe are:
> >
> > libdap - V3.7.7
> > libnc-dap - V3.7.0
> >
> > If this doesn't work, we may need to wait for Rick to chime in here,
> > once he gets back.
>
> Well i can least try that. Thanks for everything!!
>
I already uninstalled/installed again everything with the correct
libraries, set the LD_LIBRARY_PATH, LD_RUN_PATH, and when i run:
$ldd $NCARG_ROOT/bin/ncl
linux-gate.so.1 => (0xffffe000)
libnc-dap.so.3 => /usr/local/lib/libnc-dap.so.3 (0xb7ecf000)
libdap.so.6 => /usr/local/lib/libdap.so.6 (0xb7e03000)
libdapclient.so.1 => /usr/local/lib/libdapclient.so.1 (0xb7dc7000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7db5000)
libidn.so.11 => /usr/lib/libidn.so.11 (0xb7d85000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7d81000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb7c95000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb7c86000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7c61000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7b7c000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7b71000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7a40000)
libssl.so.6 => /usr/lib/i686/cmov/libssl.so.6 (0xb7a01000)
libcrypto.so.6 => /usr/lib/i686/cmov/libcrypto.so.6 (0xb78c6000)
libcurl.so.4 => /usr/local/lib/libcurl.so.4 (0xb7894000)
libxml2.so.2 => /usr/local/lib/libxml2.so.2 (0xb7769000)
/lib/ld-linux.so.2 (0xb7f62000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb7766000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7761000)
libz.so.1 => /usr/lib/libz.so.1 (0xb774c000)
and then, I run ncl:
$ncl
Copyright (C) 1995-2007 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 5.0.0
The use of this software is governed by a License Agreement.
See http://www.ncl.ucar.edu/ for more details.
ncl 0>
it works!! :D thanks!! at least!! i had some problems with the
libssl.so.6 and libcrypto.so.6, the only ones that i found was the
libssl.so.0.9.8 and the libcrypto.so.0.9.8. I just:
$cp libssl.so.0.9.8 libssl.so.6
Its nasty but it worked :).
I just have a problem running the NCAR Graphics test:
$ncargex cpex08
NCAR Graphics Fortran Example <cpex08>
Copying cpex08.f
Copying cpexcc.f
Compiling and linking...
g77 -fPIC -fno-second-underscore -O -o cpex08 cpexcc.f cpex08.f
-L/usr/local/lib -lncarg -lncarg_gks -lncarg_c -lX11 -lXext
/usr/bin/ld: no se puede encontrar -lX11
collect2: ld devolvió el estado de salida 1
The compile and link failed.
Well, thats all! thanks for everything Mary :D!
--
Rodrigo G. Fernández Gaete < Linux User #444521>
Ingenieria Civil Informática
Universidad Técnica Federico Santa Maria
More information about the ncl-install
mailing list