- To: <netcdfgroup@xxxxxxxxxxxxxxxx>
- Subject: [netcdfgroup] problem building 4.1.3 with PGI
- From: Mark Tucker <mht06220@xxxxxxxxxxx>
- Date: Fri, 13 Apr 2012 10:55:22 -0400
I've been trying to build netcdf 4.1.3 on Ubuntu Linux (10.04 32bit)
using the PGI compiler suite. For some reason it never builds the
shared libraries.
I used the following environment for the build: export CC=pgcc export CFLAGS="-O2" export FC=pgf90 export LD=pgf90 export F90=pgf90 export FFLAGS="-O2 -Msignextend" export CXX=pgcpp export CPPFLAGS="-DpgiFortran" ./configure --enable-shared --prefix=/opt/netcdf Output from configure: checking whether the pgcc linker (pgf90) supports shared libraries... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... unsupported checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... no checking whether to build shared libraries... noI've tried this with the 2012 release along with 2011 and 2010 with the same results. Is there a known issue or workaround for this?
-- Mark Tucker Systems Administrator Dept. of Atmospheric Sciences Lyndon State College http://meteorology.lyndonstate.edu mark.tucker@xxxxxxxxxxxxxxx (802)-626-6328