dependency to openssl

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn at axis.com
Fri Feb 15 15:00:25 PST 2013


Just noticed, doing:

	$ readelf -a ./subsurface | grep NEEDED

that subsurface links against openssl:

 0x0000000000000001 (NEEDED)             Shared library: [libssl.so.1.0.0]
 0x0000000000000001 (NEEDED)             Shared library: [libcrypto.so.1.0.0]

and traces of openssl show up in:

Makefile:144:LIBS = $(LIBXML2) $(LIBXSLT) $(LIBGTK) $(LIBGCONF2) $(LIBDIVECOMPUTER) $(EXTRALIBS) $(LIBZIP) -lpthread -lm -lssl -lcrypto $(LIBOSMGPSMAP) $(LIBSOUP)
README:48:gconf2-devel, libssl-devel, libsoup-devel to build this (and
README:54:libglib2.0-dev libgconf2-dev libssl-dev libsoup2.4-dev, but it seems
dive.h:12:#include <openssl/sha.h>

Now, some distributions (read debian, maybe others) are a bit anal about
that.  See, for example:

	http://lists.debian.org/debian-mentors/2012/06/msg00105.html
	http://www.openssl.org/support/faq.html#LEGAL2


Cheers,

-- 
Cristian


More information about the subsurface mailing list