Yeah I tried like you said and it worked!!! Tks a lot <3 Vào lúc 00:23:20 UTC+7 ngày Thứ Hai, 2 tháng 12, 2024, dim...@gmail.com đã viết:
> On Sun, Dec 1, 2024 at 10:12 AM Thuong To <thanhth...@gmail.com> wrote: > > > > In fact it showed sth like this: > > ldd > /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libnauty.so > > linux-vdso.so.1 (0x00007f4e134d7000) > > libcliquer.so.1 => /lib/libcliquer.so.1 (0x00007f4e1341f000) > > libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f4e13229000) > > /lib64/ld-linux-x86-64.so.2 (0x00007f4e134d9000) > > I tried like you said but still not working T_T > > OK, sorry for a wrong diagnosis. It's probably just a bug in giac's > build system. > Can you remove system-wide nauty and cliquer and try again? > > > > > > Vào lúc 00:59:59 UTC+7 ngày Chủ Nhật, 1 tháng 12, 2024, dim...@gmail.com > đã viết: > >> > >> From your log it's clear that libnauty (typically from a package > >> called nauty, or libnauty, or libnauty-dev - depending on the > >> particular Linux distribution you're using) installed system-wide on > >> your machine is broken: > >> -------------------------------------------------- > >> ... > >> [spkg-install] /usr/bin/bash ../libtool --tag=CXX --mode=link g++ > >> -std=gnu++11 -g -O2 -g -O2 -std=gnu++11 -fno-strict-aliasing > >> -DGIAC_GENERIC_CONSTANTS -DTIMEOUT -no-undefined > >> -Wl,-rpath-link,/home/garbaca/sage-10.4/local/lib > >> -L/home/garbaca/sage-10.4/local/lib > >> -Wl,-rpath,/home/garbaca/sage-10.4/local/lib > >> -Wl,-rpath-link,/home/garbaca/sage-10.4/local/lib > >> -L/home/garbaca/sage-10.4/local/lib > >> -Wl,-rpath,/home/garbaca/sage-10.4/local/lib -o icas icas.o > >> libxcas.la -lreadline -lncurses -lcurl -lglpk -ldl -lm -lecm -lmpfi > >> -lmpfr -lgmp -L/home/garbaca/Downloads/sage-10.4/local/lib -lgsl > >> -lopenblas -lm -L/usr/lib/x86_64-linux-gnu/openblas-pthread/ > >> -lopenblas -lrt -lpthread -lnauty -lcliquer -lcurl -lglpk -ldl -lm > >> -lecm -lmpfi -lmpfr -lgmp > >> [spkg-install] libtool: link: g++ -std=gnu++11 -g -O2 -g -O2 > >> -std=gnu++11 -fno-strict-aliasing -DGIAC_GENERIC_CONSTANTS -DTIMEOUT > >> -Wl,-rpath-link -Wl,/home/garbaca/sage-10.4/local/lib -Wl,-rpath > >> -Wl,/home/garbaca/sage-10.4/local/lib -Wl,-rpath-link > >> -Wl,/home/garbaca/sage-10.4/local/lib -Wl,-rpath > >> -Wl,/home/garbaca/sage-10.4/local/lib -o .libs/icas icas.o > >> -L/home/garbaca/sage-10.4/local/lib ./.libs/libxcas.a > >> > /home/garbaca/sage-10.4/local/var/tmp/sage/build/giac-1.9.0.15p0/src/src/.libs/libgiac.so > >> -L/home/garbaca/Downloads/sage-10.4/local/lib > >> -L/usr/lib/x86_64-linux-gnu/openblas-pthread/ -lntl -lpari -lreadline > >> -lncurses -lgsl -lopenblas -lrt -lpthread -lnauty -lcliquer -lcurl > >> -lglpk -ldl -lm -lecm -lmpfi -lmpfr -lgmp -Wl,-rpath > >> -Wl,/home/garbaca/sage-10.4/local/lib > >> [spkg-install] /usr/bin/ld: icas.o: in function > >> `texmacs_graph_output(giac::gen const&, giac::gen&, > >> std::__cxx11::basic_string<char, std::char_traits<char>, > >> std::allocator<char> >&, int, giac::context const*)': > >> [spkg-install] > /home/garbaca/sage-10.4/local/var/tmp/sage/build/giac-1.9.0.15p0/src/src/icas.cc:500:(.text+0x306e): > >> warning: the use of `tmpnam' is dangerous, better use `mkstemp' > >> [spkg-install] /usr/bin/ld: > >> /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libnauty.so: > >> undefined reference to `graph_free@CLIQUER_1' > >> [spkg-install] /usr/bin/ld: > >> /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libnauty.so: > >> undefined reference to `clique_unweighted_find_single@CLIQUER_1' > >> [spkg-install] /usr/bin/ld: > >> /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libnauty.so: > >> undefined reference to `graph_new@CLIQUER_1' > >> [spkg-install] collect2: error: ld returned 1 exit status > >> [spkg-install] make[7]: *** [Makefile:792: icas] Error 1 > >> [spkg-install] make[6]: *** [Makefile:507: all-recursive] Error 1 > >> [spkg-install] make[5]: *** [Makefile:437: all] Error 2 > >> [spkg-install] > ********************************************************************************************************************************************************************************************************************************************** > >> [spkg-install] Error building giac-1.9.0.15p0 > >> > ---------------------------------------------------------------------------------- > >> > >> You can check linkage of your libnauty as follows: > >> > >> ldd > /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libnauty.so > >> > >> It should output something like > >> > >> linux-vdso.so.1 (0x00007ffe31fc8000) > >> libcliquer.so.1 => /usr/lib64/libcliquer.so.1 (0x00007f1183ecb000) > >> libc.so.6 => /lib64/libc.so.6 (0x00007f1183cd1000) > >> /lib64/ld-linux-x86-64.so.2 (0x00007f1183f89000) > >> > >> I suppose in your case you'd see something like > >> > >> libcliquer.so.1 => ??? > >> > >> So you can either try to fix your system package, by reinstalling > >> (lib)nauty(-dev(el)), > >> checking that it's OK with ldd as above, then run make, > >> or tell sage not to use system-wide nauty, by > >> > >> ./configure --with-system-libnauty=no --with-system-nauty=no > >> make > >> > >> HTH, > >> Dima > >> > >> On Sat, Nov 30, 2024 at 7:26 AM Thuong To <thanhth...@gmail.com> wrote: > >> > > >> > I tried to use cmd "make" but giac failed. Help me :((( > >> > > >> > -- > >> > 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 visit > https://groups.google.com/d/msgid/sage-support/f730e940-cf75-4d4e-836d-e237ef0340d3n%40googlegroups.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 visit > https://groups.google.com/d/msgid/sage-support/e5d45331-94ef-4ac2-9b6e-c879ce732e83n%40googlegroups.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 visit https://groups.google.com/d/msgid/sage-support/0998d4a6-c562-469f-a33e-37baad128b90n%40googlegroups.com.