473,811 Members | 2,859 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

executing c++ program under unix, unable to run the application

Hi everyone
I have a problem. I compiled hello wold progarm under unix (solaris 9
workstation) and it compiled fine using c++ compiler but when I try to
execute it it gives me this error messgae:

ld.so.1: ./a.out: fatal: libstdc++.so.2. 10.0: open failed: No such file
or directory
Killed

I know that the libstdc++ is not in the default folder that its
supposed to be, but how can i solve this problem
anyone has any idea, please help
thankx very much

Feb 22 '06 #1
1 1508
ya****@gmail.co m wrote:
I have a problem. I compiled hello wold progarm under unix (solaris 9
workstation) and it compiled fine using c++ compiler but when I try to
execute it it gives me this error messgae:

ld.so.1: ./a.out: fatal: libstdc++.so.2. 10.0: open failed: No such file
or directory
Killed

I know that the libstdc++ is not in the default folder that its
supposed to be, but how can i solve this problem


You need to post "_how_do_I_use_ my_workstation_ " questions to the
newsgroup dedicated to your OS.

<off-topic reason="platfor m-specific">
RTFM about 'ld' and dynamic libraries and how to tell the loader where
your dynamic libraries are.
</off-topic>

V
--
Please remove capital As from my address when replying by mail
Feb 22 '06 #2

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

Similar topics

3
15025
by: bnp | last post by:
Hi All, I am beginner to PHP. I read that you can run PHP program in a console window. How can I do that? Please help me Bhavik
2
3229
by: Ratnakar Pedagani | last post by:
Hi, I'm trying to execute a GUI application from visual basic (named PathProx.exe). this pathprox.exe is linked to different files that are present in the same directory as pathprox. when i'm trying execute pathprox.exe directly, i could run the application without any errors, but when i'm executing the same using visual basic with the following code, pathprox.exe is unable to link with those files. its giving some errors. i dont have...
2
6902
by: Simon Hawkins | last post by:
I seem to remember there's a java function for executing commands on the native system (UNIX in this case) but cannot remember which. Anyone know? Also, is it possible to grab the results of the command back into the java app? Example: 1. Execute the 'ls -l' command on the unix machine 2. Grab the reults back into a variable
15
11562
by: (Pete Cresswell) | last post by:
I've got a .BAT file that I use for executing various MS Access apps that I wrote way back in the days of 2.0. It's evolved over time, but it still contains a number of possible paths to MSACCESS.EXE, tries them all, takes the first one it finds, and dies if none is found. Seems to me like at some time or another I was able to clone this .BAT file and implement it with no path. Something about MSACCESS being a registered application.
15
2147
by: Chakkaradeep | last post by:
Hi all, i have written a Service,now i want to execute another application (for eg;calc.exe) in the service....how will i perform it??... i tried using this.... /**************Executing a Process code starts here**************/ System.Diagnostics.Process proc = new System.Diagnostics.Process(); proc.EnableRaisingEvents=false;
9
2163
by: Mads W. | last post by:
I want to read an ini file which is located in the same dir as my .exe file. But how can I do that without having to have the excact same dir for all my program installations. Let me try to elaborate: PC 1 has my C# program lying in C:\Application\Csharp.exe Here I need to read my ini file in C:\Application\csharpini.ini PC 2 hs my C# program lying in X:\Programs\Csharpprogram\Csharp.exe Here I need to read my ini file in
5
1389
by: Daz | last post by:
Hi everyone, Sorry about the long thread name, I think that my problem is that I don't know how to word it, which is why I have been unsuccessful finding the information I require. I am trying to execute an html document (to open in the default browser), but as a result, my program waits for the document to be closed before my program will terminate. What I need to find is a way to run a third party app, and for my program to stop...
1
1899
markmcgookin
by: markmcgookin | last post by:
Hi Folks, this is a problem I had a few days ago, and I was able to solve it, but I thought I'd post the solution I found here incase anyone has a similar problem! I found this stuff on an MSNDN forum.
0
13363
amitpatel66
by: amitpatel66 | last post by:
There is always a requirement that in Oracle Applications, the Concurrent Program need to be execute programatically based on certain conditions/validations: Concurrent programs can be executed programatically either from UNIX or Oracle PLSQL. In this Section, I will be explaining about calling a Concurrent program from UNIX using the CONCSUB Command. Pre-requisite: 1. Concurrent Program should be registered in oracle Applications...
0
9722
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9603
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10379
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9200
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7664
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6882
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5690
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3863
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3015
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.