Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-16-2002, 08:02 AM   #1
Registered: May 2002
Location: UK
Distribution: Mandriva linux
Posts: 152

Rep: Reputation: 15
Question Installing Iperf >>cannot find -lstdc++!!!!

I can't get iperf installed, it gives me this error
while doing "make"

UDP.o Server.o Settings.o main.o -L../lib -ldast
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
make[1]: *** [../iperf] Error 1
make[1]: Leaving directory `/usr/src/iperf-1.6.4/src'
make: *** [iperf] Error 2
[root@linux iperf-1.6.4]#

I have got these packages already installed

[root@linux src]# ls lib*
libg++-2.8.1-2.i386.rpm libg++-libc5-devel-
libg++-devel-2.8.1-2.i386.rpm libstdc++-compat-2.95-2.i386.rpm
libg++-libc5- libstdc++-devel-2.96-81.i386.rpm
[root@linux src]#

and for g++,

[root@linux src]# ls g*
g++2.95-2.95.3-36cl.i386.rpm gcc2.95-2.95.3-36cl.i386.rpm
g++-2.95.3-36cl.i386.rpm gcc-libc5-
[root@linux src]#

This is what my shows

[root@linux src]# cat /etc/
[root@linux src]#

Some of the entries I have added. Don't know why it is
giving -lstdc++ error!!!!!!!

Old 12-16-2002, 01:26 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Try a
"locate libstdc"
"find / -iname "libstdc*"

Then add -L/path/to/libstc++ to the compiler-call



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
iperf vishamr2000 Linux - Networking 4 09-03-2006 02:12 PM
iperf vishamr2000 Linux - Networking 0 11-25-2005 08:15 AM
qt compile cannot find lstdc++ poboy975 Linux - Software 3 01-08-2005 02:03 PM
g++ error lstdc++ develinux Programming 3 04-22-2004 01:50 PM
Qt and lstdc++ Half_Elf Linux - Software 2 04-04-2002 03:20 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:55 AM.

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