On Tue, Mar 23, 2021 at 10:27 PM Mike Lee <symle...@gmail.com> wrote: > > Hi, > > I'm facing a similar issue when I tried to install Sage through conda (I > followed the 'Setting Up' directions in https://wiki.sagemath.org/Conda). I > get the following error in my Sage_crash_report.txt (attached) > > 'ImportError: > /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/matrix_modn_sparse.cpython-39-x86_64-linux-gnu.so: > undefined symbol: > _ZNK6Givaro7IntegercvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEB5cxx11Ev'
this is, demangled: $ c++filt _ZNK6Givaro7IntegercvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEB5cxx11Ev Givaro::Integer::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >[abi:cxx11]() const Can you find this in the output of $ nm -D --demangle /home/msl/software/miniconda3/envs/sage/lib/libgivaro.so.9 Perhaps, wrong C++ standard version chosen somewhere? Maybe Isuru knows what's wrong there. > > What could I do to fix this issue? Thank you in advance for the help! > > By the way, when I run 'ldd > /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/matrix_modn_sparse.cpython-39-x86_64-linux-gnu.so > ' I get the following output: > > linux-vdso.so.1 (0x00007ffde17a7000) > liblinbox.so.0 => > /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../liblinbox.so.0 > (0x00007fa325ba0000) > libfflas.so.1 => > /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libfflas.so.1 > (0x00007fa325ad4000) > libblas.so.3 => > /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libblas.so.3 > (0x00007fa323ae3000) > libgivaro.so.9 => > /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libgivaro.so.9 > (0x00007fa323a88000) > libflint.so.14 => > /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libflint.so.14 > (0x00007fa32320d000) > libntl.so.43 => > /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libntl.so.43 > (0x00007fa322fca000) > libgmp.so.10 => > /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libgmp.so.10 > (0x00007fa322f24000) > libstdc++.so.6 => > /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libstdc++.so.6 > (0x00007fa322daf000) > libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fa3229fb000) > libgcc_s.so.1 => > /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libgcc_s.so.1 > (0x00007fa3229e7000) > libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa3225f6000) > libffpack.so.1 => > /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libffpack.so.1 > (0x00007fa3224e3000) > libgmpxx.so.4 => > /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libgmpxx.so.4 > (0x00007fa3224da000) > libmpfr.so.6 => > /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libmpfr.so.6 > (0x00007fa32245b000) > libiml.so.0 => > /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libiml.so.0 > (0x00007fa322436000) > libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fa322217000) > libgfortran.so.5 => > /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libgfortran.so.5 > (0x00007fa322075000) > /lib64/ld-linux-x86-64.so.2 (0x00007fa325aa8000) > libgf2x.so.3 => > /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libgf2x.so.3 > (0x00007fa322062000) > libquadmath.so.0 => > /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libquadmath.so.0 > (0x00007fa322028000) > > Mike > > On Sunday, January 24, 2021 at 1:16:24 PM UTC-5 dim...@gmail.com wrote: >> >> at the bottom of the log you see >> >> ImportError: >> /home/mathieu/opt/SageMath/local/lib/python3.8/site-packages/sage/matrix/matrix_modn_sparse.cpython-38-x86_64-linux-gnu.so: >> undefined symbol: >> _ZNK6Givaro7IntegercvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEB5cxx11Ev >> >> >> which is an indication that something went wrong with linking givaro. >> E.g. you might be linking to a system-wide >> installed givaro, but it's expected to be the one built by Sage - >> whether the latter is the case can be found out in the top-level >> config.log. >> >> What is the output of >> >> ldd >> /home/mathieu/opt/SageMath/local/lib/python3.8/site-packages/sage/matrix/matrix_modn_sparse.cpython-38-x86_64-linux-gnu.so >> >> ? >> >> >> On Sun, Jan 24, 2021 at 4:22 PM Mathieu Dutour <mathieu...@gmail.com> wrote: >> > >> > >> > -- >> > You received this message because you are subscribed to the Google Groups >> > "sage-support" group. >> > To unsubscribe from this group and stop receiving emails from it, send an >> > email to sage-support...@googlegroups.com. >> > To view this discussion on the web visit >> > https://groups.google.com/d/msgid/sage-support/CADm_teOrk03gf8bzyUxtvt9m16wEAP3%2BOsfkzxbjSjz4VN9bKw%40mail.gmail.com. > > -- > You received this message because you are subscribed to the Google Groups > "sage-support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-support+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-support/3af54436-2cb1-4a8f-ac5e-ef109602fa0en%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/CAAWYfq1nH_hnH3kv7iAGoUtuv_Tm1keTSh-KLhVagz64AzDgFQ%40mail.gmail.com.