[bug-notifications] [libneon27 0004984]: Why neon requires application to be linked with openssl ?

Mantis Bug Tracker noreply at opencsw.org
Wed Jul 18 00:58:09 CEST 2012

A NOTE has been added to this issue. 
Reported By:                yann
Assigned To:                dam
Project:                    libneon27
Issue ID:                   4984
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Date Submitted:             2012-07-17 23:00 CEST
Last Modified:              2012-07-18 00:58 CEST
Summary:                    Why neon requires application to be linked with
openssl ?

I recently noticed that cadaver was directly linked against libssl also it
doesn't use any of the functions exported by ssl.

After some research, I tracked down the origin of the dependancy on neon.
Indeed neon-config includes ssl in the list of libs that should be linked
against an application that want to be linked against neon.

$ /opt/csw/bin/neon-config --libs
-m32 -xarch=v8 -L/opt/csw/lib -lintl -L/opt/csw/lib -lneon -lnsl -lsocket
-lz -L/opt/csw/lib -lssl -lcrypto -lsocket -lnsl -ldl -lexpat

My question is: is this really necessary ?

If neon is already linked against libssl, why the application should also
link with openssl ?

Thanks in advance for your answer,

Best regards,



 (0010044) yann (developer) - 2012-07-18 00:58
The Debian patch:

  * Fix SNI TLS breakage until upstream fix (closes:
https://www.opencsw.org/mantis/view.php?id=569639).yann at home:/tmp/neon27-0.29.6/debian/patches$
cat don*
Bug-Debian: http://bugs.debian.org/470519
Last-Update: <2011-07-05>
--- neon27-0.29.6.orig/neon-config.in
+++ neon27-0.29.6/neon-config.in
@@ -16,7 +16,6 @@ Known values for OPTION are:
   --prefix=DIR         change neon prefix [default $prefix]
   --libs               print library linking information
-  --la-file            print location of libtool .la file
   --cflags             print pre-processor and compiler flags
   --help               display this help and exit
   --version            output version information
@@ -73,7 +72,7 @@ while test $# -gt 0; do
-        LIBS="-lneon @NEON_LIBS@"
+        LIBS="-lneon @NEON_LTLIBS@"
        # Don't add standard library paths
         if test "$prefix" != "/usr"; then
            LIBS="-L${libdir} ${LIBS}"
@@ -81,10 +80,6 @@ while test $# -gt 0; do
        echo @user_LDFLAGS@ ${LIBS}
-    --la-file)
-       echo ${libdir}/libneon.la
-       ;;

More information about the bug-notifications mailing list