Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPI Zero 2W | patches/bcm43436b0/9_88_4_65/nexmon doesn't find libisl.so.10, even though it is there #575

Open
linuzzx opened this issue Oct 12, 2023 · 3 comments

Comments

@linuzzx
Copy link

linuzzx commented Oct 12, 2023

``I followed every step until

Go to the patches folder for the bcm43430a1/bcm43455c0/bcm43436b0 chipset: cd patches/bcm43430a1/7_45_41_46/nexmon/ / patches/bcm43455c0/<7_45_154 or 7_45_189>/nexmon/ / cd patches/bcm43436b0/9_88_4_65/nexmon/

Compile a patched firmware: make

when I make, I get the error

/home/linus/nexmon/buildtools/gcc-arm-none-eabi-5_4-2016q2-linux-armv7l/bin/../lib/gcc/arm-none-eabi/5.4.1/cc1: error while loading shared libraries: libisl.so.10: cannot open shared object file: No such file or directory
make: *** [Makefile:66: obj/injection.o] Error 1

Even though ls /usr/lib/arm-linux-gnueabihf/ shows that I successfully compiled it and it is present.

Full log:

root@pizero:/home/linus/nexmon/patches/bcm43436b0/9_88_4_65/nexmon# make


          ###########   ###########   ##########    ##########
         ############  ############  ############  ############
         ##            ##            ##   ##   ##  ##        ##
         ##            ##            ##   ##   ##  ##        ##
         ###########   ####  ######  ##   ##   ##  ##    ######
          ###########  ####  #       ##   ##   ##  ##    #    #
                   ##  ##    ######  ##   ##   ##  ##    #    #
                   ##  ##    #       ##   ##   ##  ##    #    #
         ############  ##### ######  ##   ##   ##  ##### ######
         ###########    ###########  ##   ##   ##   ##########

            S E C U R E   M O B I L E   N E T W O R K I N G


                               presents:

              # ###   ###  #   # # ###  ###   ###  # ###
              ##   # #   #  # #  ##   ##   # #   # ##   #
              #    # #####   #   #    #    # #   # #    #
              #    # #      # #  #    #    # #   # #    #
              #    #  #### #   # #    #    #  ###  #    #

                The C-based Firmware Patching Framework


                           !!! WARNING !!!
    Our software may damage your hardware and may void your hardware’s
     warranty! You use our tools at your own risk and responsibility


  COLLECTING STATISTICS read /home/linus/nexmon/STATISTICS.md for more information
  COMPILING src/injection.c => obj/injection.o (details: log/compiler.log)
/home/linus/nexmon/buildtools/gcc-arm-none-eabi-5_4-2016q2-linux-armv7l/bin/../lib/gcc/arm-none-eabi/5.4.1/cc1: error while loading shared libraries: libisl.so.10: cannot open shared object file: No such file or directory
make: *** [Makefile:66: obj/injection.o] Error 1
root@pizero:/home/linus/nexmon/patches/bcm43436b0/9_88_4_65/nexmon# /usr/lib/arm-linux-gnueabihf/
bash: /usr/lib/arm-linux-gnueabihf/: Is a directory
root@pizero:/home/linus/nexmon/patches/bcm43436b0/9_88_4_65/nexmon# ls /usr/lib/arm-linux-gnueabihf/
audit                                libfuse.so.2.9.9                  libnss_mdns4.so.2
avahi                                libg.a                            libnss_mdns6_minimal.so.2
awk                                  libgcc_s.so.1                     libnss_mdns6.so.2
blas                                 libgcrypt.so.20                   libnss_mdns_minimal.so.2
bluetooth                            libgcrypt.so.20.2.8               libnss_mdns.so.2
cifs-utils                           libgdbm_compat.so.4               libnssutil3.so
crt1.o                               libgdbm_compat.so.4.0.0           libntfs-3g.so.883
crti.o                               libgdbm.so.6                      libntfs-3g.so.883.0.0
crtn.o                               libgdbm.so.6.0.0                  libogg.so.0
dhcpcd                               libgd.so.3                        libogg.so.0.8.4
e2fsprogs                            libgd.so.3.0.8                    libopcodes-2.35.2-system.so
engines-1.1                          libgfortran.so.5                  liborc-0.4.so.0
gawk                                 libgfortran.so.5.0.0              liborc-0.4.so.0.32.0
gconv                                libgio-2.0.so.0                   liborc-test-0.4.so.0
gcrt1.o                              libgio-2.0.so.0.6600.8            liborc-test-0.4.so.0.32.0
gio                                  libglib-2.0.so.0                  libp11-kit.so.0
glib-2.0                             libglib-2.0.so.0.6600.8           libp11-kit.so.0.3.0
gstreamer-1.0                        libgmodule-2.0.so.0               libpamc.so.0
gstreamer1.0                         libgmodule-2.0.so.0.6600.8        libpamc.so.0.82.1
krb5                                 libgmp.a                          libpam_misc.so.0
lapack                               libgmp.so                         libpam_misc.so.0.82.1
ld-2.31.so                           libgmp.so.10                      libpam.so.0
ld-linux-armhf.so.3                  libgmp.so.10.4.1                  libpam.so.0.85.1
ld-linux.so.3                        libgmpxx.a                        libpanel.so.6
ldscripts                            libgmpxx.so                       libpanel.so.6.2
libacl.so.1                          libgmpxx.so.4                     libpanelw.so.6
libacl.so.1.1.2253                   libgmpxx.so.4.6.1                 libpanelw.so.6.2
libanl-2.31.so                       libgnutls.so.30                   libparted-fs-resize.so.0
libanl.a                             libgnutls.so.30.29.1              libparted-fs-resize.so.0.0.3
libanl.so                            libgobject-2.0.so.0               libparted.so.2
libanl.so.1                          libgobject-2.0.so.0.6600.8        libparted.so.2.0.3
libapparmor.so.1                     libgomp.so.1                      libpcap.so.0.8
libapparmor.so.1.6.3                 libgomp.so.1.0.0                  libpcap.so.1.10.0
libapt-pkg.so.6.0                    libgpg-error.so.0                 libpci.so.3
libapt-pkg.so.6.0.0                  libgpg-error.so.0.29.0            libpci.so.3.7.0
libapt-private.so.0.0                libgpgme-pthread.so.11            libpcprofile.so
libapt-private.so.0.0.0              libgpgme.so.11                    libpcre2-8.so.0
libargon2.so.1                       libgpgme.so.11.23.0               libpcre2-8.so.0.10.1
libarmmem-aarch64.so                 libgssapi_krb5.so.2               libpcre2-posix.so.2
libarmmem-v6l.so                     libgssapi_krb5.so.2.2             libpcre2-posix.so.2.0.3
libarmmem-v7l.so                     libgstallocators-1.0.so.0         libpcreposix.so.3
libarmmem-v8l.so                     libgstallocators-1.0.so.0.1804.0  libpcreposix.so.3.13.3
libasan.so.6                         libgstapp-1.0.so.0                libpcre.so.3
libasan.so.6.0.0                     libgstapp-1.0.so.0.1804.0         libpcre.so.3.13.3
libasound.so.2                       libgstaudio-1.0.so.0              libpcsclite.so.1
libasound.so.2.0.0                   libgstaudio-1.0.so.0.1804.0       libpcsclite.so.1.0.0
libassuan.so.0                       libgstbase-1.0.so.0               libperl.so.5.32
libassuan.so.0.8.3                   libgstbase-1.0.so.0.1804.0        libperl.so.5.32.1
libatasmart.so.4                     libgstcheck-1.0.so.0              libpipeline.so.1
libatasmart.so.4.0.5                 libgstcheck-1.0.so.0.1804.0       libpipeline.so.1.5.3
libatomic.so.1                       libgstcontroller-1.0.so.0         libplc4.so
libatomic.so.1.2.0                   libgstcontroller-1.0.so.0.1804.0  libplds4.so
libatopology.so.2                    libgstfft-1.0.so.0                libpng16.a
libatopology.so.2.0.0                libgstfft-1.0.so.0.1804.0         libpng16.so
libattr.so.1                         libgstnet-1.0.so.0                libpng16.so.16
libattr.so.1.1.2448                  libgstnet-1.0.so.0.1804.0         libpng16.so.16.37.0
libaudit.so.1                        libgstpbutils-1.0.so.0            libpng.a
libaudit.so.1.0.0                    libgstpbutils-1.0.so.0.1804.0     libpng.so
libavahi-common.so.3                 libgstreamer-1.0.so.0             libpolkit-agent-1.so.0
libavahi-common.so.3.5.4             libgstreamer-1.0.so.0.1804.0      libpolkit-agent-1.so.0.0.0
libavahi-core.so.7                   libgstriff-1.0.so.0               libpolkit-gobject-1.so.0
libavahi-core.so.7.1.0               libgstriff-1.0.so.0.1804.0        libpolkit-gobject-1.so.0.0.0
libbabeltrace-ctf-metadata.so.1      libgstrtp-1.0.so.0                libpopt.so.0
libbabeltrace-ctf-metadata.so.1.0.0  libgstrtp-1.0.so.0.1804.0         libpopt.so.0.0.1
libbabeltrace-ctf.so.1               libgstrtsp-1.0.so.0               libprocps.so.8
libbabeltrace-ctf.so.1.0.0           libgstrtsp-1.0.so.0.1804.0        libprocps.so.8.0.3
libbabeltrace-ctf-text.so.1          libgstsdp-1.0.so.0                libprotobuf-c.so.1
libbabeltrace-ctf-text.so.1.0.0      libgstsdp-1.0.so.0.1804.0         libprotobuf-c.so.1.0.0
libbabeltrace-dummy.so.1             libgsttag-1.0.so.0                libpsl.so.5
libbabeltrace-dummy.so.1.0.0         libgsttag-1.0.so.0.1804.0         libpsl.so.5.3.2
libbabeltrace-lttng-live.so.1        libgstvideo-1.0.so.0              libpthread-2.31.so
libbabeltrace-lttng-live.so.1.0.0    libgstvideo-1.0.so.0.1804.0       libpthread.a
libbabeltrace.so.1                   libgthread-2.0.so.0               libpthread.so
libbabeltrace.so.1.0.0               libgthread-2.0.so.0.6600.8        libpthread.so.0
libbcm_host.so                       libgudev-1.0.so.0                 libpugixml.so.1
libbcm_host.so.0                     libgudev-1.0.so.0.3.0             libpugixml.so.1.11
libbd_crypto.so.2                    libhistory.so.6                   libpython3.9.so.1
libbd_crypto.so.2.0.0                libhistory.so.6.3                 libpython3.9.so.1.0
libbd_fs.so.2                        libhistory.so.8                   libqmi-glib.so.5
libbd_fs.so.2.0.0                    libhistory.so.8.1                 libqmi-glib.so.5.7.0
libbd_loop.so.2                      libhogweed.so.6                   libqpdf.so.28
libbd_loop.so.2.0.0                  libhogweed.so.6.4                 libqpdf.so.28.1.0
libbd_part_err.so.2                  libicudata.so.67                  libreadline.so.6
libbd_part_err.so.2.0.0              libicudata.so.67.1                libreadline.so.6.3
libbd_part.so.2                      libicui18n.so.67                  libreadline.so.8
libbd_part.so.2.0.0                  libicui18n.so.67.1                libreadline.so.8.1
libbd_swap.so.2                      libicuio.so.67                    libresolv-2.31.so
libbd_swap.so.2.0.0                  libicuio.so.67.1                  libresolv.a
libbd_utils.so.2                     libicutest.so.67                  libresolv.so
libbd_utils.so.2.1.0                 libicutest.so.67.1                libresolv.so.2
libbfd-2.35.2-system.so              libicutu.so.67                    librpcsvc.a
libbind9-9.16.44-Raspbian.so         libicutu.so.67.1                  librt-2.31.so
libblas.so.3                         libicuuc.so.67                    librt.a
libblkid.so.1                        libicuuc.so.67.1                  librtmp.so.1
libblkid.so.1.1.0                    libidn2.so.0                      librt.so
libblockdev.so.2                     libidn2.so.0.3.7                  librt.so.1
libblockdev.so.2.0.0                 libimagequant.so.0                libsamba-util.so.0
libbluetooth.so.3                    libip4tc.so.2                     libsamba-util.so.0.0.1
libbluetooth.so.3.19.3               libip4tc.so.2.0.0                 libsamplerate.so.0
libboost_filesystem.so.1.74.0        libip6tc.so.2                     libsamplerate.so.0.2.1
libboost_program_options.so.1.74.0   libip6tc.so.2.0.0                 libsasl2.so.2
libboost_regex.so.1.71.0             libirs-9.16.44-Raspbian.so        libsasl2.so.2.0.25
libboost_regex.so.1.74.0             libisc-9.16.44-Raspbian.so        libseccomp.so.2
libbpf.so.0                          libisccc-9.16.44-Raspbian.so      libseccomp.so.2.5.1
libbpf.so.0.3.0                      libisccfg-9.16.44-Raspbian.so     libSegFault.so
libBrokenLocale-2.31.so              libisc-export.so.1105             libselinux.so.1
libBrokenLocale.a                    libisc-export.so.1105.0.2         libsemanage.so.1
libBrokenLocale.so                   libisl.so.10                     libsepol.so.1
libBrokenLocale.so.1                 libisl.so.23                      libsigsegv.so.2
libbrotlicommon.a                    libisl.so.23.0.0                  libsigsegv.so.2.0.6
libbrotlicommon.so                   libiw.so.30                       libslang.so.2
libbrotlicommon.so.1                 libjansson.so.4                   libslang.so.2.3.2
libbrotlicommon.so.1.0.9             libjansson.so.4.13.0              libsmartcols.so.1
libbrotlidec.a                       libjbig.so.0                      libsmartcols.so.1.1.0
libbrotlidec.so                      libjim.so.0.79                    libsmime3.so
libbrotlidec.so.1                    libjpeg.so.62                     libsource-highlight.so.4
libbrotlidec.so.1.0.9                libjpeg.so.62.3.0                 libsource-highlight.so.4.0.1
libbrotlienc.a                       libjson-c.so.5                    libsqlite3.so.0
libbrotlienc.so                      libjson-c.so.5.1.0                libsqlite3.so.0.8.6
libbrotlienc.so.1                    libk5crypto.so.3                  libssh2.so.1
libbrotlienc.so.1.0.9                libk5crypto.so.3.1                libssh2.so.1.0.1
libbsd.so.0                          libkeyutils.so.1                  libssl3.so
libbsd.so.0.11.3                     libkeyutils.so.1.9                libssl.so.1.1
libbz2.so.1                          libkmod.so.2                      libss.so.2
libbz2.so.1.0                        libkmod.so.2.3.6                  libss.so.2.0
libbz2.so.1.0.4                      libkms++.so.0                     libstdc++.so.6
libc-2.31.so                         libkms++.so.0.0.0                 libstdc++.so.6.0.28
libc.a                               libkms++util.so.0                 libsystemd.so.0
libcamera                            libkms++util.so.0.0.0             libsystemd.so.0.30.0
libcamera_app.so                     libkrb5.so.3                      libtalloc.so.2
libcamera_app.so.1.2.1               libkrb5.so.3.3                    libtalloc.so.2.3.1
libcamera-base.so.0.0                libkrb5support.so.0               libtasn1.so.6
libcamera-base.so.0.0.5              libkrb5support.so.0.1             libtasn1.so.6.6.0
libcamera.so.0.0                     libksba.so.8                      libteamdctl.so.0
libcamera.so.0.0.5                   libksba.so.8.13.0                 libteamdctl.so.0.1.5
libcap-ng.so.0                       libl.a                            libtevent.so.0
libcap-ng.so.0.0.0                   liblapack.so.3                    libtevent.so.0.10.2
libcap.so.2                          liblber-2.4.so.2                  libthread_db-1.0.so
libcap.so.2.44                       liblber-2.4.so.2.11.5             libthread_db.so
libcbor.so.0                         liblcms2.so.2                     libthread_db.so.1
libcbor.so.0.0.0                     liblcms2.so.2.0.12                libtic.so.5
libcc1.so.0                          libldap-2.4.so.2                  libtic.so.5.9
libcc1.so.0.0.0                      libldap_r-2.4.so.2                libtic.so.6
libc_nonshared.a                     libldap_r-2.4.so.2.11.5           libtic.so.6.2
libcom_err.so.2                      liblmdb.so.0                      libtiff.so.5
libcom_err.so.2.1                    liblmdb.so.0.0.0                  libtiff.so.5.6.0
libcontainers.so                     liblognorm.so.5                   libtinfo.so.5
libcontainers.so.0                   liblognorm.so.5.1.0               libtinfo.so.5.9
libcrypt.a                           libltdl.a                         libtinfo.so.6
libcrypto.so.1.1                     libltdl.so                        libtinfo.so.6.2
libcryptsetup.so.12                  libltdl.so.7                      libtirpc.a
libcryptsetup.so.12.6.0              libltdl.so.7.3.1                  libtirpc.so
libcrypt.so                          libluajit-5.1.so.2                libtirpc.so.3
libcrypt.so.1                        libluajit-5.1.so.2.1.0            libtirpc.so.3.0.0
libcrypt.so.1.1.0                    liblz4.so.1                       libturbojpeg.so.0
libc.so                              liblz4.so.1.9.3                   libturbojpeg.so.0.2.0
libc.so.6                            liblzma.so.5                      libubsan.so.1
libctf-nobfd.so.0                    liblzma.so.5.2.5                  libubsan.so.1.0.0
libctf-nobfd.so.0.0.0                libm-2.31.so                      libuchardet.so.0
libctf.so.0                          libm.a                            libuchardet.so.0.0.7
libctf.so.0.0.0                      libmagic.so.1                     libudev.so.1
libcurl-gnutls.so.3                  libmagic.so.1.0.0                 libudev.so.1.7.0
libcurl-gnutls.so.4                  libmatroska.so.7                  libudisks2.so.0
libcurl-gnutls.so.4.7.0              libmatroska.so.7.0.0              libudisks2.so.0.0.0
libcurl.so.4                         libmaxminddb.so.0                 libulockmgr.so.1
libcurl.so.4.7.0                     libmaxminddb.so.0.0.7             libulockmgr.so.1.0.1
libdaemon.so.0                       libmbim-glib.so.4                 libunistring.so.2
libdaemon.so.0.5.0                   libmbim-glib.so.4.5.0             libunistring.so.2.1.0
libdb-5.3.so                         libmcheck.a                       libunwind-arm.so.8
libdbus-1.so.3                       libmd.so.0                        libunwind-arm.so.8.0.1
libdbus-1.so.3.19.17                 libmd.so.0.0.4                    libunwind-coredump.so.0
libdebconfclient.so.0                libmemusage.so                    libunwind-coredump.so.0.0.0
libdebconfclient.so.0.0.0            libmenu.so.6                      libunwind-ptrace.so.0
libdebuginfod-0.183.so               libmenu.so.6.2                    libunwind-ptrace.so.0.0.0
libdebuginfod.so.1                   libmenuw.so.6                     libunwind.so.8
libdebug_sym.so                      libmenuw.so.6.2                   libunwind.so.8.0.1
libdebug_sym.so.0                    libmmal_components.so             libusb-1.0.so.0
libdebug_sym_static.a                libmmal_components.so.0           libusb-1.0.so.0.3.0
libdeflate.so.0                      libmmal_core.so                   libutil-2.31.so
libdevmapper.so.1.02.1               libmmal_core.so.0                 libutil.a
libdl-2.31.so                        libmmal.so                        libutil.so
libdl.a                              libmmal.so.0                      libutil.so.1
libdl.so                             libmmal_util.so                   libuuid.so.1
libdl.so.2                           libmmal_util.so.0                 libuuid.so.1.3.0
libdns-9.16.44-Raspbian.so           libmmal_vc_client.so              libuv.so.1
libdns-export.so.1110                libmmal_vc_client.so.0            libuv.so.1.0.0
libdns-export.so.1110.0.2            libmm-glib.so.0                   libv4l
libdrm_omap.so.1                     libmm-glib.so.0.6.0               libv4l1.so.0
libdrm_omap.so.1.0.0                 libmnl.so.0                       libv4l1.so.0.0.0
libdrm.so.2                          libmnl.so.0.2.0                   libv4l2rds.so.0
libdrm.so.2.4.0                      libmount.so.1                     libv4l2rds.so.0.0.0
libdtovl.so                          libmount.so.1.1.0                 libv4l2.so.0
libdtovl.so.0                        libmpc.so.3                       libv4l2.so.0.0.0
libdvdread.so.8                      libmpc.so.3.2.0                   libv4lconvert0
libdvdread.so.8.0.0                  libmpdec++.so.2.5.1               libv4lconvert.so.0
libdw-0.183.so                       libmpdec.so.2.5.1                 libv4lconvert.so.0.0.0
libdw.so.1                           libmpdec++.so.3                   libvchiq_arm.so
libe2p.so.2                          libmpdec.so.3                     libvchiq_arm.so.0
libe2p.so.2.3                        libmpfr.so.4                      libvchostif.a
libebml.so.5                         libmpfr.so.6                      libvcos.so
libebml.so.5.0.0                     libmpfr.so.6.1.0                  libvcos.so.0
libedit.so.2                         libm.so                           libvcsm.so
libedit.so.2.0.63                    libm.so.6                         libvcsm.so.0
libelf-0.183.so                      libmtp.so.9                       libvolume_key.so.1
libelf.so.1                          libmtp.so.9.4.0                   libvolume_key.so.1.2.3
libelftoolchain.so                   libncurses.so.6                   libvorbis.so.0
libestr.so.0                         libncurses.so.6.2                 libvorbis.so.0.4.9
libestr.so.0.0.0                     libncursesw.so.6                  libwbclient.so.0
libevent-2.1.so.7                    libncursesw.so.6.2                libwbclient.so.0.15
libevent-2.1.so.7.0.1                libndp.so.0                       libwebpdemux.so.2
libexif.so.12                        libndp.so.0.1.0                   libwebpdemux.so.2.0.3
libexif.so.12.3.4                    libnetfilter_conntrack.so.3       libwebpmux.so.3
libexpat.so.1                        libnetfilter_conntrack.so.3.7.0   libwebpmux.so.3.0.1
libexpat.so.1.6.12                   libnettle.so.8                    libwebp.so.6
libexpatw.so.1                       libnettle.so.8.4                  libwebp.so.6.0.2
libexpatw.so.1.6.12                  libnewt.so.0.52                   libwrap.so.0
libext2fs.so.2                       libnewt.so.0.52.21                libwrap.so.0.7.6
libext2fs.so.2.4                     libnfnetlink.so.0                 libX11.so.6
libfakeroot                          libnfnetlink.so.0.2.0             libX11.so.6.4.0
libfastjson.so.4                     libnfsidmap                       libXau.so.6
libfastjson.so.4.3.0                 libnfsidmap.so.0                  libXau.so.6.0.0
libfdisk.so.1                        libnfsidmap.so.0.3.0              libxcb.so.1
libfdisk.so.1.1.0                    libnftables.so.1                  libxcb.so.1.1.0
libfdt-1.6.0.so                      libnftables.so.1.0.0              libXdmcp.so.6
libfdt.so.1                          libnftnl.so.11                    libXdmcp.so.6.0.0
libffi.so.7                          libnftnl.so.11.5.0                libXext.so.6
libffi.so.7.1.0                      libnghttp2.so.14                  libXext.so.6.4.0
libfftw3f_omp.so.3                   libnghttp2.so.14.20.1             libxml2.so.2
libfftw3f_omp.so.3.5.8               libnl-3.so.200                    libxml2.so.2.9.10
libfftw3f.so.3                       libnl-3.so.200.26.0               libXmuu.so.1
libfftw3f.so.3.5.8                   libnl-genl-3.so.200               libXmuu.so.1.0.0
libfftw3f_threads.so.3               libnl-genl-3.so.200.26.0          libXpm.so.4
libfftw3f_threads.so.3.5.8           libnl-route-3.so.200              libXpm.so.4.11.0
libfido2.so.1                        libnl-route-3.so.200.26.0         libxtables.so.12
libfido2.so.1.6.0                    libnm.so.0                        libxtables.so.12.4.0
libfl.a                              libnm.so.0.1.0                    libxxhash.so.0
libFLAC.so.8                         libnpth.so.0                      libxxhash.so.0.8.0
libFLAC.so.8.3.0                     libnpth.so.0.1.2                  libyaml-0.so.2
libfl.so                             libns-9.16.44-Raspbian.so         libyaml-0.so.2.0.6
libfl.so.2                           libnsl-2.31.so                    libz.a
libfl.so.2.0.0                       libnsl.a                          libz.so
libfmt.so.7                          libnsl.so                         libz.so.1
libfmt.so.7.1.3                      libnsl.so.1                       libz.so.1.2.11
libfontconfig.so.1                   libnsl.so.2                       libzstd.so.1
libfontconfig.so.1.12.0              libnsl.so.2.0.1                   libzstd.so.1.4.8
libform.so.6                         libnspr4.so                       Mcrt1.o
libform.so.6.2                       libnss3.so                        ModemManager
libformw.so.6                        libnss_compat-2.31.so             NetworkManager
libformw.so.6.2                      libnss_compat.so                  nss
libfreetype.a                        libnss_compat.so.2                perl
libfreetype.so                       libnss_dns-2.31.so                perl5
libfreetype.so.6                     libnss_dns.so                     perl-base
libfreetype.so.6.17.4                libnss_dns.so.2                   pkgconfig
libfribidi.so.0                      libnss_files-2.31.so              rsyslog
libfribidi.so.0.4.0                  libnss_files.so                   samba
libfstrm.so.0                        libnss_files.so.2                 sasl2
libfstrm.so.0.1.0                    libnss_hesiod-2.31.so             Scrt1.o
libftdi1.so.2                        libnss_hesiod.so                  security
libftdi1.so.2.5.0                    libnss_hesiod.so.2                xtables
libfuse.so.2                         libnss_mdns4_minimal.so.2
@linuzzx linuzzx changed the title RPI Zero 2W | patches/bcm43436b0/9_88_4_65/nexmon doesn't find libisl.so.10, even though is is there RPI Zero 2W | patches/bcm43436b0/9_88_4_65/nexmon doesn't find libisl.so.10, even though it is there Oct 12, 2023
@icountu
Copy link

icountu commented Dec 22, 2023

Same issue 😭

@wmehilos
Copy link

I fixed this by changing the symlink commands (for both libisl and libmpfr) a tad; at least on my Pi 5 the versions of the libs the commands in the readme were trying to symlink didn't exist. I'm running Raspberry Pi OS Bookworm.

$ uname -a

Linux hostname 6.6.31+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64 GNU/Linux

From the readme, the command:

sudo ln -s /usr/lib/arm-linux-gnueabihf/libisl.so.23.0.0 /usr/lib/arm-linux-gnueabihf/libisl.so.10

links /usr/lib/arm-linux-gnueabihf/libisl.so.10 to /usr/lib/arm-linux-gnueabihf/libisl.so.23.0.0, which doesn't exist on my Pi 5.

Same deal with the mpfr library in the next ln command.

The fix is simple, but you'll want to double check what the latest version of the libs you have installed on your Pi.

First, remove the old symlinks:

sudo rm /usr/lib/arm-linux-gnueabihf/libisl.so.10
sudo rm /usr/lib/arm-linux-gnueabihf/libmpfr.so.4

Then, get a list of each to see what version you have installed. Find the file with no -> after it. In my case:

$ ls -l /usr/lib/arm-linux-gnueabihf/libisl*

lrwxrwxrwx 1 root root 16 Jan 2 04:58 /usr/lib/arm-linux-gnueabihf/libisl.so.23 -> libisl.so.23.2.0

-rw-r--r-- 1 root root 1199120 Jan 2 04:58 /usr/lib/arm-linux-gnueabihf/libisl.so.23.2.0

and

$ ls -l /usr/lib/arm-linux-gnueabihf/libmpfr*

lrwxrwxrwx 1 root root 16 Jan 14 2023 /usr/lib/arm-linux-gnueabihf/libmpfr.so.6 -> libmpfr.so.6.2.0

-rw-r--r-- 1 root root 330676 Jan 14 2023 /usr/lib/arm-linux-gnueabihf/libmpfr.so.6.2.0

So, in my case, I should change

sudo ln -s /usr/lib/arm-linux-gnueabihf/libisl.so.23.0.0 /usr/lib/arm-linux-gnueabihf/libisl.so.10

to

sudo ln -s /usr/lib/arm-linux-gnueabihf/libisl.so.23.2.0 /usr/lib/arm-linux-gnueabihf/libisl.so.10

and the same for the libmpfr library.

I don't know if there is some technical reason to not symlink to the other symlink (libisl.so.23) in that directory for libisl, which would have avoided this issue in the first place, since presumably these libraries get small point updates often but that symlink to version 23 or whatever won't as often. I tried it that way too and make didn't complain, but I'm not an authority on this at all.

I continued to have unrelated issues backing up my stock firmware, but YMMV on a different Pi so I won't get into that here.

@Xendr1k
Copy link

Xendr1k commented Oct 12, 2024

This problem occurs when you don't download "nexmon" to "cd/". I don't quite understand why but that's how it happens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants