I don't understand why you cannot link to this. It's a shared library with exposed functions and that is all you need. So, please tell me what error you are seeing and I will solve it for you. Andy On Thu, 25 Mar 2021, Brian P Bockelman wrote: > @bbockelm commented on this pull request. > > > >> + close(m_fd); > + } > +} > + > + > +XrdTpcNSSSupport::TempCAGuard::TempCAGuard(int fd, const std::string &fname) > + : m_fd(fd), m_fname(fname) > + {} > + > + > +XrdTpcNSSSupport::XrdTpcNSSSupport(XrdSysError *err, std::string ca_dir) > + : m_log(*err), > + m_ca_dir(ca_dir), > + m_plugin(err, &g_ver, "Crypto Support", "libXrdCryptossl.so") > +{ > + if (!(m_x509_to_file_func = m_plugin.Resolve("XrdCryptosslX509ToFile")) || > > Actually, it appears we cannot link to this - that's why I had to go this direction (trust me, already tried! It's a pain to load like this and muck around with function pointers). CMake cowardly refuses to link to a shared module (as opposed to a shared library). > > Another option would be to compile + link an extra copy of those functions just for HttpTpc; I don't particularly like that either. > > I like the idea of doing a hard fail instead of falling back. Will work on that. > > -- > You are receiving this because you were mentioned. > Reply to this email directly or view it on GitHub: > https://github.com/xrootd/xrootd/pull/1431#discussion_r602004394 -- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/xrootd/xrootd/pull/1431#issuecomment-808044503 ######################################################################## Use REPLY-ALL to reply to list To unsubscribe from the XROOTD-DEV list, click the following link: https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1