[Debian-med-packaging] Bug#677721: Underlinking is also present libdcmnet.so

Sebastien Jodogne s.jodogne at chu.ulg.ac.be
Wed Oct 10 07:36:07 UTC 2012


Hello,

I have had similar problems when packaging the Orthanc project [1].

The "libdcmnet.so" shared library has indeed undefined symbols that are 
defined in the "liboflog.so" and in the "libwrap.so" shared libraries, 
but "libdcmnet.so" does not state that is depends on wrap and oflog. 
Here is a command-line session on Debian sid that shows up this problem:

 >>>>>
jodogne at unstable:~$ nm -D -C /usr/lib/libdcmnet.so | grep log4cplus
                  U 
log4cplus::Logger::addAppender(log4cplus::helpers::SharedObjectPtr<log4cplus::Appender>)
                  U log4cplus::Logger::getAppender(OFString const&)
                  U 
log4cplus::Logger::removeAppender(log4cplus::helpers::SharedObjectPtr<log4cplus::Appender>)
                  U log4cplus::Logger::removeAppender(OFString const&)
                  U log4cplus::Logger::getAllAppenders()
                  U log4cplus::Logger::removeAllAppenders()
                  U log4cplus::Logger::Logger(log4cplus::Logger const&)
                  U log4cplus::Logger::~Logger()
                  U log4cplus::Logger::isEnabledFor(int) const
                  U log4cplus::Logger::forcedLog(int, OFString const&, 
char const*, int, char const*) const
                  U typeinfo for log4cplus::Logger
jodogne at unstable:~$ ldd /usr/lib/libdcmnet.so | grep oflog
jodogne at unstable:~$ nm -C -D /usr/lib/libdcmnet.so | grep request_init
                  U request_init
jodogne at unstable:~$ ldd /usr/lib/libdcmnet.so | grep wrap
jodogne at unstable:~$
<<<<<

The "log4cplus::" stuff is defined in oflog, and the "request_init" 
stuff is defined in wrap. I think that there is also a missing 
dependency on ofstd somewhere.

Note that the same problem applies to Debian squeeze.

Cheers,
Sébastien-


[1] http://lists.debian.org/debian-med/2012/10/msg00007.html



More information about the Debian-med-packaging mailing list