Red Hat Bugzilla – Bug 832475
undefined symbol: cholmod_l_free_dense
Last modified: 2012-12-20 10:51:22 EST
Description of problem:
Traceback (most recent call last):
File "./test_8psk_cancel_lms.py", line 1181, in <module>
File "./test_8psk_cancel_lms.py", line 1177, in run_line
result = run (opt, cmdline)
File "./test_8psk_cancel_lms.py", line 503, in run
h = design_decim (opt.len_rcv_filt, co-.01, co+.01, .01)
File "/home/nbecker/sigproc.ndarray/design_decim.py", line 20, in design_decim
(h, d) = design_lowpass (N, ripple, co*2*pi, sb*2*pi)
File "/home/nbecker/sigproc.ndarray/convex_filter.py", line 25, in design_lowpass
op(max(abs(G2*h)), [G1*h <= d1, G1*h >= 1.0/d1]).solve(solver=solver)
File "/usr/lib64/python2.7/site-packages/cvxopt/modeling.py", line 2629, in solve
sol = solvers.lp(c[:], G, h, A, b, solver=solver)
File "/usr/lib64/python2.7/site-packages/cvxopt/coneprog.py", line 2795, in lp
from cvxopt import base, blas, misc
File "/usr/lib64/python2.7/site-packages/cvxopt/misc.py", line 21, in <module>
from cvxopt import base, blas, lapack, cholmod, misc_solvers
ImportError: /usr/lib64/python2.7/site-packages/cvxopt/cholmod.so: undefined symbol: cholmod_l_free_dense
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Created attachment 595492 [details]
Hi all. This is caused by the way python-cvxopt-setup.patch alters cvxopt to build against the system SuiteSparse library. It deletes parts of the included SuiteSparse sources from some modules' "sources" lists, so it needs to add the corresponding system libraries to their "libraries" list.
To test, I replaced this patch with the attached version (and replaced /usr/lib -> /usr/lib64 for my own system) and rebuilt; it works now! So I believe that the upstream release is OK and that applying my changes will fix the Fedora package.
(As a quick technical note: libcholmod.so pulls in libamd.so and libcolamd.so, so linking with it should be enough to replace all of the sources deleted by python-cvxopt-setup.patch.)
python-cvxopt-1.1.5-5.fc17 has been submitted as an update for Fedora 17.
python-cvxopt-1.1.5-5.fc18 has been submitted as an update for Fedora 18.
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-cvxopt-1.1.5-5.fc17'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
python-cvxopt-1.1.5-5.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.