473,396 Members | 1,843 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 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 1545
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 then tried to launch ./php i got this error:...
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 for example make the system call "dir": String...
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 function and class index with at least short...
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 erstellen. "autoscan" hat festgestellt, dass die Library...
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 (obviously, the more portable, the better). I realized...
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, c:\mingw\gcc\include ..., and I added c:\mingw\gcc\bin in my PATH...
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 SUN. I have used a multithread 64 bits...
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 I use the other version libstdc++ library ? I...
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. On g++'s site - the compiler I am using - (version...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.