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

Re: public extension linked with libpython* vs. -Wl,-no-undefined



> Actually, you usually don't get these kind of warnings for Python extension
> modules. The warning is emitted only if a module has SONAME, and it
> typically doesn't.
>
> You might want to get rid of SONAMEs

That indeed was the problem. Thanks!
It's a CMake/SWIG build, and I now added a patch to set the NO_SONAME
property to TRUE. All warnings are gone.

--Nico



On Tue, Mar 18, 2014 at 11:45 AM, Jakub Wilk <jwilk@debian.org> wrote:
> * Russ Allbery <rra@debian.org>, 2014-03-17, 19:12:
>
>>> Understood, thanks!
>>>
>>> I'll just ignore the warnings of the type
>>> ```
>>> dpkg-shlibdeps: warning:
>>>
>>> debian/python-pytrilinos/usr/lib/python2.7/dist-packages/PyTrilinos/NOX/_Abstract.so
>>> contains an unresolvable reference to symbol PyString_FromFormat: it's
>>> probably a plugin.
>>> ```
>>> then.
>>
>>
>> Yes.  The "it's probably a plugin" part is basically trying to tell you to
>> ignore this as long as the message is correct and it is a plugin.
>>
>> Python, PHP, and Apache modules all generally get this warning.
>
>
> Actually, you usually don't get these kind of warnings for Python extension
> modules. The warning is emitted only if a module has SONAME, and it
> typically doesn't.
>
> You might want to get rid of SONAMEs. But if fixing it turns out to be
> difficult, as Russ said, it's safe to ignore the warnings.
>
> --
> Jakub Wilk
>
>
>
> --
> To UNSUBSCRIBE, email to debian-mentors-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> Archive: [🔎] 20140318104519.GD6614@jwilk.net">https://lists.debian.org/[🔎] 20140318104519.GD6614@jwilk.net
>


Reply to: