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

    Squid 3.1.20 pkg 2.0.5_2: Shared object "libmd5.so.1" not found

    Scheduled Pinned Locked Moved pfSense Packages
    32 Posts 10 Posters 16.2k 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.
    • R
      Razor_FX_II
      last edited by

      @jimp:

      Razor,

      If you look at "pkg_info" from the shell, do you have libwww installed?

      If so you might pkg_delete libwww* and then remove/reinstall squid.

      Your funny…I send people like you home every day from my IT Dept to tell there wives that he can't pay the mortgage anymore.

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        Well if you're running a beta-quality package, then be prepared to troubleshoot.

        If someone fired me for something so trite, I wouldn't want to work there anyhow.

        If you don't cooperate with people trying to get basic troubleshooting info from you, then you won't find much help here.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • P
          phil.davis
          last edited by

          Just want to verify - on 2.0.1 did squid3 default to putting the conf file in /usr/local/etc/squid/squid.conf ?
          If so, then the explicit specification of the conf file location "-f /usr/local/etc/squid/squid.conf" should be fine.
          If not, then that might now be pointing at a place that does not exist on 2.0.1.
          (I don't have any 2.0.1 systems left to easily try it)

          As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
          If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

          1 Reply Last reply Reply Quote 0
          • N
            nutt318
            last edited by

            Getting error when starting squid. I removed squid and also made sure that the libwww was gone as well. So I installed squid3 again and now getting the below issue. Any Ideas?

            Error on console:
            [2.0.1-RELEASE][root@pfsense.ps]/usr/local/etc/rc.d(47): ./squid.sh start
            2012/06/21 09:02:59| ERROR: Error Directory /usr/local/etc/squid/errors/English: (2) No such file or directory
            FATAL: Error Directory /usr/local/etc/squid/errors/English: (2) No such file or directory
            Squid Cache (Version 3.1.20): Terminated abnormally.
            CPU Usage: 0.016 seconds = 0.008 user + 0.008 sys
            Maximum Resident Size: 5720 KB
            Page faults with physical i/o: 0

            Version:
            2.0.1-RELEASE (i386)
            built on Mon Dec 12 18:24:17 EST 2011
            FreeBSD 8.1-RELEASE-p6

            You are on the latest version.

            1 Reply Last reply Reply Quote 0
            • marcellocM
              marcelloc
              last edited by

              @Razor_FX_II:

              Your funny…I send people like you home every day from my IT Dept to tell there wives that he can't pay the mortgage anymore.

              You fire people that tries to help you?  ???

              Maybe you are one of the worst IT managers in history. :o

              Treinamentos de Elite: http://sys-squad.com

              Help a community developer! ;D

              1 Reply Last reply Reply Quote 0
              • N
                nutt318
                last edited by

                Fixed my issue by creating a English folder the the path it was looking for :)

                1 Reply Last reply Reply Quote 0
                • B
                  bgbearcatfan
                  last edited by

                  @marcelloc:

                  @Razor_FX_II:

                  Your funny…I send people like you home every day from my IT Dept to tell there wives that he can't pay the mortgage anymore.

                  You fire people that tries to help you?  ???

                  Maybe you are one of the worst IT managers in history. :o

                  Agreed…. What nonsense...

                  /Brian
                  /2.0.1-RELEASE
                  built on Mon Dec 12 18:24:17 EST 2011

                  1 Reply Last reply Reply Quote 0
                  • G
                    Gerard
                    last edited by

                    @nutt318:

                    Getting error when starting squid. I removed squid and also made sure that the libwww was gone as well. So I installed squid3 again and now getting the below issue. Any Ideas?

                    Error on console:
                    [2.0.1-RELEASE][root@pfsense.ps]/usr/local/etc/rc.d(47): ./squid.sh start
                    2012/06/21 09:02:59| ERROR: Error Directory /usr/local/etc/squid/errors/English: (2) No such file or directory
                    FATAL: Error Directory /usr/local/etc/squid/errors/English: (2) No such file or directory
                    Squid Cache (Version 3.1.20): Terminated abnormally.
                    CPU Usage: 0.016 seconds = 0.008 user + 0.008 sys
                    Maximum Resident Size: 5720 KB
                    Page faults with physical i/o: 0

                    Version:
                    2.0.1-RELEASE (i386)
                    built on Mon Dec 12 18:24:17 EST 2011
                    FreeBSD 8.1-RELEASE-p6

                    You are on the latest version.

                    Changed my language settings to Dutch, worked fine :)
                    We have two PFsense machines, 1 is running smoothly now on 3.1.20 (production) after the linking workaround.

                    I'm going to upgrade from 3.1.19 to 3.1.20 on the second machine tomorrow!

                    1 Reply Last reply Reply Quote 0
                    • P
                      phil.davis
                      last edited by

                      I did a clean install of 2.0.1 and then squid3. libwww now installs along with squid.
                      Then I just enabled transparent proxy and clicked "save" to configure squid - a nice easy starting config.
                      I got this error displayed in the browser:

                      Fatal error: Cannot use string offset as an array in /usr/local/pkg/squid.inc on line 1379 
                      

                      Line 1379 is:

                      	if (is_array($config['installedpackages']['squid']['config'][0])){
                      

                      It doesn't like the 0 in brackets on the end of the array being tested - I deleted these 3 characters.

                      Then the language error comes in the system log:

                      php: /pkg_edit.php: The command '/usr/local/sbin/squid -f /usr/local/etc/squid/squid.conf' returned exit code '1', the output was '2012/06/22 10:41:38| ERROR: Error Directory /usr/local/etc/squid/errors/English: (2) No such file or directory FATAL: Error Directory /usr/local/etc/squid/errors/English: (2) No such file or directory Squid Cache (Version 3.1.20): Terminated abnormally. CPU Usage: 0.052 seconds = 0.026 user + 0.026 sys Maximum Resident Size: 5656 KB Page faults with physical i/o: 0'
                      

                      The languages for squid3 are language codes like 'en', 'es', 'pt'.
                      Line 749 of squid.inc is:

                      	$language = ($settings['error_language'] ? $settings['error_language'] : 'English');
                      

                      Change 'English' to 'en' and it will default to a valid language.
                      I am having trouble getting the Github online editor to let me edit squid.inc - for some reason the "Commit Changes" button is always grayed out.
                      If someone can make these 2 small changes to squid.inc in pfsense-packages/squid-reverse (yes, the squid3 package is actually squid-reverse in the repo) then these initial config issues should be resolved.

                      As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
                      If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

                      1 Reply Last reply Reply Quote 0
                      • P
                        phil.davis
                        last edited by

                        The selected error_language is being written into squid.conf using the "error_directory" option.
                        Squid3 has new multi-lingual support, to automatically adjust error messages displayed to users based on their language setting in their browser.
                        "error_directory" is old and overrides the multi-lingual support - http://www.squid-cache.org/Doc/config/error_directory/
                        "error_default_language" is the new conf file option - http://www.squid-cache.org/Doc/config/error_default_language/
                        It would probably be good to use "error_default_language" for squid3.
                        (hmm - this thread has drifted off-topic!)

                        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
                        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

                        1 Reply Last reply Reply Quote 0
                        • marcellocM
                          marcelloc
                          last edited by

                          I'll push this changes today, thank for the feedback. :)

                          EDIT

                          done !

                          Treinamentos de Elite: http://sys-squad.com

                          Help a community developer! ;D

                          1 Reply Last reply Reply Quote 0
                          • P
                            phil.davis
                            last edited by

                            I made a pull request for 2 more minor changes that make the default language stuff really work and have tested them. Marcello (or whoever), can you commit these and then I'll stop commenting on this thread that has got off-topic.

                            As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
                            If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

                            1 Reply Last reply Reply Quote 0
                            • marcellocM
                              marcelloc
                              last edited by

                              done!, Thanks for your help.  :)

                              Treinamentos de Elite: http://sys-squad.com

                              Help a community developer! ;D

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

                                Hi !

                                I´m having a similar issue with a fresh 2.0.1 pfsense install and Squid 3.1.20 pkg 2.0.5_2 with a little bit different setup (although I think it´s the same basic issue). 2 Hosts using CARP, everything works fine untill I try to Sync both squids configs. When you press "SAVE" on the primary host to copy the config to the backup machine you get :

                                php: /pkg_edit.php: New alert found: An error code was received while attempting squid XMLRPC sync with https://xxx.xxx.xxx.xxx:443 - Code 2: Invalid return payload: enable debugging to examine incoming payload
                                

                                Checking the backup machine shows that squid is no longer running (#ps faux | grep squid). Trying to press save button on the squid GUI  gets a white page with error code :

                                Fatal error: Cannot use string offset as an array in /usr/local/pkg/squid.inc on line 1078 
                                

                                So, changing the line  :

                                 1078         $settings = $config['installedpackages']['squidtraffic']['config'][0];
                                

                                with (as the previous poster suggests) :

                                 1078         $settings = $config['installedpackages']['squidtraffic']['config'];
                                

                                do the trick. Hope this helps. If you need more info about my install be free to contact me.

                                Thank you very much !!

                                1 Reply Last reply Reply Quote 0
                                • marcellocM
                                  marcelloc
                                  last edited by

                                  check if squid traffic management options were replicated.

                                  If not, change it back to [0], try to save config on second box and then trying to sync it.

                                  att,
                                  Marcello Coutinho

                                  Treinamentos de Elite: http://sys-squad.com

                                  Help a community developer! ;D

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

                                    Hi Marcello, thnx for the answer.

                                    Yeah, all the sync proccess was perfect, the real problem was that squid can´t be restarted after the configuration change (the backup machina had all the info from the main but you get an error while trying to save the config).

                                    Changing the line 1078 makes the trick and now everything go as planned.

                                    Thnx again.

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