472,325 Members | 1,388 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,325 software developers and data experts.

libstdc runtime error on Unix box

PLease help. I have a decent amount of C++ experience on Windows, but
know nothing about Unix. I wrote a simple "Hello World" program on a
Solaris box which includes <iostream>. The program compiles when I
run g++ but when I attempt to execute a.out I get the following error:

ld.so.1: ./a.out: fatal: libstdc++.so.5: open failed: No such file or
directory
Killed
Can someone tell me what I need to do to configure my environment?
Jul 22 '05 #1
1 1503
Doctor Bones wrote:
PLease help. I have a decent amount of C++ experience on Windows, but
know nothing about Unix. I wrote a simple "Hello World" program on a
Solaris box which includes <iostream>. The program compiles when I
run g++ but when I attempt to execute a.out I get the following error:

ld.so.1: ./a.out: fatal: libstdc++.so.5: open failed: No such file or
directory
Killed
Can someone tell me what I need to do to configure my environment?


Yes, someone in a UNIX newsgroup should be able to tell you. Ask about
setting 'PATH' and 'LD_LIBRARY_PATH'.
Jul 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Fritz Schmidt | last post by:
Hi, I tried to install some small tools for linux.. for one tool i needed libstc+++.so.2.10 ... so in installed it into my /usr/lib but when i...
5
by: Ayesha Ahsan | last post by:
Hi, I use Runtime.getRuntime().exec(command) to make my system call. For Windows based Dos, i add "cmd /c" before I type in my system call. So...
5
by: VoiD | last post by:
Aloha! I'm looking for libstdc++ documentation. I've been searching the net for last 2 days! The best thing I can imagine is a downloadable...
3
by: Jürgen Tiedemann | last post by:
Diesen Beitrag setze ich für André Hitzschke ein: Hallo, ich habe ne Frage zu den ganzen "autotools" um das configure-Skript etc. zu...
4
by: angels__tear | last post by:
Hi - I'm creating an application for a communications network that needs to be portable between at least Mandrake Linux 10 and Solaris 9...
2
by: ddh | last post by:
Hi, I download mingw in my system(XP SP2), and extract them in c:\mingw\gcc, so the directories looks like: c:\mingw\gcc\bin,...
4
by: faria | last post by:
Hi, I would like if somedy has had problem with GNU libstdc++ with 64 bits ? Sometimes I have got a bus error at libstdc++ with gcc 3.4.2 in...
1
by: VincentWen | last post by:
I am using g++ 3.3.4, and the default libstdc++ version is libstdc++.so.5.0.6,but for some reason, I must use libstdc++-libc6.2-2.so. how could...
3
by: AndreyS | last post by:
Hi everyone, I am relatively new to C++ and trying to write a program during which I need to generate random numbers with uniform distribution....
0
by: tammygombez | last post by:
Hey fellow JavaFX developers, I'm currently working on a project that involves using a ComboBox in JavaFX, and I've run into a bit of an issue....
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: CD Tom | last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.