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

[netCDF #KNE-343882]: Error of building the netcdf at make step



Hello,

Looking at your make log file, I see the following:

lib -L/usr/local/openssl/1.0.2-1/usr/lib ../liblib/.libs/libnetcdf.a 
-L/usr/local/zlib/1.2.8-4/lib -lm /usr/local/curl/7.41.0-1/lib/libcurl.so -lssl 
-lcrypto -lz -lrt -Wl,-rpath -Wl,/usr/local/curl/7.41.0-1/lib -Wl,-rpath 
-Wl,/usr/local/curl/7.41.0-1/lib
/usr/local/curl/7.41.0-1/lib/libcurl.so: error: undefined reference to 
'pthread_join'
/usr/local/curl/7.41.0-1/lib/libcurl.so: error: undefined reference to 
'pthread_detach'
/usr/local/curl/7.41.0-1/lib/libcurl.so: error: undefined reference to 
'pthread_create'
collect2: error: ld returned 1 exit status

This suggests that you may need to specify that you need to link against the 
pthread library.  Try specifying LIBS=-lpthread when configuring/compiling 
(either on the command line, or through environmental variables) and let us 
know if the behavior changes.

Thanks!

-Ward

> Full Name: Artur Gevorgyan
> Email Address: address@hidden
> Organization: Hydrometservice of Armenia
> Package Version: 4.1.3
> Operating System:
> Hardware:
> Description of problem: Dear Colleges,
> 
> I am trying to compile the netcdf 4.1.3 library on a cluster. The compilation 
> stops at make stage. I am attaching the files which can be usefull for 
> understanding the reason of failure.
> 
> Best regards,
> Artur
> 
> 
> 


Ticket Details
===================
Ticket ID: KNE-343882
Department: Support netCDF
Priority: Normal
Status: Closed
===================
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.