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

    squid package produces "undefined symbol" when running squid - tried reinstall and reverting to factory defaults

    Scheduled Pinned Locked Moved Cache/Proxy
    8 Posts 3 Posters 511 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.
    • J
      jpv9
      last edited by

      Hi team
      I am getting the following error when testing my squid configuration. This was happening on 24.07 and when I just upgraded to 24.11 today. I'm on a Netgate 6100

      ld-elf.so.1: /usr/local/sbin/squid: Undefined symbol "_ZTTNSt3__118basic_stringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEE"

      Having reverted back to factory settings, re-installed all packages and then again restored my configuration, I'm still getting this error. A little searching on Google found the symbol defined under the llvm project (below), but I'm not sure how to proceed from here? Do I need to re-install the underlying BSD packages?

      Many thanks for any help anyone can provide.

      https://llvm.googlesource.com/llvm-project/libcxx/+/refs/heads/master/lib/abi/CHANGELOG.TXT
      * 997d41cdec53 - [libc++] Instantiate additional <iostream> members in the dylib
        This commit added new explicit instantiations for classes in <iostream> in
        the library. This was done after noticing that many programs that used streams
        ended up containing weak definitions of these classes, which has a negative
        impact on both code size and load times. This change is not an ABI break,
        since we are just adding additional symbols.
        All platforms
        -------------
        Symbol added: _ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv
        Symbol added: _ZNSt3__113basic_filebufIcNS_11char_traitsIcEEE11__read_modeEv
        Symbol added: _ZNSt3__113basic_filebufIcNS_11char_traitsIcEEE12__write_modeEv
        Symbol added: _ZNSt3__113basic_filebufIcNS_11char_traitsIcEEE4openEPKcj
        Symbol added: _ZNSt3__113basic_filebufIcNS_11char_traitsIcEEE4swapERS3_
        Symbol added: _ZNSt3__113basic_filebufIcNS_11char_traitsIcEEE4syncEv
        Symbol added: _ZNSt3__113basic_filebufIcNS_11char_traitsIcEEE5closeEv
        Symbol added: _ZNSt3__113basic_filebufIcNS_11char_traitsIcEEE5imbueERKNS_6localeE
        Symbol added: _ZNSt3__113basic_filebufIcNS_11char_traitsIcEEE6setbufEPcl
        Symbol added: _ZNSt3__113basic_filebufIcNS_11char_traitsIcEEE7seekoffExNS_8ios_base7seekdirEj
        Symbol added: _ZNSt3__113basic_filebufIcNS_11char_traitsIcEEE7seekposENS_4fposI11__mbstate_tEEj
        Symbol added: _ZNSt3__113basic_filebufIcNS_11char_traitsIcEEE8overflowEi
        Symbol added: _ZNSt3__113basic_filebufIcNS_11char_traitsIcEEE9pbackfailEi
        Symbol added: _ZNSt3__113basic_filebufIcNS_11char_traitsIcEEE9underflowEv
        Symbol added: _ZNSt3__113basic_filebufIcNS_11char_traitsIcEEEC1EOS3_
        Symbol added: _ZNSt3__113basic_filebufIcNS_11char_traitsIcEEEC1Ev
        Symbol added: _ZNSt3__113basic_filebufIcNS_11char_traitsIcEEEC2EOS3_
        Symbol added: _ZNSt3__113basic_filebufIcNS_11char_traitsIcEEEC2Ev
        Symbol added: _ZNSt3__113basic_filebufIcNS_11char_traitsIcEEED0Ev
        Symbol added: _ZNSt3__113basic_filebufIcNS_11char_traitsIcEEED1Ev
        Symbol added: _ZNSt3__113basic_filebufIcNS_11char_traitsIcEEED2Ev
        Symbol added: _ZNSt3__114basic_ifstreamIcNS_11char_traitsIcEEE4openEPKcj
        Symbol added: _ZNSt3__114basic_ifstreamIcNS_11char_traitsIcEEE4openERKNS_12basic_stringIcS2_NS_9allocatorIcEEEEj
        Symbol added: _ZNSt3__114basic_ofstreamIcNS_11char_traitsIcEEE4openEPKcj
        Symbol added: _ZNSt3__114basic_ofstreamIcNS_11char_traitsIcEEE4openERKNS_12basic_stringIcS2_NS_9allocatorIcEEEEj
        Symbol added: _ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strERKNS_12basic_stringIcS2_S4_EE
        Symbol added: _ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE4swapERS5_
        Symbol added: _ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE7seekoffExNS_8ios_base7seekdirEj
        Symbol added: _ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE8overflowEi
        Symbol added: _ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE9pbackfailEi
        Symbol added: _ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE9underflowEv
        Symbol added: _ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEEC1EOS5_
        Symbol added: _ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEEC2EOS5_
        Symbol added: _ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEEaSEOS5_
        Symbol added: _ZNSt3__118basic_stringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEaSEOS5_
        Symbol added: _ZNSt3__119basic_istringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEaSEOS5_
        Symbol added: _ZNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEaSEOS5_
        Symbol added: _ZTCNSt3__114basic_ifstreamIcNS_11char_traitsIcEEEE0_NS_13basic_istreamIcS2_EE
        Symbol added: _ZTCNSt3__114basic_ofstreamIcNS_11char_traitsIcEEEE0_NS_13basic_ostreamIcS2_EE
        Symbol added: _ZTCNSt3__118basic_stringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEE0_NS_13basic_istreamIcS2_EE
        Symbol added: _ZTCNSt3__118basic_stringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEE0_NS_14basic_iostreamIcS2_EE
        Symbol added: _ZTCNSt3__118basic_stringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEE16_NS_13basic_ostreamIcS2_EE
        Symbol added: _ZTCNSt3__119basic_istringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEE0_NS_13basic_istreamIcS2_EE
        Symbol added: _ZTCNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEE0_NS_13basic_ostreamIcS2_EE
        Symbol added: _ZTINSt3__113basic_filebufIcNS_11char_traitsIcEEEE
        Symbol added: _ZTINSt3__114basic_ifstreamIcNS_11char_traitsIcEEEE
        Symbol added: _ZTINSt3__114basic_ofstreamIcNS_11char_traitsIcEEEE
        Symbol added: _ZTINSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEEE
        Symbol added: _ZTINSt3__118basic_stringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEE
        Symbol added: _ZTINSt3__119basic_istringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEE
        Symbol added: _ZTINSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEE
        Symbol added: _ZTSNSt3__113basic_filebufIcNS_11char_traitsIcEEEE
        Symbol added: _ZTSNSt3__114basic_ifstreamIcNS_11char_traitsIcEEEE
        Symbol added: _ZTSNSt3__114basic_ofstreamIcNS_11char_traitsIcEEEE
        Symbol added: _ZTSNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEEE
        Symbol added: _ZTSNSt3__118basic_stringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEE
        Symbol added: _ZTSNSt3__119basic_istringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEE
        Symbol added: _ZTSNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEE
        Symbol added: _ZTTNSt3__114basic_ifstreamIcNS_11char_traitsIcEEEE
        Symbol added: _ZTTNSt3__114basic_ofstreamIcNS_11char_traitsIcEEEE
        Symbol added: *_ZTTNSt3__118basic_stringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEE*
        Symbol added: _ZTTNSt3__119basic_istringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEE
        Symbol added: _ZTTNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEE
        Symbol added: _ZTVNSt3__113basic_filebufIcNS_11char_traitsIcEEEE
        Symbol added: _ZTVNSt3__114basic_ifstreamIcNS_11char_traitsIcEEEE
        Symbol added: _ZTVNSt3__114basic_ofstreamIcNS_11char_traitsIcEEEE
        Symbol added: _ZTVNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEEE
        Symbol added: _ZTVNSt3__118basic_stringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEE
        Symbol added: _ZTVNSt3__119basic_istringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEE
        Symbol added: _ZTVNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEE
      
      1 Reply Last reply Reply Quote 0
      • D
        dauhee
        last edited by

        https://forum.netgate.com/topic/195424/after-upgrade-to-24-11-squid-doesn-t-start

        topic already there

        J 1 Reply Last reply Reply Quote 0
        • J
          jpv9 @dauhee
          last edited by

          Hi @dauhee - thanks for confirming that others are seeing the same problem. Its not that I didnt check the forums first, but unfortunately because it was my first post, it took multiple days to be accepted.

          1 Reply Last reply Reply Quote 0
          • D
            dauhee
            last edited by

            Thanks jpv9. I don't think there is a fix for our undefined symbol issue yet so its a waiting game. The other thread I linked got hijacked by a different error that a person had and that error was resolved by a code change

            J 1 Reply Last reply Reply Quote 0
            • J
              jpv9 @dauhee
              last edited by

              Thanks @dauhee. I had to factory revert back to 23.05.1 and then upgrade to 23.09.1 which has resolved the issue - Squid is now working with HTTPS interception. Of course I'm going to need to rebuild the config from scratch over the weekend as unfortunately all my internal IPSEC tunneled traffic is now hitting the WAN interface and being dropped. I tried to re-import the newer config over the old version (recognising that it probably wouldn't work) but it will get me to the weekend.

              1 Reply Last reply Reply Quote 0
              • D
                dauhee
                last edited by

                I’m not near by box right now, but is there an auto cloud backup of the config by any chance that could take an older config to suit the rolled back pfsense version.

                Best of luck anyhow, it’s a pain trying to piece together configs when rebuilding a box.

                I’m holding out for now without proxy capabilities in the hopes I will have a Christmas present soon of an updated squid package :)

                JeGrJ 1 Reply Last reply Reply Quote 0
                • JeGrJ
                  JeGr LAYER 8 Moderator @dauhee
                  last edited by

                  In case you got the ld-elf parser problem, please check my post in

                  https://forum.netgate.com/post/1199906

                  and try if it works for you, too. Seems like an old c++ library won't get cleaned up after the system update to 24.03/24.11 so it get's pulled from the link parser as dependency instead of the real one in /lib. So moving the library away from /usr/lib should get squid to start again.

                  Cheers :)

                  Don't forget to upvote 👍 those who kindly offered their time and brainpower to help you!

                  If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    jpv9 @JeGr
                    last edited by

                    @JeGr Many thanks. I had performed the upgrade on a SG4680 and 6100 and still got the elf error (no CE on prod). I'll try the upgrade over the weekend to 24.11 and check whether I see the same library problem on these and the fallback machines.

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