The prior version 5.46.0 builds fine. At least on aarch64 linux, with 5.47 I get:
Making all in info
make[2] Entering directory '/builddir/maxima-5.47.0/doc/info'
make[3] Entering directory '/builddir/maxima-5.47.0/doc/info'
/usr/bin/env perl build_index.pl maxima.info ':crlf' > maxima-index.lisp
../../maxima-local --batch-lisp=build-html-index.lisp
/builddir/maxima-5.47.0/src/binary-ecl/maxima: error while loading shared libraries: binary-ecl/libmaxima-ecl.so: cannot open shared object file: No such file or directory
make[3]: *** [Makefile:1653: maxima-index-html.lisp] Error 127
any hints? see also https://github.com/void-linux/void-packages/issues/46293
let me add that this is not aarch64 specific, as it happens also on x86_64 linux.
Thanks for the bug report. A wild guess: libecl-maxima.so exists somewhere, but somehow it can't be located. Does it help to say:
??
What does
ldd /builddir/maxima-5.47.0/src/binary-ecl/maximareport, both before the above export and after it?Thanks for helping. The thing is, the file is not found:
Hmm, I am not finding references to libmaxima-ecl.so in the build machinery. What does
./config.status --configreport?'--prefix=/usr' '--sysconfdir=/etc' '--sbindir=/usr/bin' '--bindir=/usr/bin' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--localstatedir=/var' '--host=x86_64-unknown-linux-gnu' '--build=x86_64-unknown-linux-gnu' '--libdir=${exec_prefix}/lib64' '--disable-clisp' '--disable-sbcl-exec' '--enable-ecl' 'build_alias=x86_64-unknown-linux-gnu' 'host_alias=x86_64-unknown-linux-gnu'I can also post the full configure output if needed.
Yes, please do post
config.log. As I asked earlier, can you tell us where you got the source files from and what your configuration is and how you are building Maxima.I'm building maxima natively (both on the x86_64 and aarch64 archs), using ecl (rather than sbcl). the sources are downloaded from here ${SOURCEFORGE_SITE}/maxima/maxima-${version}.tar.gz The build runs ./configure and then make (both from gnu), as in here https://github.com/void-linux/void-packages/blob/master/srcpkgs/maxima/template
attaching the full build log
as well as config.log
notice this same build works fine with 5.46 but fails with 5.47. also notice this is not built as part of sagemath
Closing this report as "won't fix", since (according to discussion in the downstream bug report https://github.com/void-linux/void-packages/issues/46293) the problem is a consequence of a patch applied to the build process (
use-shared-library.patch). Thanks to everyone for your interest and attention.