Description of problem: When trying to run `sage` on Fedora 29: $ sage Traceback (most recent call last): File "/usr/lib64/sagemath/local/bin/sage-ipython", line 9, in <module> from sage.misc.banner import banner File "/usr/lib64/python2.7/site-packages/sage/misc/banner.py", line 16, in <module> from sage.env import (SAGE_VERSION, SAGE_DATE, SAGE_VERSION_BANNER, File "/usr/lib64/python2.7/site-packages/sage/env.py", line 186, in <module> "libSingular not found--a working Singular install in $SAGE_LOCAL " RuntimeError: libSingular not found--a working Singular install in $SAGE_LOCAL is required for Sage to work The reason is that /usr/bin/sage contains export SINGULAR_SO=/usr/lib64/libSingular-4.1.1.so The Singular rpm package installed, as apparently determined by dnf based on what `sagemath` requires is Singular-libs-4.1.0p3-14.fc29.x86_64 This Singular package only contains /usr/lib64/libSingular-4.1.0.so I don't see Singular-libs 4.1.1 available in the repos. Editing /usr/bin/sage and changing the SO name seems to fix it. Version-Release number of selected component (if applicable): sagemath-8.3-1.fc29.x86_64 Singular-libs-4.1.0p3-14.fc29.x86_64 How reproducible: Appeared after upgrading from Fedora 28 -> Fedora 29 Beta with dnf system-upgrade. Steps to Reproduce: See above. Actual results: `sage` does not start, fails with error. Expected results: `sage` should be able to start.
I am also experiencing this error when trying to run `sage` on Fedora 29 Beta and can confirm that editing /usr/bin/sage as stated above fixes the issue.
Yes, workaround works. Funny though, there is already a non-functional 'fix' in .../site-packages/sage/eny.py +180: # library name changed from libsingular to libSingular btw 3.x and 4.x SINGULAR_SO = '/usr/lib64/libSingular-4.1.0.so' Unfortunately, notebook() doesn't work. Bug 1640890
I just finished a clean install of Fedora 29. Editing the Singular version from 4.1.1.so to 4.1.0.so resulted in sage launching successfully. Additionally I needed to install python2-cypari2.
Still fails to start sarge. in: /opt/SageMath/local/lib/python2.7/site-packages/sage/env.pyc Line 182 + 184: if not SINGULAR_SO or not os.path.exists(SINGULAR_SO): changed to: #_add_variable_or_fallback('SINGULAR_SO', SINGULAR_SO) if not SINGULAR_SO or not os.path.isfile(SINGULAR_SO): fixes it.
I experienced the same issue and editing the /usr/bin/sage file fixed the issue. Thank you.
sagemath-8.3-2.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-f51ce43c89
sagemath-8.3-2.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-f51ce43c89
sagemath-8.3-2.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.