Re: SSL and LIBWWW: compiling error in program

On Wed, Jan 31, 2001 at 04:42:47PM +0100, Sven Laaks wrote:
> Hi,
> I use this commandline:
>     gcc -o test `libwww-config --cflags` ssltest.c `libwww-config
> --libs`
> I tried it also with:
>     gcc -static -o test .....
> The libwww-library is compiled with ssl-support and the
> libwww-config-file is not modified.
> 
> The example "wwwssl" in the example-dir works fine, but I donīt
> understand how it works.
> 
> To Lutz:
> I include @LWWWSSL@ in libwww-config.in, but the result is the same.

Grrrr. This was meant to the developers....
Since  @LWWWSSL@ is not in libwww-config.in, it was not built into your
libwww-config after "configure".
You have to put "-lwwwssl" into libwww-config, probably the best place is
before -lwwwinit...

Best regards,
	Lutz
-- 
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 14:13:21 UTC