Closed issue by dkwo on void-packages repository https://github.com/void-linux/void-packages/issues/46293 Description: ### Is this a new report? Yes ### System Info 6.5 series kernel on apple silicon (aarch64), as well as `Void 6.5.5_2 x86_64 GenuineIntel uptodate rrFFFFFFFFFFFFFF` ### Package(s) Affected maxima-5.47.0 ### Does a report exist for this bug with the project's home (upstream) and/or another distro? https://sourceforge.net/p/maxima/bugs/4188/ but this is possibly due to our own https://github.com/void-linux/void-packages/blob/master/srcpkgs/maxima/patches/use-shared-library.patch ### Expected behaviour The prior version 5.46.0 builds fine. ### Actual behaviour In the `do_build` phase: ``` 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 ``` ### Steps to reproduce build natively on any of those archs using `./xbps-src pkg -o ecl,~sbcl maxima`