hey, 

I had similar/same(?) problem as Mike and installing older version of 
givaro (conda install "givaro=4.1.1=h192cbe9_1") fixed it. 

-M

On Wednesday, March 24, 2021 at 12:55:05 PM UTC-4 isu...@gmail.com wrote:

> Mike,
>
> Can you try creating a new conda environment? This is an issue with the 
> latest givaro build we had and we marked it as broken.
> Details at https://github.com/conda-forge/givaro-feedstock/issues/13
>
> (You could also try doing `conda install "givaro=4.1.1=h192cbe9_1"` to get 
> the older link.)
>
> Isuru
>
> On Wed, Mar 24, 2021 at 9:07 AM Mike Lee <syml...@gmail.com> wrote:
>
>> Not sure if this is relevant, but I get the following messages when I try 
>> running 'conda update givaro' in my sage conda environment (attached). I 
>> apologize for multiple messages!
>>
>> On Wed, Mar 24, 2021 at 8:42 AM Mike Lee <syml...@gmail.com> wrote:
>>
>>> I believe the following line in the output of the nm command you 
>>> suggested is the corresponding symbol?
>>>
>>> 0000000000017da0 T Givaro::Integer::operator 
>>> std::__cxx11::basic_string<char, std::char_traits<char>, 
>>> std::allocator<char> >() const
>>>
>>> I've also attached the full output of the nm command as a txt file below 
>>> in case it's helpful!
>>>
>>> On Wed, Mar 24, 2021 at 5:41 AM Dima Pasechnik <dim...@gmail.com> wrote:
>>>
>>>> On Tue, Mar 23, 2021 at 10:27 PM Mike Lee <syml...@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...@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 a topic in the 
>>>> Google Groups "sage-support" group.
>>>> To unsubscribe from this topic, visit 
>>>> https://groups.google.com/d/topic/sage-support/uLLCi94RQAU/unsubscribe.
>>>> To unsubscribe from this group and all its topics, send an email to 
>>>> sage-support...@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
>>>> .
>>>>
>>>

-- 
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/438da4d6-ea0b-4390-a769-9f35cf14d872n%40googlegroups.com.

Reply via email to