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

    Squid: "Undefined symbol "_ZTVNSt3__117bad_function_callE" after upgrade to 2.8

    Scheduled Pinned Locked Moved Cache/Proxy
    18 Posts 7 Posters 2.0k 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.
    • D
      ddepaolis
      last edited by

      I just upgrded my PFSense from 2.7.2 to 2.8; upgrading operations completed fine.

      Then I wanted to add Squid package as well, installing it after having completed this upgrade.

      Squid installation process completed regularly. But after a very simple config, daemon didn't start in any way. When I tried by CLI, I received this error message:
      "ld-elf.so.1: /usr/local/sbin/squid: Undefined symbol "_ZTVNSt3__117bad_function_callE"

      Maybe Squid last release (0.5.3) is not compatible with libc++ in FreeBSD 15.0 ?

      1 Reply Last reply Reply Quote 0
      • S
        snow
        last edited by snow

        I have the same issue after upgrading from 2.7.2 to 2.8.0.
        When trying to start squid the below message is shown in syslog:

        php-fpm[71339]: /pkg_edit.php: The command '/usr/local/sbin/squid -f /usr/local/etc/squid/squid.conf' returned exit code '1', the output was 'ld-elf.so.1: /usr/local/sbin/squid: Undefined symbol "_ZTVNSt3__117bad_function_callE"'

        1 Reply Last reply Reply Quote 0
        • O
          ozpfsf
          last edited by

          Hey that is familiar :

          [2.8.0-RELEASE][admin@fw1.man.mylocal]/root: squid -z
          ld-elf.so.1: /usr/local/sbin/squid: Undefined symbol "ZTVNSt3__117bad_function callE"

          Hopefully it is resolved soon!

          1 Reply Last reply Reply Quote 0
          • KOMK
            KOM
            last edited by

            I also have this issue (tried upgrading this morning and had to roll back). No idea if this works as I can't try again until tomorrow.

            https://dannyda.com/2025/05/30/how-to-fix-pfsense-community-edition-pfsense-ce-2-8-0-squid-issue/

            G 1 Reply Last reply Reply Quote 0
            • G
              guilhermemulato @KOM
              last edited by

              @KOM

              This worked for me, but I don't understand why and if this lib can cause any problems later on.

              KOMK 1 Reply Last reply Reply Quote 0
              • KOMK
                KOM @guilhermemulato
                last edited by

                @guilhermemulato That's why I'm not moving forward with 2.8.0 until they fix this issue.

                1 Reply Last reply Reply Quote 0
                • O
                  ozpfsf
                  last edited by

                  @kom that did not resolve the issue for me. Seeing a few other 2.8 gremlins - might look to downgrade for a bit.

                  1 Reply Last reply Reply Quote 0
                  • KOMK
                    KOM
                    last edited by

                    Apparently just uninstalling then reinstalling squid will fix this issue. The new squid cleans up files left behind by old squid.

                    1 Reply Last reply Reply Quote 1
                    • A
                      aGeekhere
                      last edited by

                      Is this issue fixed if you reinstall squid after updating?

                      Never Fear, A Geek is Here!

                      S KOMK 2 Replies Last reply Reply Quote 0
                      • S
                        snow @aGeekhere
                        last edited by

                        @aGeekhere said in Squid: "Undefined symbol "_ZTVNSt3__117bad_function_callE" after upgrade to 2.8:

                        Is this issue fixed if you reinstall squid after updating?

                        Before reinstalling, you need to move the library so that it's no longer present in /usr/lib (e.g. by running "mv /usr/lib/libc++.so.1 /root").

                        See:
                        https://forum.netgate.com/topic/197595/now-available-pfsense-ce-2-8-0-release/7
                        https://forum.netgate.com/topic/195424/after-upgrade-to-24-11-squid-doesn-t-start/42

                        A 1 Reply Last reply Reply Quote 0
                        • A
                          aGeekhere @snow
                          last edited by

                          @snow said in Squid: "Undefined symbol "_ZTVNSt3__117bad_function_callE" after upgrade to 2.8:

                          https://forum.netgate.com/topic/197595/now-available-pfsense-ce-2-8-0-release/7

                          Hmm so should the order be
                          uninstall squid,
                          update pfsense + reboot
                          mv /usr/lib/libc++.so.1 /root
                          install squid

                          Never Fear, A Geek is Here!

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

                            @aGeekhere

                            Yes, you can do it in the mentioned order.

                            1 Reply Last reply Reply Quote 0
                            • KOMK
                              KOM @aGeekhere
                              last edited by

                              @aGeekhere I just tried it. It does not fix the problem. I'm also not comfortable with the 'move lib somewhere else' fix as I don't know what side-effects it may have and I don't know how a future upgrade will handle it.

                              A 1 Reply Last reply Reply Quote 0
                              • A
                                aGeekhere @KOM
                                last edited by

                                @KOM Has the issue been added to the bug tracker?

                                Never Fear, A Geek is Here!

                                KOMK 1 Reply Last reply Reply Quote 0
                                • KOMK
                                  KOM @aGeekhere
                                  last edited by

                                  @aGeekhere No idea.

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    aGeekhere
                                    last edited by

                                    See https://redmine.pfsense.org/issues/16262

                                    Never Fear, A Geek is Here!

                                    A 1 Reply Last reply Reply Quote 0
                                    • patient0P patient0 referenced this topic on
                                    • A
                                      aGeekhere @aGeekhere
                                      last edited by

                                      @aGeekhere

                                      Update, will not be fixed as squid is deprecated from pfSense

                                      Never Fear, A Geek is Here!

                                      JonathanLeeJ 1 Reply Last reply Reply Quote 0
                                      • patient0P patient0 referenced this topic
                                      • patient0P patient0 referenced this topic
                                      • JonathanLeeJ
                                        JonathanLee @aGeekhere
                                        last edited by

                                        @aGeekhere They just release Squid 7 and it is stable if you want to check it out

                                        "The Squid HTTP Proxy team is very pleased to announce the availability
                                        of the Squid-7.1 release!

                                        This release is, we believe, stable enough for general production use.
                                        We encourage all users of any previous major version of Squid to upgrade to it,
                                        as well as users of beta version 7.0.X.

                                        It can be downloaded from GitHub, at
                                        https://github.com/squid-cache/squid/releases/tag/SQUID_7_1

                                        Since version 6, Squid offers:

                                        • better support for overlapping IP ranges and wildcard domains in acl
                                        • countless security, portability, and documentation fixes

                                        Since version 6, some previously deprecated features have been removed:

                                        • Edge Side Includes (ESI)
                                        • access to the cache manager using the cache_object:// scheme - use
                                          http instead
                                        • the squdclient tool - use curl
                                          http://<squid-address>/squid-internal-mgr/menu instead
                                        • the cachemgr.cgi tool
                                        • the purge tool - use the http PURGE method instead
                                        • Ident protocol support
                                        • basic_smb_lm_auth and ntlm_smb_lm_auth helpers - use Samba's
                                          ntlm_auth instead

                                        Further details can be found in the release notes and in the changelog

                                        Please remember to run "squid -k parse" when testing the upgrade to a new
                                        version of Squid. It will audit your configuration files and report
                                        any identifiable issues the new release will have in your installation
                                        before you "press go".

                                        If you encounter any issues with this release please file a bug report at
                                        https://bugs.squid-cache.org/

                                        --
                                        Francesco Chemolli


                                        squid-users mailing list
                                        squid-users@lists.squid-cache.org
                                        https://lists.squid-cache.org/listinfo/squid-users"

                                        I am having issues with this right now

                                        "I got as far as this with the make clean install no matter what I do I can’t get this package installed. I have tried pkg install heimdal same error after install and pkg install krb5 and pkg install krb5-devel. I don’t know what I am doing wrong it does the make clean for a while and crashes for the bootstrap version the other one I could get going

                                        ERROR:
                                        
                                        checking whether S5L_CTX_sess_set_get_cb() callback accepts a const ID argument"
                                        ... yes checking
                                        "whether X509_get0_signature() accepts const parameters"
                                        ... yes
                                        checking whether the TXT_DB use OPENSSL_PSTRING data member... yes checking whether the squid workaround for buggy versions of sk_OPENSSL_PSTRING_V
                                        alue should used... no
                                        checking whether the workaround for OpenSSL IMPLEMENT_LHASH_
                                        macros should used
                                        ... yes
                                        configure: OpenSSL library support: yes -lcrypto -lss1 configure "Library -Kit-kros" support: no (auto)
                                        /configure: LIBHEIMDAL_KRB5_PATH+=-L/usr/lib: not found /configure: LIBHEIMDAL_KRB5_CFLAGS+=-1/usr/include: not found checking for LIBHEIMDAL_KRB5... no
                                        configure: error: Required library 'heimdal-krb5' not found
                                        ニニニン
                                        Script "configure" failed unexpectedly.
                                        Please report the problem to timp87@gmail.com maintainerl and attach the
                                        '/usr/ports/uuu/squid/uork/squid-7.1/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system te.g. a /usr/local/sbin/pkg-static into -g -tal.
                                        *** Error code 1
                                        Stop.
                                        makel1]: stopped in /usr/ports/www/squid
                                        *** Error code 1
                                        Stop.
                                        make: stopped in /usr/ports/www/squid root@free:/usr/ports/www/squid #"
                                        

                                        it gets so far along and fails with this error.

                                        Make sure to upvote

                                        1 Reply Last reply Reply Quote 0
                                        • First post
                                          Last post
                                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.