[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: W: dh_python2:427: public extension linked with libpython2.7: libvtkgdcmPython.so



On Tue, May 8, 2012 at 9:28 AM, Mathieu Malaterre <malat@debian.org> wrote:
...
> $ readelf -d /usr/lib/pyshared/python2.7/libvtkgdcmPython.so
>
> Dynamic section at offset 0x1de0 contains 26 entries:
>  Tag        Type                         Name/Value
>  0x0000000000000001 (NEEDED)             Shared library:
> [libvtkgdcmPythonD.so.2.2]
>  0x0000000000000001 (NEEDED)             Shared library: [libpython2.7.so.1.0]

I actually did not realize cmake would put on the link line any
dependant shared libs. Therefore the module *itself* ended up being
link explicitely to the libpython2.7.so...

I fixed this with the proper cmake incantation.

Sorry for the noise,


Reply to: