473,562 Members | 2,598 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1552
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_PAT H'.
Jul 22 '05 #2

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

Similar topics

1
2313
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: ~~~~~~~~~~ Syntax error on line 27 of /etc/apache2/suse_loadmodule.conf: Cannot load /usr/lib/apache2-prefork/libphp4.so into server:...
5
14393
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 command="cmd /c dir"; Runtime.getRuntime().exec(command); What is the equivalenr of cmd /c in Unix .
5
2853
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 descriptions. I got confused when I found out (at http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#5_7) that I must pay for this documentation... If...
3
1731
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 "stdc++" benötigt wird und in der configure.in auch mit AC_CHECK_LIB(, ) als zu überprüfende Library hinzugefügt.
4
3817
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 shortly into the development process that I was using gcc 3.3.2 on the linux machine, and gcc 3.4.0 on my solaris machines. I upgraded gcc to 3.4 on the...
2
2729
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 env. It is OK for compiling .c code, but when compiling c++ code, some error will occur. my cpp file:
4
2160
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 application that loads dynamicly ( as a application's plugin ) a couple of dinamic libraries. That
1
1307
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 don't want to change the default version libstdc++ of my system.
3
2107
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 4.1.3) it is written that there is a library called "libstdc++" which is built in the g++. I also checked that the libstdc++ v3 package is really...
0
7658
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7874
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8101
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6228
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5479
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3626
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3609
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2075
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
907
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.