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
    17 Posts 6 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.
    • 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!

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