[netcdfgroup] problem building 4.1.3 with PGI

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... no

I'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


  • 2012 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: