[Qgis-user] libnetcdf.so.4 error while installing qgis 1.6.0

Chethan S chethanuniversal at gmail.com
Mon Mar 7 16:56:06 PST 2011


Greetings!

I am trying to install Quantum GIS 1.6.0 from source on Ubuntu 10.10 64-bit
OS. I have GRASS GIS 6.4.1svn installed on the machine. When I run 'make' I
get the following error:

[ 34%] Built target qgis_analysis
Linking CXX executable qgis
/usr/bin/ld: warning: libnetcdf.so.4, needed by /usr/local/lib/libgdal.so,
not found (try using -rpath or -rpath-link)
/usr/local/lib/libgdal.so: undefined reference to `nc_inq_vartype'
/usr/local/lib/libgdal.so: undefined reference to `nc_put_att_double'
/usr/local/lib/libgdal.so: undefined reference to `nc_strerror'
/usr/local/lib/libgdal.so: undefined reference to `nc_get_vara_uchar'
.
.
.
.
/usr/local/lib/libgdal.so: undefined reference to `nc_inq_varname'
/usr/local/lib/libgdal.so: undefined reference to `nc_open'
collect2: ld returned 1 exit status
make[2]: *** [src/app/qgis] Error 1
make[1]: *** [src/app/CMakeFiles/qgis.dir/all] Error 2
make: *** [all] Error 2

I am not able to solve it. Tried installing libnetcdf-dev and libnetcdf6
packages but it was of no help!

Thanks and regards,

Chethan S.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20110308/dca2483b/attachment.html>


More information about the Qgis-user mailing list