LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-14-2007, 08:52 AM   #1
Rush_898
Member
 
Registered: Mar 2004
Distribution: debian...
Posts: 31

Rep: Reputation: 16
libstdc++.so.5: cannot open shared object file


Summary, I'm trying to monitor a small companies internet traffic, we have had extremely high utilization and can't get a bigger pipe until after the holidays. For this I installed NTOP and created a SPAN port on a switch to monitor outbound traffic. NTOP doesn't really have much in the way of reporting capabilities so I found MZL & Novatech TrafficStatistic Report which you can install the "server" portion on a linux box and use the remote gui client to manage the reporting.

Real issue, I have ntop working w/ libpcap etc, now when I untar the files for the MZL TS server and run the tc_cc.sh install file (as root) it throws up this error:

../bin/cpm/RunCPM: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

If I do a find for libstdc I found these files:

/usr/lib/libstdc++.so.6
/usr/lib/libstdc++.so.6.0.8
/usr/share/doc/libstdc++6
/var/cache/apt/archives/libstdc++6_4.1.1-21_i386.deb
/var/lib/dpkg/info/libstdc++6.list
/var/lib/dpkg/info/libstdc++6.md5sums
/var/lib/dpkg/info/libstdc++6.postinst
/var/lib/dpkg/info/libstdc++6.postrm
/var/lib/dpkg/info/libstdc++6.shlibs


I have searched around on this forum and using google and have found instances where people resolved this type of problem installing compat-libstd rpm files and/or installed this using yum. My problem is this server is running Debian Etch and I cannot find a comparable package for making this work, or even reference to one. I tried running ldconfig to no avail, I'm not sure if my best path would be to try to use Alien on one of the compat-lib rpm files. Can I perhaps create a link from where libv5 should be to where v6 is?


Thanks for any assistance, I have pretty well hit a wall with this.

Last edited by Rush_898; 12-14-2007 at 08:54 AM.
 
Old 12-14-2007, 10:21 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You need to install libstdc++5 using aptitude or apt-get e.g.
Code:
#aptitude update
#aptitude install libstdc++5
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error while loading shared libraries: libstdc++.so.5: cannot open shared object file: Franziss Linux - Newbie 10 06-28-2010 05:47 AM
libssl.so.5: cannot open shared object file chandramani Linux - Server 2 03-15-2007 10:32 AM
error while loading shared libraries: libgvc.so.3: cannot open shared object file coolrock Slackware 6 01-17-2007 05:10 PM
cannot open shared object file barells Linux - Software 2 07-16-2005 07:53 AM
error while loading shared libraries: libdb-4.1.so: cannot open shared object file putquery8581 Linux - Software 1 10-01-2004 07:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration