Date: Tue, 1 Mar 2005 22:46:29 +0300 From: Igor Pokrovsky <ip@doom.homeunix.org> To: Cole <cole@opteqint.net> Cc: freebsd-net@freebsd.org Subject: Re: Dynamically Linked Library Problem (maybe) Message-ID: <20050301194629.GA948@doom.homeunix.org> In-Reply-To: <003101c51ddf$347fa420$4206000a@deadmind> References: <003101c51ddf$347fa420$4206000a@deadmind>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 28, 2005 at 11:48:14PM +0200, Cole wrote: > Hey. > > I have a Freebsd server running freebsd-4.9-stable. > I cvsupped the ntop src last week for 3.1.1. > > I then had no problems what so ever building ntop, except for the xml plugin saying it was not built, cause it cannot find > xmlversion.h, even though I have libxml installed, and specified the right paths to the .h. But that is not the problem. > Ntop runs and works fine on this box, not a single problem that I can see. > > The problem is that, I have a few other servers, that I want to copy ntop too, but dont want to build it on all those boxes. I > created a tar with all the ntop binaries, as well as all the libraries that its linked too, as well as all the plugins that ntop > uses from both the /usr/local/lib directory as well as the plugins from the /usr/local/lib/ntop/plugins directory. I rebuilt all the > symbolic links for all the libraries and plugins and all the files that ntop was linked too. I have also checked all the permissions > on all the files and they are all the same. > > One other thing, the boxes that I am copying ntop to, are almost exact duplicates of the first box that I built ntop on, and where > it works fine. > > The problem is, when running ntop on the boxes that I copied it to, after checking all the permissions and links and everything, I > get these errors with regards to the plugins. > > Tue Mar 1 05:37:16 2005 **WARNING** Unable to locate plugin '/usr/local/lib/ntop/plugins/icmpPlugin.so' entry function [Invalid > shared object handle 0x29a14000] > Tue Mar 1 05:37:16 2005 **WARNING** Unable to locate plugin '/usr/local/lib/ntop/plugins/snmpPlugin.so' entry function [Invalid > shared object handle 0x29a16400] > Tue Mar 1 05:37:16 2005 **WARNING** Unable to locate plugin '/usr/local/lib/ntop/plugins/sflowPlugin.so' entry function [Invalid > shared object handle 0x29a19800] > Tue Mar 1 05:37:16 2005 **WARNING** Unable to locate plugin '/usr/local/lib/ntop/plugins/rrdPlugin.so' entry function [Invalid > shared object handle 0x29a1bc00] > Tue Mar 1 05:37:16 2005 **WARNING** Unable to locate plugin '/usr/local/lib/ntop/plugins/pdaPlugin.so' entry function [Invalid > shared object handle 0x2bcae400] > Tue Mar 1 05:37:16 2005 **WARNING** Unable to locate plugin '/usr/local/lib/ntop/plugins/netflowPlugin.so' entry function [Invalid > shared object handle 0x2d862800] > Tue Mar 1 05:37:16 2005 **WARNING** Unable to locate plugin '/usr/local/lib/ntop/plugins/lastSeenPlugin.so' entry function > [Invalid shared object handle 0x2d866c00] > Tue Mar 1 05:37:16 2005 **WARNING** Unable to locate plugin '/usr/local/lib/ntop/plugins/xmldumpPlugin.so' entry function [Invalid > shared object handle 0x2f697000] > > I have absolutely no idea how this has happened, and I have had this problem before, and not a single other person was able to help > me in any regards what so ever. I was hoping maybe someone would at least know what this error even means, so that I have some idea > of what I am meant to be doing to fix this. > > If anyone has any idea, I would gladly apprecaite any suggestions. It seems to me error messages mean one thing - those plugins were corrupted in some way. It is also not clear from your message - are you using net/ntop from ports tree or you are building it from sources manually? In case of problems when building from a port you'd better ping port maintainer. -ip -- You are never given enough time or money.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050301194629.GA948>