All, Followed the steps in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html and all seemed well, as I was able to ssh into the box, postfix is still happy, etc. I did the ntop upgrade by doing a 'make deinstall' of 3.0, then a 'pkg_add -r ntop', which reported success. However, when I tried starting ntop with '/usr/local/etc/rc.d/ntop.sh start' it just died, without any error on the console, and nothing showing in /var/log/messages. I then tried just starting it with 'ntop -A' thinking it might want a new password, and that finally gave an error message: /libexec/ld-elf.so.1: Shared object "libpthread.so.2" not found, required by "ntop" Just for grins, I also did a 'portmanager -u', which also reported success, but still no cigar. same error message as above: /libexec/ld-elf.so.1: Shared object "libpthread.so.2" not found, required by "ntop" I could just flatten the box and try again, but I'd rather try to figure this out. I've googled for the error message, but haven't found anything that seems relevant. Can someone point me in the right direction? Thanks, Kurt
On 8/26/05, Kurt Buff <KBuff@zetron.com> wrote:> I did the ntop upgrade by doing a 'make deinstall' of 3.0, then a 'pkg_add > -r ntop', which reported success. >> Can someone point me in the right direction? >go to /usr/ports/net/ntop and do the following make deinstall make install Your pkg_add command used a version of the port that was meant for FreeBSD 6.x or 7.0-CURRENT. You'll need to compile your own version, or get the package for 5-stable. Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.
Forgive me, meant to send this to the list: Scot Hetzel wrote:> On 8/26/05, Kurt Buff <KBuff@zetron.com> wrote: > > I did the ntop upgrade by doing a 'make deinstall' of 3.0, > then a 'pkg_add > > -r ntop', which reported success. > > > > > Can someone point me in the right direction? > > > go to /usr/ports/net/ntop and do the following > > make deinstall > make install > > Your pkg_add command used a version of the port that was meant for > FreeBSD 6.x or 7.0-CURRENT. You'll need to compile your own version, > or get the package for 5-stable. > > ScotOK, well mark me a just a tad confused. Why then, when I used 'pkg_add -r ntop' did the message: 'Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/Latest/ntop.t bz... Done.' show on my screen? Forgive my ignorance, but that seems to indicate that it's using a package built for 5. Am I wrong? However, per your thoughts, I did the 'make deinstall' and 'make install'. Not happy. Gives message: 'ntop-3.1_1 is marked as broken: Does not build with XML dump support.' I'm wondering if I should just grab the tarball from sourceforge, and have a go at it. Kurt
Scot Hetzel wrote: <snip>> It got the file from the right place, but apparently the build system > for 5-STABLE is broken, as libpthread.so.2 doesn't appear until > RELENG_6.Sounds reasonable.> > However, per your thoughts, I did the 'make deinstall' and > 'make install'. > > Not happy. Gives message: > > > > 'ntop-3.1_1 is marked as broken: Does not build with XML > dump support.' > > > You may have to do: > > make clean > make rmconfig > make install > > and don't check 'XML dump support'.You, sir, are a gem. A virtual beverage of your choice now, and a real one should we meet in person. It compiled and came up clean, and is running happily now. Thanks! Kurt