[ZOO-Discuss] Static libraries in ZOO (libcgic)?

Gérald Fenoy gerald.fenoy at geolabs.fr
Thu Nov 4 21:54:16 PDT 2010


Hi Luca,
nice to hear that you was able to compile the cgic206 version linking it against the FastCGI dynamic library. In fact I just tried the same on an Debian platform (I mean ubuntu, the OSGeoLiveDVD 4.0.1 updated version), I don't get any issue about the linking against libcryto requirement, we are using this function inside ZOO-Kernel to automatically encode your output as base64 if the user requested for that encoding (in fact even if the zcfg file didn't mention the base64 encoding support, it is always available for each services).
I just checked and the ZOO-Kernel is well linked against the libcrypto on the Debian machine I used to run compilation tests. I also noticed that the GDAL developer package provided was linked against the libcrypto library. Please, can you confirm that your GDAL library is also linked against the libcrypto one ? 

By the way I think that it won't hurt anything if we add the -lcrypto to the Makefile.in during the linkage process.

I've just updated the SVN source tree to add the -lcrypto stuff int he Makefile.in, can you please confirm that it solves your issue ?

Hope to hear from you soon,
Best regards,


 

Le 4 nov. 2010 à 16:20, Luca Delucchi a écrit :

> 2010/11/4 Markus Neteler <neteler at osgeo.org>:
> 
>> 
>> Luca says that this works. He'll write more about this asap.
>> 
> 
> Hi Gerarld, with FastCGI dynamic library I can compile cgi206. Now I
> have a problem with zoo compilation (it isn't associate to cgi206)
> 
> /usr/bin/ld: service_internal.o: undefined reference to symbol 'BIO_ctrl'
> /usr/bin/ld: note: 'BIO_ctrl' is defined in DSO /lib/libcrypto.so.10
> so try adding it to the linker command line
> /lib/libcrypto.so.10: could not read symbols: Invalid operation
> collect2: ld returned 1 exit status
> make: *** [zoo_loader.cgi] Error 1
> 
> cheers
> Luca

Gérald Fenoy
gerald.fenoy at geolabs.fr


GEOLABS
Siège social :
Futur Building I
1280, avenue des Platanes
34970 Lattes
Tél. fixe : 04 67 53 67 37
Tél. portable : 06 70 08 25 39

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/zoo-discuss/attachments/20101105/5c615a71/attachment.html>


More information about the Zoo-discuss mailing list