[Wrf-users] error in running geogrid.exe

Dmitry N. Mikushin maemarcus at gmail.com
Mon Oct 8 11:23:57 MDT 2012


Dear Hosein,

Most likely you need to point dynamic linker to the folder where the missing library is located:

$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/where/netcdf/is

Also you can add .conf-file with path to /etc/ld.so.conf.d/ and activate it by running as admin:

$ ldconfig

----- Original message -----
> 
> 
> Dear all
> I have compiled WRF with intel compilers and using netcdf 4.1.3
> When i run geogrid.exe i get this error:
> 
> ./geogrid.exe: error while loading shared libraries: libnetcdff.so.5:
> cannot open shared object file: No such file or directory
> 
> and when i use "ldd geogrid.exe" command in terminal i get this:
> 
> " 
>     linux-vdso.so.1 =>  (0x00007fff657ff000)
>     libnetcdff.so.5 => not found
>     libnetcdf.so.7 => not found
>     libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f3a42b6c000)
>     libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
> (0x00007f3a4294f000)    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6
> (0x00007f3a42591000)    libgcc_s.so.1 =>
>   /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f3a4237b000)
>     libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f3a42177000)
>     /lib64/ld-linux-x86-64.so.2 (0x00007f3a42e79000) "
> 
> Any suggestion? 
> Thanks in advance
> 
> 



More information about the Wrf-users mailing list