cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: linking errors on hpux

From: Shantonu Sen <ssen_at_apple.com>
Date: Wed, 4 Feb 2004 08:51:06 -0800

On Feb 4, 2004, at 7:51 AM, Jonathan Bourgeois wrote:
> gcc -I/home/test33/curl/include -L/home/test33/curl/lib -lcurl
> simple_test.c

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

Many non-GNU Unix linkers only access libraries in response to
unsatisfied symbols, in order of files on the link line. With your
version, at the time those symbols are referenced in simple_test.c,
there are no more libraries to be searched. In my version, libcurl is
available to satisfy the symbols.

You can also install GNU binutils, although I'm not sure how supported
that is no HP-UX

Shantonu

-------------------------------------------------------
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.
http://www.eclipsecon.org/osdn
Received on 2004-02-04