cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: libcurl with ssl on HP-11- THE END

From: Shaer, Ofira <Oshaer_at_ndsisrael.com>
Date: Wed, 14 Aug 2002 13:29:37 +0300

-----Original Message-----
From: Shaer, Ofira
Sent: Wednesday, August 14, 2002 1:29 PM
To: 'curl-library_at_lists.sourceforge.ne'
Subject: RE: libcurl with ssl on HP-11- THE END

Shalom.

well , the problem is solved , I am a free person again. Apparently, all I
had to do is to switch order, and instead of:

cc -I/users/oshaer/curlssl/include -I/users/oshaer/openssl/include
-L/users/oshaer/curlssl/lib -lcurl -L/users/oshaer/openssl/lib -lssl
-lcrypto -o ftpget ftpget.c
        
---------------------
write:

cc -o ftpget ftpget.c -I/users/oshaer/curlssl/include
-I/users/oshaer/openssl/include -L/users/oshaer/curlssl/lib -lcurl
-L/users/oshaer/openssl/lib -lssl -lcrypto
      ---------------------

can anyone please change the README file and the Makefile.example at
docs/examples to show the right format, so that others don't waste their
time?

thanx
Ofira.

-----Original Message-----
From: Shaer, Ofira
Sent: Wednesday, August 14, 2002 12:23 PM
To: 'curl-library_at_lists.sourceforge.net'
Subject: RE: libcurl with ssl on HP-11 - NEW INSIGHT.

ok, there it goes.
apparently the example linked against the shared library of curl (.sl files)
, which , from some reason was not created in the curl+ssl version (I did
not pay much attention to that , since I thought that static libs are taken
by default ).
when I force the example to link against the static library - by moving
shared libs to another directory, both curl and curl+ssl versions give the
same result - Unsatisfied symbols.

It seems that the static libs are bad, while shared libs are good.

If anyone has any suggestion in light of the new insight , I will be more
than happy to accept it.

Thanx
Ofira.

-----Original Message-----
From: Shaer, Ofira
Sent: Wednesday, August 14, 2002 10:46 AM
To: 'curl-library_at_lists.sourceforge.net'
Subject: RE: libcurl with ssl on HP-11

Thanx for the help, Chris. I hate to say that the result is still the same.
I have also examined the libcurl.a through nm , and the definitions of the
functions are the same as in the version without ssl,
So I am quite desperate...

Ofira.

:) Have a good day.
 Ofira Shaer
 ext. 4518

 -----Original Message-----
From: Combes, Chris M. [mailto:ccombes_at_northropgrumman.com]
Sent: Tuesday, August 13, 2002 5:40 PM
To: Shaer, Ofira
Cc: 'curl-library_at_lists.sourceforge.net'
Subject: Re: libcurl with ssl on HP-11

I can send the generic portions.
Perhaps the configure flags used below might help.
-Chris

export CC := cc
export CFLAGS := $(CFLAGS) -Wl,+n \
 -I$(PROJECT)/<path>/openssl-0.9.6/include \
 -L$(PROJECT)/<path>/openssl-0.9.6/

Configure using:
--with-ssl="$${PROJECT}/<path>/openssl-0.9.6"
--with-ldflags="-Wl,+s,+b,/h/EC/libs -L$${PROJECT}/<path>/openssl-0.9.6"

/h/EC/libs points to a project library directory,
that you may have to change to match yours.

"Shaer, Ofira" wrote:
>
> Can you send me a sample of that Makefile please? I have tried to set
CFLAGS
> and nothing was changed. Maybe I am not doing that correctly...
>
> :) Have a good day.
> Ofira Shaer
> ext. 4518

-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
Received on 2002-08-14