error compiling build.bash

Discussion on computers, ROMS installation and compiling

Moderators: arango, robertson

Post Reply
Message
Author
asujrpv

error compiling build.bash

#1 Unread post by asujrpv »

I am a new user and installed netcdf and ran build.bash. I got the following error and I would appreciate any help you can give me.
thanks

/home/rpacheco/netcdf-4.1.1/lib/libnetcdf.a(liboc_la-curlfunctions.o):/home/rpacheco/netcdf-4.1.1/libncdap3/oc/curlfunctions.c:53: more undefined references to `curl_easy_setopt' follow
collect2: ld returned 1 exit status
make: *** [/home/rpacheco/PROJECTS/UPWELLING/oceanG] Error 1

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: error compiling build.bash

#2 Unread post by kate »

Do you have USE_NETCDF4=on? This should turn on the USE_DAP flag, which in turn tries to link to -lcurl. Is -lcurl in the link statement?

asujrpv

Re: error compiling build.bash

#3 Unread post by asujrpv »

Thank you for your comment, it worked now and I can compile.

Thank you very much indeed.
Rafael

Post Reply