[Users] [Bug 2770] New: Python plugin is linked against libpythonXY.so instead of libpythonXY.so.1.0

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Fri Nov 2 21:29:01 CET 2012


http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2770

           Summary: Python plugin is linked against libpythonXY.so instead
                    of libpythonXY.so.1.0
           Product: Claws Mail
           Version: 3.8.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Plugins
        AssignedTo: users at lists.claws-mail.org
        ReportedBy: mjules at free.fr


Hi,

the title says all, python-plugin needs libpythonX.Y.so and abort if it cannot
find it.
The problem is that this file is generally provided by devel package (I'm on
mageia) and it doesn't seems right to depend on devel at runtime.

error message :
** (claws-mail:11538): ERROR **: libpython2.7.so: cannot open shared object
file: No such file or directory


The problem seems to come from configure.ac line 113 in the definition of
PYTHON_SHARED_LIBS :
PYTHON_SHARED_LIB="libpython${PYTHON_VERSION}.so"

and after that, line 133 :
AC_SUBST(PYTHON_SHARED_LIB)

If I comment or removethe latest line (patch attached), the plugin compile and
run fine.
As my autotools-foo is poor, I'm not sure I understand the meaning of the
detection, so forgive me if the patch is really wrong.

regards
Julien

Mageia bug :
https://bugs.mageia.org/show_bug.cgi?id=7945

-- 
Configure bugmail: http://www.thewildbeast.co.uk/claws-mail/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Users mailing list