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
    16 Posts 6 Posters 874 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!

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