JuliaLang/julia — Issue #539: bigint do not work
Author: rtzui
Created: 2012-03-07 19:17:24+00:00
State: open

how to reproduce:

$ git pull
$ make clean;make
$ make test
JULIA test/default
* default
* core
* numbers
* strings
* corelib
* hashing
* arrayops
* sparse
* lapack
* fft
* arpack
* random
* amos
* functional
* bigint
/home/user/julia/lib/libgmp_wrapper.so: undefined symbol: __gmpz_get_si
could not load module libgmp_wrapper
in dlopen at /home/user/julia/jl/base.jl:97
in include at src/boot.jl:192
in load at /home/user/julia/jl/util.jl:174
in include at src/boot.jl:192
in load at /home/user/julia/jl/util.jl:174
in runtests at ./runtests.jl:3
in include at src/boot.jl:192
in load at /home/user/julia/jl/util.jl:174
in load at /home/user/julia/jl/util.jl:186
in runtests at ./runtests.jl:3
in include at src/boot.jl:192
in process_options at /home/user/julia/jl/client.jl:167
in _start at /home/user/julia/jl/client.jl:205
at ../jl/bigint.jl:1
in include at src/boot.jl:192
in load at /home/user/julia/jl/util.jl:174
in include at src/boot.jl:192
in load at /home/user/julia/jl/util.jl:174
in runtests at ./runtests.jl:3
in include at src/boot.jl:192
in load at /home/user/julia/jl/util.jl:174
in load at /home/user/julia/jl/util.jl:186
in runtests at ./runtests.jl:3
in include at src/boot.jl:192
in process_options at /home/user/julia/jl/client.jl:167
in _start at /home/user/julia/jl/client.jl:205
at bigint.jl:2
in include at src/boot.jl:192
in load at /home/user/julia/jl/util.jl:174
in runtests at ./runtests.jl:3
in include at src/boot.jl:192
in load at /home/user/julia/jl/util.jl:174
in load at /home/user/julia/jl/util.jl:186
in runtests at ./runtests.jl:3
in include at src/boot.jl:192
in process_options at /home/user/julia/jl/client.jl:167
in _start at /home/user/julia/jl/client.jl:205
at default.jl:14
in load at /home/user/julia/jl/util.jl:197
in runtests at ./runtests.jl:3
in include at src/boot.jl:192
in process_options at /home/user/julia/jl/client.jl:167
in _start at /home/user/julia/jl/client.jl:205
at ./runtests.jl:48
in include at src/boot.jl:192
in process_options at /home/user/julia/jl/client.jl:167
in _start at /home/user/julia/jl/client.jl:205
make[1]: *** [default] Error 1
make: *** [test] Error 2
$ nm /home/user/julia/lib/libgmp_wrapper.so|grep gmpz
U __gmpz_add
U __gmpz_clear
U __gmpz_cmp
U __gmpz_fdiv_q
U __gmpz_fdiv_r
U __gmpz_get_si
U __gmpz_init
U __gmpz_mul
U __gmpz_pow_ui
U __gmpz_set
U __gmpz_set_si
U __gmpz_set_str
U __gmpz_set_ui
U __gmpz_sqrt
U __gmpz_sub
$ uname -a
Linux tux 3.0.0-16-generic #28-Ubuntu SMP Fri Jan 27 17:44:39 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux