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

Mantis Bug Tracker noreply at opencsw.org
Wed Jul 18 01:04:21 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 01:04 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


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

---------------------------------------------------------------------- 
 (0010046) yann (developer) - 2012-07-18 01:04
 https://www.opencsw.org/mantis/view.php?id=4984#c10046 
---------------------------------------------------------------------- 
It seems the neon.pc makes a distinction. What is the output of pkgconfig
for neon ?



More information about the bug-notifications mailing list