Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 414045 - dev-python/cvxopt-1.1.5 cholmod.so module isn't linked to blas as it should and is in 1.1.4-r1
Summary: dev-python/cvxopt-1.1.5 cholmod.so module isn't linked to blas as it should a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-30 03:44 UTC by François Bissey
Modified: 2012-05-03 12:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description François Bissey 2012-04-30 03:44:51 UTC
With cvxopt-1.1.5:
ldd -r /usr/lib64/python2.7/site-packages/cvxopt/cholmod.so
        linux-vdso.so.1 =>  (0x00007fffc093a000)
        libcholmod.so.0 => /usr/lib64/libcholmod.so.0 (0x00007ff2a813c000)
        libpython2.7.so.1.0 => /usr/lib64/libpython2.7.so.1.0 (0x00007ff2a7d8a000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007ff2a7b6c000)
        libc.so.6 => /lib64/libc.so.6 (0x00007ff2a77dd000)
        libcolamd.so.0 => /usr/lib64/libcolamd.so.0 (0x00007ff2a75d6000)
        libamd.so.0 => /usr/lib64/libamd.so.0 (0x00007ff2a73cc000)
        libm.so.6 => /lib64/libm.so.6 (0x00007ff2a7149000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007ff2a6f45000)
        libutil.so.1 => /lib64/libutil.so.1 (0x00007ff2a6d41000)
        /lib64/ld-linux-x86-64.so.2 (0x00007ff2a8641000)
undefined symbol: dcopy_        (/usr/lib64/python2.7/site-packages/cvxopt/cholmod.so)
undefined symbol: zcopy_        (/usr/lib64/python2.7/site-packages/cvxopt/cholmod.so)

with cvxopt-1.1.4-r1:

ldd -r /usr/lib64/python2.7/site-packages/cvxopt/cholmod.so
        linux-vdso.so.1 =>  (0x00007fffd93d3000)
        libcholmod.so.0 => /usr/lib64/libcholmod.so.0 (0x00007ffda9341000)
        libopenblas_nehalem-r0.1.0.so => /usr/lib64/libopenblas_nehalem-r0.1.0.so (0x00007ffda8e27000)
        libpython2.7.so.1.0 => /usr/lib64/libpython2.7.so.1.0 (0x00007ffda8a75000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007ffda8858000)
        libc.so.6 => /lib64/libc.so.6 (0x00007ffda84c9000)
        libcolamd.so.0 => /usr/lib64/libcolamd.so.0 (0x00007ffda82c1000)
        libamd.so.0 => /usr/lib64/libamd.so.0 (0x00007ffda80b8000)
        libm.so.6 => /lib64/libm.so.6 (0x00007ffda7e35000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007ffda7c30000)
        libutil.so.1 => /lib64/libutil.so.1 (0x00007ffda7a2d000)
        /lib64/ld-linux-x86-64.so.2 (0x00007ffda9846000)


The new patch cvxopt-1.1.5-setup.patch is missing blas in the cholmod section:
+     libraries = ['cholmod'],
+     define_macros = MACROS + [('NPARTITION', '1')],
+     sources = [ 'C/cholmod.c' ])

It should be libraries = ['cholmod','blas'] as in the old patch used in 1.1.4-r1.
Comment 1 Thomas Kahle (RETIRED) gentoo-dev 2012-05-03 12:12:36 UTC
Fixed. Thanks for the research!