Re: SSL and LIBWWW: compiling error in program

On Wed, Jan 31, 2001 at 01:20:00AM +0100, Sven Laaks wrote:
> I tried to compile a program with ssl support. (openssl 0.9.6 installed,
> libwww 5.3.2 installed)
> The real program is bigger, but I start with this little program to
> understand how it works.
> The code looks like that:
> 
> HTProfile_newClient(APP_NAME, APP_VERSION);
> HTSSLhttps_init(YES);
> HTSSLhttps_terminate();
> HTProfile_delete();
> 
> For compilation I use the 'libwww-config' - file.
> But the result is only the following error message:
> 
> /tmp/cciva0zL.o: In function `main':
> /tmp/cciva0zL.o(.text+0x21): undefined reference to `HTSSLhttps_init'
> /tmp/cciva0zL.o(.text+0x29): undefined reference to
> `HTSSLhttps_terminate'
> collect2: ld returned 1 exit status

It seems, that "libwwwssl.*" is not linked in when calling libwww-config.
Reason is that there is @LWWWSSL@ is not included in libwww-config.in.
(I have not checked, whether the library is handled by "make install".)

Best regards,
	Lutz
PS Crossposted to www-lib@w3.org
-- 
Lutz Jaenicke                             Lutz.Jaenicke@aet.TU-Cottbus.DE
BTU Cottbus               http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik                  Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus              Fax. +49 355 69-4153

Received on Wednesday, 31 January 2001 05:28:46 UTC