cURL / Mailing Lists / curl-library / Single Mail


linking errors on hpux

From: Jonathan Bourgeois <>
Date: Wed, 4 Feb 2004 10:51:04 -0500

Hi all,

I just built curl on my hpux box. When I run curl "" it works as it should. However, when I attempt to use libcurl in a simple c program I get the following:

/usr/ccs/bin/ld: Unsatisfied symbols:
   curl_easy_setopt (code)
   curl_easy_cleanup (code)
   curl_easy_perform (code)
   curl_easy_init (code)
collect2: ld returned 1 exit status

Here is the command I'm using to compile:

gcc -I/home/test33/curl/include -L/home/test33/curl/lib -lcurl simple_test.c

My SHLIB_PATH variable is: /home/test33/curl/lib

uname -a: HP-UX hpl03 B.11.11 U 9000/800 1161434617 unlimited-user license

curl version: curl 7.11.1-20040125 (hppa2.0w-hp-hpux11.11) libcurl/7.11.1-20040125
Protocols: ftp gopher telnet dict ldap http file

ls of $HOME/curl/lib:
libcurl libcurl.2 libcurl.2.2 libcurl.a

I've built this same code on linux and solaris successfully. Anyone have any ideas what I'm missing?

Thanks for the help.


The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
Received on 2004-02-04