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

Mantis Bug Tracker via bug-notifications bug-notifications at lists.opencsw.org
Thu Apr 7 21:45:00 CEST 2016


The following issue has been CLOSED 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=4984 
====================================================================== 
Reported By:                yann
Assigned To:                dam
====================================================================== 
Project:                    libneon27
Issue ID:                   4984
Category:                   
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2012-07-17 23:00 CEST
Last Modified:              2016-04-07 21:45 CEST
====================================================================== 
Summary:                    Why neon requires application to be linked with
openssl ?
Description: 
Hi,

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,

Yann


====================================================================== 

---------------------------------------------------------------------- 
 (0010047) yann (developer) - 2012-07-18 01:13
 https://www.opencsw.org/mantis/view.php?id=4984#c10047 
---------------------------------------------------------------------- 
Hmm maybe neon-config output all these libraries for the static linking
case.



More information about the bug-notifications mailing list