These are chat archives for symengine/symengine
make installthe symengine library is still not integrated with the language you are using it, I assume Python? So you need to reinstall e.g. symengine.py as well.
ldd. OTOH you see where symengine is installed when doing the
make install. Probably it will just overwrite the old, unless you gave different paths to cmake...
clang: error: no such file or directory: ' /usr/local/lib/libsymengine.a /usr/local/lib/libteuchos.a /usr/local/lib/libgmpxx.dylib /usr/local/lib/libgmp.dylib ‘I know this is a link flag problem and I can manually point them to the correct directories. But any idea on why this is occurring?
This is what I did (from wiki) 'compile_flags=
cmake --find-package -DNAME=SymEngine -DCOMPILER_ID=GNU -DLANGUAGE=CXX -DMODE=COMPILE
cmake --find-package -DNAME=SymEngine -DCOMPILER_ID=GNU -DLANGUAGE=CXX -DMODE=LINK
g++ $compile_flags main.cpp $link_flags'
g++ $compile_flags main.cpp $link_flags
(A:0.33s, B:0.09s, C:4.7s)The latter is conversion of big rationals.