Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Undefined symbol "__libc_start1@FBSD_1.7" on pfSense Plus 23.01

    Scheduled Pinned Locked Moved General pfSense Questions
    52 Posts 9 Posters 12.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sgw @stephenw10
      last edited by

      @stephenw10

      Currently I have:

      ABI=FreeBSD:14:aarch64
      ALTABI=freebsd:14:aarch64:64
      
      PKG_ENV {
      	SSL_CA_CERT_FILE=/etc/ssl/netgate-ca.pem
      	SSL_CLIENT_CERT_FILE=/usr/local/etc/pfSense/pkg/repos/pfSense-repo-stable-cert.pem
      	SSL_CLIENT_KEY_FILE=/usr/local/etc/pfSense/pkg/repos/pfSense-repo-stable-key.pem
      }
      

      but as mentioned it seemed to work.

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Yes, try switching to 23.05 and see if it allows you to update.

        S 1 Reply Last reply Reply Quote 0
        • S
          sgw @stephenw10
          last edited by

          @stephenw10

          Unfortunately not.

          Option 13 gives me:

          Enter an option: 13
          
          ld-elf.so.1: /usr/local/bin/php: Undefined symbol "__libc_start1@FBSD_1.7"
          ld-elf.so.1: /usr/local/bin/php: Undefined symbol "__libc_start1@FBSD_1.7"
          ld-elf.so.1: /usr/local/bin/php: Undefined symbol "__libc_start1@FBSD_1.7"
          ld-elf.so.1: /usr/local/bin/php: Undefined symbol "__libc_start1@FBSD_1.7"
          /usr/local/libexec/pfSense-upgrade: /usr/local/sbin/-update-repos.php: not found
          cp: /usr/local/etc/pkg/repos/.conf: No such file or directory
          /usr/local/libexec/pfSense-upgrade: /usr/local/sbin/-update-repos.php: not found
          failed to update the repository settings!!!
          ld-elf.so.1: /usr/local/bin/php-cgi: Undefined symbol "__libc_start1@FBSD_1.7"
          

          even after toggling 23.01 -> 23.05 -> 23.01 -> 23.05 ...

          Again "No active remote repositories configured", seems that the symlink is gone again.

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Hmm, OK.
            What do these show:

            pfSense-upgrade -d
            
            pkg-static -d update
            
            S 1 Reply Last reply Reply Quote 0
            • S
              sgw @stephenw10
              last edited by

              @stephenw10

              I think I messed it up even more. Currently php is messed up, GUI disfunctional.

              # pfSense-upgrade -d
              
              Fatal error: Uncaught Error: Call to undefined function gettext() in /etc/inc/certs.inc:48
              Stack trace:
              #0 /etc/inc/functions.inc(34): require_once()
              #1 /etc/inc/notices.inc(26): require_once('/etc/inc/functi...')
              #2 /etc/inc/config.inc(51): require_once('/etc/inc/notice...')
              #3 /usr/local/sbin/pfSense-update-repos.php(23): require_once('/etc/inc/config...')
              #4 {main}
                thrown in /etc/inc/certs.inc on line 48
              failed to update the repository settings!!!
              

              pkg-static -d update runs through OK.

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Hmm, I assume reinstalling this would be difficult?

                pkg-static -d update runs successfully against the 23.05 repo?

                S 1 Reply Last reply Reply Quote 0
                • S
                  sgw @stephenw10
                  last edited by

                  @stephenw10

                  reinstalling would include sending the appliance from one country to the other .. I am a few hundred kms away from that box. I have a 2nd SG1100 there (already on 23.05, no such issues there!), so it's possible, but it would be great to avoid that.

                  Yes, pkg-static -d update succeeds while:

                  # /usr/local/etc/pkg/repos: ls -l
                  total 1
                  -rw-r--r--  1 root  wheel  26 Feb 10 21:04 FreeBSD.conf
                  lrwxr-xr-x  1 root  wheel  57 Jun 22 15:18 pfSense.conf -> /usr/local/etc/pfSense/pkg/repos/pfSense-repo-stable.conf
                  
                  # cat pfSense.conf 
                  FreeBSD: { enabled: no }
                  
                  pfSense-core: {
                      url: "pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_05_aarch64-core",
                      mirror_type: "srv",
                      signature_type: "fingerprints",
                      fingerprints: "/usr/local/share/pfSense/keys/pkg",
                      enabled: yes
                  }
                  
                  pfSense: {
                      url: "pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_05_aarch64-pfSense_plus_v23_05",
                      mirror_type: "srv",
                      signature_type: "fingerprints",
                      fingerprints: "/usr/local/share/pfSense/keys/pkg",
                      enabled: yes
                  }
                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    Ah, it's an 1100?

                    Is it installed as ZFS? You can probably roll back to a snapshot before you tried to upgrade if so.

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      sgw @stephenw10
                      last edited by

                      @stephenw10 yeah, zfs.

                      tried to reinstall php stuff and gettext etc ... a mess

                      gui broken, can I roll back from cli?

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        Yes, you can using bectl. Or from the loader if you have console access.

                        First check what there is:

                        bectl list -s
                        
                        S 1 Reply Last reply Reply Quote 0
                        • S
                          sgw @stephenw10
                          last edited by

                          @stephenw10

                           bectl list -s
                          BE/Dataset/Snapshot    Active Mountpoint Space Created
                          
                          default
                            pfSense/ROOT/default NR     /          897M  2023-02-10 22:00
                          

                          nothing else

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            sgw @sgw
                            last edited by

                            Could I get some list of php-packages to reinstall maybe? That might fix something ...

                            Rolling back is not possible as far as I understand. Looks as if everything has been written into this first boot env.

                            thanks

                            1 Reply Last reply Reply Quote 0
                            • stephenw10S
                              stephenw10 Netgate Administrator
                              last edited by

                              Yup no BE snaps other than default, nothing to roll back to.

                              What pkg versions have you ended up with:

                              pkg-static info -x pfsense
                              
                              S 1 Reply Last reply Reply Quote 0
                              • S
                                sgw @stephenw10
                                last edited by

                                @stephenw10 said in Undefined symbol "__libc_start1@FBSD_1.7" on pfSense Plus 23.01:

                                pkg-static info -x pfsense

                                # pkg-static info -x pfsense
                                pfSense-base-23.01
                                pfSense-boot-23.01
                                pfSense-default-config-serial-23.01
                                pfSense-kernel-pfSense-23.01
                                pfSense-pkg-aws-wizard-0.10
                                pfSense-pkg-ipsec-profile-wizard-1.1_1
                                pfSense-pkg-squid-0.4.46
                                pfSense-rc-23.01
                                pfSense-repo-23.01
                                pfSense-u-boot-1100-20220428
                                pfSense-u-boot-2100-20210930_1
                                pfSense-u-boot-env-20230123
                                pfSense-upgrade-1.0_62
                                

                                thanks for your patience!

                                1 Reply Last reply Reply Quote 0
                                • stephenw10S
                                  stephenw10 Netgate Administrator
                                  last edited by

                                  Ok those are old versions of pfSense-upgrade.

                                  Try running: pkg-static upgrade pfSense-upgrade

                                  Then try to run that again once it's updated.

                                  S 1 Reply Last reply Reply Quote 0
                                  • S
                                    sgw @stephenw10
                                    last edited by

                                    @stephenw10

                                    done:

                                    pkg-static info -x pfsense
                                    pfSense-base-23.01
                                    pfSense-boot-23.01
                                    pfSense-default-config-serial-23.01
                                    pfSense-kernel-pfSense-23.01
                                    pfSense-pkg-aws-wizard-0.10
                                    pfSense-pkg-ipsec-profile-wizard-1.1_1
                                    pfSense-pkg-squid-0.4.46
                                    pfSense-rc-23.01
                                    pfSense-repo-23.01
                                    pfSense-u-boot-1100-20220428
                                    pfSense-u-boot-2100-20210930_1
                                    pfSense-u-boot-env-20230123
                                    pfSense-upgrade-1.0_62
                                    php81-pfSense-module-0.91
                                    
                                    S 1 Reply Last reply Reply Quote 0
                                    • S
                                      sgw @sgw
                                      last edited by

                                      @sgw said in Undefined symbol "__libc_start1@FBSD_1.7" on pfSense Plus 23.01:

                                      php81-pfSense-module-0.91

                                      ... comes from my attempts to "fix things".

                                      I suggested the customer to send the appliance, will get his reply tmrw.

                                      I think we can't trust it anymore, right now this:

                                      *** Welcome to Netgate pfSense Plus 23.01-RELEASE (arm64) on xxx ***
                                      
                                      Fatal error: Uncaught Error: Call to undefined function ctype_digit() in /etc/inc/util.inc:257
                                      Stack trace:
                                      #0 /etc/inc/interfaces.inc(162): is_numericint('4090')
                                      #1 /etc/inc/interfaces.inc(247): vlan_valid_tag('4090')
                                      #2 /etc/inc/interfaces.inc(5932): interface_is_vlan('mvneta0.4090')
                                      #3 /etc/inc/interfaces.inc(6375): get_real_interface('mvneta0.4090')
                                      #4 /etc/inc/interfaces.inc(6618): find_interface_ipv6('mvneta0.4090', false)
                                      #5 /etc/rc.banner(147): get_interface_ipv6('wan')
                                      #6 {main}
                                        thrown in /etc/inc/util.inc on line 257
                                      PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 257, Message: Uncaught Error: Call to undefined function ctype_digit() in /etc/inc/util.inc:257
                                      Stack trace:
                                      #0 /etc/inc/interfaces.inc(162): is_numericint('4090')
                                      #1 /etc/inc/interfaces.inc(247): vlan_valid_tag('4090')
                                      #2 /etc/inc/interfaces.inc(5932): interface_is_vlan('mvneta0.4090')
                                      #3 /etc/inc/interfaces.inc(6375): get_real_interface('mvneta0.4090')
                                      #4 /etc/inc/interfaces.inc(6618): find_interface_ipv6('mvneta0.4090', false)
                                      #5 /etc/rc.banner(147): get_interface_ipv6('wan')
                                      #6 {main}
                                        thrown
                                       0) Logout (SSH only)                  9) pfTop
                                       1) Assign Interfaces                 10) Filter Logs
                                       2) Set interface(s) IP address       11) Restart webConfigurator
                                       3) Reset webConfigurator password    12) PHP shell + Netgate pfSense Plus tools
                                       4) Reset to factory defaults         13) Update from console
                                       5) Reboot system                     14) Disable Secure Shell (sshd)
                                       6) Halt system                       15) Restore recent configuration
                                       7) Ping host                         16) Restart PHP-FPM
                                       8) Shell
                                      
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • stephenw10S
                                        stephenw10 Netgate Administrator
                                        last edited by

                                        Hmm, did it not offer an upgrade for pfSense-upgrade?

                                        It's still looking at the 23.05 repo branch?

                                        S 1 Reply Last reply Reply Quote 0
                                        • S
                                          sgw @stephenw10
                                          last edited by

                                          @stephenw10 it's looking at 23.01 (/usr/local/etc/pfSense/pkg/repos/pfSense-repo-prev.conf)

                                          S 1 Reply Last reply Reply Quote 0
                                          • S
                                            sgw @sgw
                                            last edited by

                                             pkg-static upgrade pfSense-upgrade
                                            Updating pfSense-core repository catalogue...
                                            pfSense-core repository is up to date.
                                            Updating pfSense repository catalogue...
                                            pfSense repository is up to date.
                                            All repositories are up to date.
                                            Checking integrity... done (0 conflicting)
                                            Your packages are up to date.
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.