473,385 Members | 1,855 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,385 software developers and data experts.

Standalone Executables

Please forgive my ignorance in posting the following question. But I
have been unable to find a clear answer.

I have written a word processor for writing programs in two versions,
one which runs under Windows/DOS and one which runs at the Linux
command line. (Having an identical interface in both is extremely
useful.)

The latter was compiled and written under SUSE Professional 7.0.
Recently I tried to run the code under SUSE 10.0. To my dismay, I got
the following error message:

error while loading shared libraries: libstdc++-libc6.1-2.so.3
cannot open shared object file: no such file or directory.

Obviously, SUSE 10.0 utilizes a newer version of the C++ libraries. I
assume that recompiling the code on the new machine will produce a
runnable version.

My question is two-fold. Will I have to do this every time there is a
new version of the C++ libraries? Or, is there a way to compile a
standalone executable that completely self-contains its own libraries?
My ignorance consists of the details of the compilation/linking
process.

Thanks for any help.

Apr 8 '06 #1
2 1474
rs*******@libcom.com wrote:
Please forgive my ignorance in posting the following question. But I
have been unable to find a clear answer.

I have written a word processor for writing programs in two versions,
What exactly is "a word processor for writing programs"? Do you mean a text
editor?
one which runs under Windows/DOS and one which runs at the Linux
command line. (Having an identical interface in both is extremely
useful.)

The latter was compiled and written under SUSE Professional 7.0.
Recently I tried to run the code under SUSE 10.0. To my dismay, I got
the following error message:

error while loading shared libraries: libstdc++-libc6.1-2.so.3
cannot open shared object file: no such file or directory.

Obviously, SUSE 10.0 utilizes a newer version of the C++ libraries. I
assume that recompiling the code on the new machine will produce a
runnable version.

My question is two-fold. Will I have to do this every time there is a
new version of the C++ libraries? Or, is there a way to compile a
standalone executable that completely self-contains its own libraries?


Your question hasn't really anything to do with the C++ language, which is
the topic of this newsgroup. Search for "static linking" in your compiler
manual.

Apr 8 '06 #2
Just what I needed to know. Thank you.

Apr 9 '06 #3

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

Similar topics

4
by: j_mckitrick | last post by:
Does it make sense to use doc strings rather than #-comments for a standalone Python app? If the classes aren't going to be re-used or imported, do they need them?
4
by: Dipesh Mehta | last post by:
Is anybody aware how to make standalone executables from perl program or how to convert the sources into C ? ? ?
5
by: Martin Kock | last post by:
Hi, I'm writing a small application in Borland C++ Builder 4. Just for your information, it is a win32 application with a GUI, programmed in WinXP, but supposed to run on Win98. Anyways, my...
9
by: Madhusudan Singh | last post by:
Hi I just finished developing an application using Qt Designer in Python that uses pyqwt, gpib, etc. How does one create standalone executables for applications such as these ? Thanks.
2
by: ven | last post by:
I have used C# binary formatter to serialize and deserialize a data structure. However, for the same data format( used by the first executable, the same *.CS files), the second executable gives an...
1
by: VK | last post by:
It is possibly more suitable to address this question to W3C mailing list, but I'm trying here first. Could anyone comment on <http://www.w3.org/TR/REC-xml/#sec-rmd> The first statement says:...
1
by: Water Cooler v2 | last post by:
I have a Windows Service I am writing in C# and a set of, let us say three, other executables written in C# (mostly console applications). I want that the Windows Service must do so every few...
7
by: tah | last post by:
Hey, Can someone please clarify, confirm, or set me straight on my understanding of a standalone="yes" attribute in the xml version element? I assume it means that the xml document containing it...
3
by: MrPaulm | last post by:
If .net Framework 3.0 is installed on a server, is it also necessary to install previous versions of the Framework? Thanks.
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...

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.