direct log4shib access

Cantor, Scott cantor.2 at osu.edu
Mon Jun 22 13:29:48 BST 2020


This really needs to get filed as a bug or it will get dropped, I'm not really back on SP work and probably won't be for months.

-- Scott

On 6/22/20, 6:53 AM, "Ferenc Wagner,,, on behalf of wferi at niif.hu" <wferi at niif.hu> wrote:

Hi Scott,

The memcache-store SP plugin calls log4shib::Category::debug() without
linking to the log4shib library.  This works, because the SP plugin host
provides this symbol for the plugin.  If it is the intended way, then
log4shib/log4cpp should either be declared as a public requirement in
the pkg-config file of the appropriate library, or the host CXXFLAGS/
LIBADD enumerations should be augmented with the logging libraries.  On
the other hand if these symbols aren't meant to be provided by the host,
then the plugin CXXFLAGS/LIBADD should be augmented instead. (The above
plugin is just an example illustrating the question about the intended
API usage.)
-- 
Thanks,
Feri



More information about the Pkg-shibboleth-devel mailing list