Ntop library problem after 2.2.4 upgrade



  • 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


  • Banned

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



  • 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.


  • Banned

    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



  • That can be fixed with a simple link:

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


Log in to reply