Navigation

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

    Ntop library problem after 2.2.4 upgrade

    Traffic Monitoring
    2
    5
    1326
    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.
    • N
      ncolunga last edited by

      After upgrade to 2.2.3 or 2.2.4 from 2.2.2 I have found an error running ntop:

      Shared object "libiconv.so.2" not found, required by "libgobject-2.0.so.0"

      on 2.2.4 /usr/pbi/ntop-amd64/lib i have:
      -rw-r–r--  1 root  wheel  570280 Jun 27  2014 libgobject-2.0.a
      -rwxr-xr-x  1 root  wheel    1126 Jun 27  2014 libgobject-2.0.la
      lrwxr-xr-x  1 root  wheel      19 Jun 27  2014 libgobject-2.0.so -> libgobject-2.0.so.0
      -rwxr-xr-x  1 root  wheel  316232 Jun 27  2014 libgobject-2.0.so.0
      -rw-r--r--  1 root  wheel  1106880 Jun 27  2014 libiconv.a
      -r--r--r--  1 root  wheel      916 Jun 27  2014 libiconv.la
      lrwxr-xr-x  1 root  wheel      13 Jun 27  2014 libiconv.so -> libiconv.so.3
      -r--r--r--  1 root  wheel  1072123 Jun 27  2014 libiconv.so.3

      on 2.2.2  /usr/pbi/ntop-amd64/lib i have:
      -rw-r–r--  1 root  wheel  570280 Jun 27  2014 libgobject-2.0.a
      -rwxr-xr-x  1 root  wheel    1126 Jun 27  2014 libgobject-2.0.la
      lrwxr-xr-x  1 root  wheel      19 Jun 27  2014 libgobject-2.0.so -> libgobject-2.0.so.0
      -rwxr-xr-x  1 root  wheel  316232 Jun 27  2014 libgobject-2.0.so.0
      -rw-r--r--  1 root  wheel  1106880 Jun 27  2014 libiconv.a
      -r--r--r--  1 root  wheel      916 Jun 27  2014 libiconv.la
      lrwxr-xr-x  1 root  wheel      13 Jun 27  2014 libiconv.so -> libiconv.so.3
      -r--r--r--  1 root  wheel  1072123 Jun 27  2014 libiconv.so.3

      2.2.4 MD5 (/usr/pbi/ntop-amd64/lib/libgobject-2.0.so.0) = e80c88cce75819940189984f3227794f
      2.2.2 MD5 (/usr/pbi/ntop-amd64/lib/libgobject-2.0.so.0) = e80c88cce75819940189984f3227794f
      2.2.4 MD5 (/usr/local/bin/ntop) = 4f1d408e9fbf60cd6053ac69b6b227b8
      2.2.2 MD5 (/usr/local/bin/ntop) = 4f1d408e9fbf60cd6053ac69b6b227b8

      2.2.4 PBI ntop-5.0.1_4-amd64
      2.2.2 PBI ntop-5.0.1_4-amd64

      I can't understand why this libiconv.so.2 appears on 2.2.3 and 2.2.4 being the same ntop and libraries  than in 2.2.2. Any idea?

      Thank you

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned last edited by

        That's standard PBI idiocy. Uninstall the package, reboot, reinstall it and maybe it will pick up the right one this time. Or not…

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

          I don't think so, i have the same problem on the 4 servers upgraded. BTW  I have tried to uninstall and install with no success.

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned last edited by

            You don't think what? That PBI is idiotic? Get ntopng instead of this dead thing, there, the utter PBI idiocy is worked around like this:

            https://github.com/pfsense/pfsense-packages/blob/master/config/ntopng/ntopng.xml#L225

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

              That can be fixed with a simple link:

              ln -s /usr/local/lib/libiconv.so.2 /usr/pbi/ntop-amd64/lib/libiconv.so.2

              1 Reply Last reply Reply Quote 0
              • First post
                Last post