You received this message because you are subscribed to a topic in the Google Groups "sage-devel" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-devel/gzFzWUdxWwQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sage-devel+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq1%3DEBd%2BfBN7CK_tdWCnSWE%2Bfjw3kjUq5UvSdJgG2amu7g%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CABAVDFkT2a8Wp6a8GZJruvC03xg9DS%3DJBsQdEWauQ0m-FF9ANQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq3BK3xdny8fvJ%3DZ5jo3B2V439sFLhwGYXaJOqabA74HGQ%40mail.gmail.com.
"make giac" failed. I don't know why.
/usr/bin/bash ../libtool --tag=CXX --mode=link g++ -std=gnu++11 -g -O2 -fno-strict-aliasing -DGIAC_GENERIC_CONSTANTS -no-undefined -Wl,-rpath-link,/home/bruce/sage-8.9.beta1/local/lib -L/home/bruce/sage-8.9.beta1/local/lib -Wl,-rpath,/home/bruce/sage-8.9.beta1/local/lib -o icas icas.o libxcas.la -lreadline -lncurses -lcurl -lglpk -ldl -lm -lecm -lmpfi -lmpfr -lgmp -L/home/bruce/sage-8.9.beta1/local/lib -lgsl -lm -lopenblas -lm -L/home/bruce/sage-8.9.beta1/local/lib -lopenblas -lrt -lpthread -lnauty -lcurl -lglpk -ldl -lm -lecm -lmpfi -lmpfr -lgmp libtool: link: g++ -std=gnu++11 -g -O2 -fno-strict-aliasing -DGIAC_GENERIC_CONSTANTS -Wl,-rpath-link -Wl,/home/bruce/sage-8.9.beta1/local/lib -Wl,-rpath -Wl,/home/bruce/sage-8.9.beta1/local/lib -o .libs/icas icas.o -L/home/bruce/sage-8.9.beta1/local/lib ./.libs/libxcas.a /home/bruce/sage-8.9.beta1/local/var/tmp/sage/build/giac-1.5.0.87p2.p1/src/src/.libs/libgiac.so -lntl -lpari -lreadline -lncurses -lgsl -lopenblas -lrt -lpthread -lnauty /usr/lib/x86_64-linux-gnu/libcurl.so -lglpk -ldl -lm -lecm -lmpfi -lmpfr -lgmp -pthread -Wl,-rpath -Wl,/home/bruce/sage-8.9.beta1/local/lib /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libnauty.so: undefined reference to `graph_free@CLIQUER_1' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libnauty.so: undefined reference to `clique_unweighted_find_single@CLIQUER_1' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libnauty.so: undefined reference to `graph_new@CLIQUER_1' collect2: error: ld returned 1 exit status
On Wed, Nov 4, 2020 at 9:46 PM Matthias Koeppe <matthia...@gmail.com> wrote:
> On Wednesday, November 4, 2020 at 11:29:17 AM UTC-8, brucew...@gmail.com wrote:
>> "make giac" failed. I don't know why.
> From the log:
>
> /usr/bin/bash ../libtool --tag=CXX --mode=link g++ -std=gnu++11 -g -O2 -fno-strict-aliasing -DGIAC_GENERIC_CONSTANTS -no-undefined -Wl,-rpath-link,/home/bruce/sage-8.9.beta1/local/lib -L/home/bruce/sage-8.9.beta1/local/lib -Wl,-rpath,/home/bruce/sage-8.9.beta1/local/lib -o icas icas.o libxcas.la -lreadline -lncurses -lcurl -lglpk -ldl -lm -lecm -lmpfi -lmpfr -lgmp -L/home/bruce/sage-8.9.beta1/local/lib -lgsl -lm -lopenblas -lm -L/home/bruce/sage-8.9.beta1/local/lib -lopenblas -lrt -lpthread -lnauty -lcurl -lglpk -ldl -lm -lecm -lmpfi -lmpfr -lgmp
> libtool: link: g++ -std=gnu++11 -g -O2 -fno-strict-aliasing -DGIAC_GENERIC_CONSTANTS -Wl,-rpath-link -Wl,/home/bruce/sage-8.9.beta1/local/lib -Wl,-rpath -Wl,/home/bruce/sage-8.9.beta1/local/lib -o .libs/icas icas.o -L/home/bruce/sage-8.9.beta1/local/lib ./.libs/libxcas.a /home/bruce/sage-8.9.beta1/local/var/tmp/sage/build/giac-1.5.0.87p2.p1/src/src/.libs/libgiac.so -lntl -lpari -lreadline -lncurses -lgsl -lopenblas -lrt -lpthread -lnauty /usr/lib/x86_64-linux-gnu/libcurl.so -lglpk -ldl -lm -lecm -lmpfi -lmpfr -lgmp -pthread -Wl,-rpath -Wl,/home/bruce/sage-8.9.beta1/local/lib
> /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libnauty.so: undefined reference to `graph_free@CLIQUER_1'
> /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libnauty.so: undefined reference to `clique_unweighted_find_single@CLIQUER_1'
> /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libnauty.so: undefined reference to `graph_new@CLIQUER_1'
> collect2: error: ld returned 1 exit status
>
>
> Looks like the system libnauty is broken. What system is this? Try removing the libnauty system package
it is "mostly" Ubuntu 20.10, so
https://ubuntu.pkgs.org/20.10/ubuntu-universe-arm64/libnauty2_2.7r1+ds-1_arm64.deb.html
- with an interesting dependency, libcliquer
Note that in Sage's configuration there is no such dependency, and
this might be the problem here, I guess
But what's failing here is giac's configure tests for libnauty - we should check whether upstream giac is aware of this
--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/d65b1982-e528-489b-8fa4-0bca82a13487o%40googlegroups.com.
On Wed, 4 Nov 2020, 23:56 Matthias Koeppe, <matthia...@gmail.com> wrote:On Wednesday, November 4, 2020 at 2:00:33 PM UTC-8, Dima Pasechnik wrote:On Wed, Nov 4, 2020 at 9:46 PM Matthias Koeppe <matthia...@gmail.com> wrote:
> On Wednesday, November 4, 2020 at 11:29:17 AM UTC-8, brucew...@gmail.com wrote:
>> "make giac" failed. I don't know why.
> From the log:
>
> /usr/bin/bash ../libtool --tag=CXX --mode=link g++ -std=gnu++11 -g -O2 -fno-strict-aliasing -DGIAC_GENERIC_CONSTANTS -no-undefined -Wl,-rpath-link,/home/bruce/sage-8.9.beta1/local/lib -L/home/bruce/sage-8.9.beta1/local/lib -Wl,-rpath,/home/bruce/sage-8.9.beta1/local/lib -o icas icas.o libxcas.la -lreadline -lncurses -lcurl -lglpk -ldl -lm -lecm -lmpfi -lmpfr -lgmp -L/home/bruce/sage-8.9.beta1/local/lib -lgsl -lm -lopenblas -lm -L/home/bruce/sage-8.9.beta1/local/lib -lopenblas -lrt -lpthread -lnauty -lcurl -lglpk -ldl -lm -lecm -lmpfi -lmpfr -lgmp
> libtool: link: g++ -std=gnu++11 -g -O2 -fno-strict-aliasing -DGIAC_GENERIC_CONSTANTS -Wl,-rpath-link -Wl,/home/bruce/sage-8.9.beta1/local/lib -Wl,-rpath -Wl,/home/bruce/sage-8.9.beta1/local/lib -o .libs/icas icas.o -L/home/bruce/sage-8.9.beta1/local/lib ./.libs/libxcas.a /home/bruce/sage-8.9.beta1/local/var/tmp/sage/build/giac-1.5.0.87p2.p1/src/src/.libs/libgiac.so -lntl -lpari -lreadline -lncurses -lgsl -lopenblas -lrt -lpthread -lnauty /usr/lib/x86_64-linux-gnu/libcurl.so -lglpk -ldl -lm -lecm -lmpfi -lmpfr -lgmp -pthread -Wl,-rpath -Wl,/home/bruce/sage-8.9.beta1/local/lib
> /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libnauty.so: undefined reference to `graph_free@CLIQUER_1'
> /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libnauty.so: undefined reference to `clique_unweighted_find_single@CLIQUER_1'
> /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libnauty.so: undefined reference to `graph_new@CLIQUER_1'
> collect2: error: ld returned 1 exit status
>
>
> Looks like the system libnauty is broken. What system is this? Try removing the libnauty system package
it is "mostly" Ubuntu 20.10, so
https://ubuntu.pkgs.org/20.10/ubuntu-universe-arm64/libnauty2_2.7r1+ds-1_arm64.deb.html
- with an interesting dependency, libcliquer
Note that in Sage's configuration there is no such dependency, and
this might be the problem here, I guessnauty packaging is a mess - see https://trac.sagemath.org/ticket/30271is this the same as used in Debian/Ubuntu?
You received this message because you are subscribed to a topic in the Google Groups "sage-devel" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-devel/gzFzWUdxWwQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sage-devel+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq1OtUNtVv25DZEOMy5FH5RutPxkYg_FNypFdXxMVM3Bcg%40mail.gmail.com.
When compiling giac with nauty, I install nauty by hand and statically linked, nothing more than libnauty.a is required.In configure.ac, the check is done byAC_CHECK_LIB(nauty,main)
AC_CHECK_HEADERS(nauty/naututil.h)
I can of course add another check if it's required to compile with nauty, just let me know.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/3d713879-229b-4e9e-bf47-f6daaaab53f0n%40googlegroups.com.