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

Mantis Bug Tracker noreply at opencsw.org
Wed Jul 18 00:40:55 CEST 2012


A NOTE has been added to this issue. 
====================================================================== 
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:                     feedback
====================================================================== 
Date Submitted:             2012-07-17 23:00 CEST
Last Modified:              2012-07-18 00:40 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


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

---------------------------------------------------------------------- 
 (0010041) yann (developer) - 2012-07-18 00:40
 https://www.opencsw.org/mantis/view.php?id=4984#c10041 
---------------------------------------------------------------------- 
Just checked under debian, neon-config --libs just returns -lneon

Do you know how the output of this command is generated during the build
phase ?



More information about the bug-notifications mailing list