These are chat archives for symengine/symengine

16th
Nov 2018
Christopher Rackauckas
@ChrisRackauckas
Nov 16 2018 20:58

(v1.0) pkg> build SymEngine
  Building SpecialFunctions → `~/.julia/packages/SpecialFunctions/fvheQ/deps/build.log`
  Building SymEngine ───────→ `~/.julia/packages/SymEngine/sh7Yz/deps/build.log`
┌ Error: Error building `SymEngine`:
│ ┌ Warning: platform_key() is deprecated, use platform_key_abi() from now on
│ │   caller = ip:0x0
│ └ @ Core :-1
│ [ Info: Found a valid dl path libgmp.so while looking for libmpfr
│ [ Info: Found a valid dl path libgmp.so.10 while looking for libmpfr
│ [ Info: Found a valid dl path libgmp.so.10.3.2 while looking for libmpfr
│ [ Info: Found a valid dl path libgmpxx.so while looking for libmpfr
│ [ Info: Found a valid dl path libgmpxx.so.4 while looking for libmpfr
│ [ Info: Found a valid dl path libgmpxx.so.4.5.2 while looking for libmpfr
│ [ Info: Found a valid dl path libmpc.so while looking for libmpfr
│ [ Info: Found a valid dl path libmpc.so.3 while looking for libmpfr
│ [ Info: Found a valid dl path libmpc.so.3.1.0 while looking for libmpfr
│ [ Info: Found a valid dl path libmpfr.so while looking for libmpfr
│ [ Info: /home/crackauckas/.julia/packages/SymEngine/sh7Yz/deps/symengine-0.3/lib/libmpfr.so matches our search criteria of libmpfr
│ [ Info: Found a valid dl path libgmp.so while looking for libsymengine
│ [ Info: Found a valid dl path libgmp.so.10 while looking for libsymengine
│ [ Info: Found a valid dl path libgmp.so.10.3.2 while looking for libsymengine
│ [ Info: Found a valid dl path libgmpxx.so while looking for libsymengine
│ [ Info: Found a valid dl path libgmpxx.so.4 while looking for libsymengine
│ [ Info: Found a valid dl path libgmpxx.so.4.5.2 while looking for libsymengine
│ [ Info: Found a valid dl path libmpc.so while looking for libsymengine
│ [ Info: Found a valid dl path libmpc.so.3 while looking for libsymengine
│ [ Info: Found a valid dl path libmpc.so.3.1.0 while looking for libsymengine
│ [ Info: Found a valid dl path libmpfr.so while looking for libsymengine
│ [ Info: Found a valid dl path libmpfr.so.6 while looking for libsymengine
│ [ Info: Found a valid dl path libmpfr.so.6.0.1 while looking for libsymengine
│ [ Info: Found a valid dl path libsymengine.so while looking for libsymengine
│ [ Info: /home/crackauckas/.julia/packages/SymEngine/sh7Yz/deps/symengine-0.3/lib/libsymengine.so matches our search criteria of libsymengine
│ [ Info: /home/crackauckas/.julia/packages/SymEngine/sh7Yz/deps/symengine-0.3/lib/libsymengine.so cannot be dlopen'ed
│ [ Info: Found a valid dl path libsymengine.so.0.3 while looking for libsymengine
│ [ Info: /home/crackauckas/.julia/packages/SymEngine/sh7Yz/deps/symengine-0.3/lib/libsymengine.so.0.3 matches our search criteria of libsymengine
│ [ Info: /home/crackauckas/.julia/packages/SymEngine/sh7Yz/deps/symengine-0.3/lib/libsymengine.so.0.3 cannot be dlopen'ed
│ [ Info: Found a valid dl path libsymengine.so.0.3.0 while looking for libsymengine
│ [ Info: /home/crackauckas/.julia/packages/SymEngine/sh7Yz/deps/symengine-0.3/lib/libsymengine.so.0.3.0 matches our search criteria of libsymengine
│ [ Info: /home/crackauckas/.julia/packages/SymEngine/sh7Yz/deps/symengine-0.3/lib/libsymengine.so.0.3.0 cannot be dlopen'ed
│ [ Info: Could not locate libsymengine inside /home/crackauckas/.julia/packages/SymEngine/sh7Yz/deps/symengine-0.3/lib
│ [ Info: Found a valid dl path libgmp.so while looking for libmpc
│ [ Info: Found a valid dl path libgmp.so.10 while looking for libmpc
│ [ Info: Found a valid dl path libgmp.so.10.3.2 while looking for libmpc
│ [ Info: Found a valid dl path libgmpxx.so while looking for libmpc
│ [ Info: Found a valid dl path libgmpxx.so.4 while looking for libmpc
│ [ Info: Found a valid dl path libgmpxx.so.4.5.2 while looking for libmpc
│ [ Info: Found a valid dl path libmpc.so while looking for libmpc
│ [ Info: /home/crackauckas/.julia/packages/SymEngine/sh7Yz/deps/symengine-0.3/lib/libmpc.so matches our search criteria of libmpc
│ [ Info: Found a valid dl path libgmp.so while looking for libgmp
│ [ Info: /home/crackauckas/.julia/packages/SymEngine/sh7Yz/deps/symengine-0.3/lib/libgmp.so matches our sear
On Julia via the COPR for CentOS
@isuruf would you happen to know what this is?
it's unclear whether it's a warning or an error :P
it's an error
Isuru Fernando
@isuruf
Nov 16 2018 21:26
@ChrisRackauckas, what do you get for Libdl.dlopen("/home/crackauckas/.julia/packages/SymEngine/sh7Yz/deps/symengine-0.3/lib/libsymengine.so.0.3.0") ?
Did you build julia from sources?
Christopher Rackauckas
@ChrisRackauckas
Nov 16 2018 21:38
I used the COPR repo
julia> Libdl.dlopen("/home/crackauckas/.julia/packages/SymEngine/sh7Yz/deps/symengine-0.3/lib/libsymengine.so.0.3.0")
ERROR: could not load library "/home/crackauckas/.julia/packages/SymEngine/sh7Yz/deps/symengine-0.3/lib/libsymengine.so.0.3.0"
/usr/bin/../lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /home/crackauckas/.julia/packages/SymEngine/sh7Yz/deps/symengine-0.3/lib/libsymengine.so.0.3.0)
looks like I need GLIBC
It's libstdc++ that's old
Isuru Fernando
@isuruf
Nov 16 2018 21:52
Until JuliaPackaging/BinaryBuilder.jl#230 is resolved, you'll have to use official julia binaries
Or preload a newer libstdc++
Christopher Rackauckas
@ChrisRackauckas
Nov 16 2018 21:53
okay
Isuru Fernando
@isuruf
Nov 16 2018 22:16
@ChrisRackauckas, what do you get for, strings /usr/lib64/libstdc++.so.6 | grep LIBCXX. This might be fixable with newer features of BinaryBuilder
Christopher Rackauckas
@ChrisRackauckas
Nov 16 2018 22:41
Oh I just replaced with the generic binary
Isuru Fernando
@isuruf
Nov 16 2018 22:42
that's okay. I just want to know what the values is for CentOS
New packages are being built at https://travis-ci.org/symengine/SymEngineBuilder/builds/456192001. Should fix this issue for systems with gcc 4.8.5 or newer