[Bug 832605] Re: binary package python2.6-dev lacks dependency on libssl-dev

dino99 832605 at bugs.launchpad.net
Sun May 3 13:37:50 UTC 2015


Support for this version has ended

** Changed in: python2.6 (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.6 in Ubuntu.
https://bugs.launchpad.net/bugs/832605

Title:
  binary package python2.6-dev lacks dependency on libssl-dev

Status in python2.6 package in Ubuntu:
  Invalid

Bug description:
  The following findings were obtained with python2.6-dev, version
  2.6.5-1ubuntu6 on Ubuntu 10.04.3 LTS (amd64):

  While the build-dependencies of source package python2.6 contains
  libssl-dev, it is missing as a dependency of the binary package
  python2.6-dev.

  Why is this a problem? If someone wants to build a python extension
  module, he installs python2.6-dev and tries to compile and link
  against libpython2.6.so contained therein. A standard method to find
  out, which linker flags and dependencies must be met to link against
  libpython2.6.so is to ask python's distutils. This is done with:

  python -c "import distutils.sysconfig; \
   conf = distutils.sysconfig.get_config_var; \
   print (conf('LOCALMODLIBS') + ' ' + conf('LIBS'))"

  With the cited python-dev package, I get the response "-lssl -lcrypto
  -lssl -lcrypto      -L/usr/lib -lz -lpthread -ldl  -lutil" meaning
  that I have to link against libssl.so libcrypto.so libz.so
  libpthread.so libdl.so and libutil.so, to be able to link against
  libpython2.6.so . Unfortunately, on my Ubuntu, only 32bit versions of
  libssl.so and libcrypto.so are present (as part of package ia32libs),
  while the amd64 version is contained in package libssl-dev that is not
  installed. As a result, distutils-based installers of python extension
  modules fail during linking, if package libssl-dev has not been
  installed manually. Adding libssl-dev as a dependency to package
  python2.6-dev would remedy this.

  Feel free to contact me for sample code exposing this problem.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.6/+bug/832605/+subscriptions



More information about the foundations-bugs mailing list