[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #QKX-766212]: Failure in tst_iter.sh make-check



If you remove this line from tst_iter.sh
> 13    if test "x$CC" = "x" ; then CC="gcc"; fi
does it work?


> Full Name: Carl Glen Ponder, Ph.D.
> Email Address: address@hidden
> Organization: NVIDIA
> Package Version: 4.6.1 (C)
> Operating System: Ubbntu 16.04
> Hardware: x86_64
> Description of problem:
> 
> I'm building NetCDF-C 4.6.1 using the PGI compiler, and the "tst_iter.sh"
> is failing with this message:
> 
> ld: cannot find -lrt
> ld: cannot find -ldl
> ld: cannot find -lpthread
> 
> The happens with both OpenMPI & MVAPICH2. It doesn't happen with either
> the GCC or Intel compiler. I also haven't see this failure on CentOS.
> 
> One Ubuntu, the libraries are located in a (arguably) non-standard location:
> 
> /usr/lib/x86_64-linux-gnu/librt.so
> /usr/lib/x86_64-linux-gnu/libdl.so
> /usr/lib/x86_64-linux-gnu/libpthread.so
> 
> I have the "/usr/lib/x86_64-linux-gnu" on the LD_LIBRARY_PATH and
> "-L/usr/lib/x86_64-linux-gnu" on the LDFLAGS, but it looks like these
> are not propagated down to the test script environment.
> 
> The "tst_iter.sh" is unique in having this line
> 
> 13    if test "x$CC" = "x" ; then CC="gcc"; fi
> 
> I'm guessing that the LD_LIBRARY_PATH isn't being passed down here. I
> saw one old posting
> 
> https://www.unidata.ucar.edu/mailing_lists/archives/netcdfgroup/2012/msg00336.html
> 
> that looks like it raised the same issue. I can work on this a little
> if you want help troubleshooting it.
> 
> 

=Dennis Heimbigner
  Unidata


Ticket Details
===================
Ticket ID: QKX-766212
Department: Support netCDF
Priority: Normal
Status: Open
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.