On Wednesday, March 14, 2018 at 3:34:20 PM UTC, Sébastien Labbé wrote: > > On Ubuntu 16.04, my first attempt at running make finishes with a problem > with giac (undefined reference to `png_set_longjmp_fn') > > The log finishes with: > > ... > [giac-1.4.9.45.p2] libtool: link: g++ -g -O2 -fno-strict-aliasing > -DGIAC_GENERIC_CONSTANTS -Wl,-rpath -Wl,/home/slabbe/GitBox/sage/local/lib > -o .libs/icas icas.o -L/home/slabbe/GitBox/sage/local/lib > ./.libs/libxcas.a > /home/slabbe/GitBox/sage/local/var/tmp/sage/build/giac-1.4.9.45.p2/src/src/.libs/libgiac.so > > -lntl -lpari -lreadline -ltermcap -lgsl -lgslcblas -lrt -lpthread -lglpk > -ldl -lpng -lm -lmpfi /home/slabbe/GitBox/sage/local/lib/libmpfr.so -lgmp > -Wl,-rpath -Wl,/home/slabbe/GitBox/sage/local/lib > [giac-1.4.9.45.p2] > /home/slabbe/GitBox/sage/local/var/tmp/sage/build/giac-1.4.9.45.p2/src/src/.libs/libgiac.so: > > undefined reference to `png_set_longjmp_fn' > [giac-1.4.9.45.p2] collect2: error: ld returned 1 exit status > [giac-1.4.9.45.p2] Makefile:579: recipe for target 'icas' failed > [giac-1.4.9.45.p2] make[5]: *** [icas] Error 1 > [giac-1.4.9.45.p2] make[5]: Leaving directory > '/home/slabbe/GitBox/sage/local/var/tmp/sage/build/giac-1.4.9.45.p2/src/src' > [giac-1.4.9.45.p2] Makefile:404: recipe for target 'all-recursive' failed > [giac-1.4.9.45.p2] make[4]: *** [all-recursive] Error 1 > [giac-1.4.9.45.p2] make[4]: Leaving directory > '/home/slabbe/GitBox/sage/local/var/tmp/sage/build/giac-1.4.9.45.p2/src' > [giac-1.4.9.45.p2] Makefile:333: recipe for target 'all' failed > [giac-1.4.9.45.p2] make[3]: *** [all] Error 2 > [giac-1.4.9.45.p2] make[3]: Leaving directory > '/home/slabbe/GitBox/sage/local/var/tmp/sage/build/giac-1.4.9.45.p2/src' > [giac-1.4.9.45.p2] > ******************************************************************************** > [giac-1.4.9.45.p2] Error building giac-1.4.9.45.p2 > [giac-1.4.9.45.p2] > ******************************************************************************** > ... > > this is a typical symptom of trying to link a wrong version of libpng.
But what does exactly "first attempt" mean here? The one after upgrading the OS? (and you did not do "make distclean" or did not start a fresh build some other way?) This won't be a surprise, and won't be a bug... > I did > > sage -f libpng && make > > which seems to have fixed the error: > > ... > [giac-1.4.9.45.p2] successfully installed. > ... > > ... still running. > > Sébastien > -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To post to this group, send email to sage-release@googlegroups.com. Visit this group at https://groups.google.com/group/sage-release. For more options, visit https://groups.google.com/d/optout.