By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,920 Members | 1,226 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,920 IT Pros & Developers. It's quick & easy.

binaries not portable from Debian to RedHat

P: n/a
Hello

My native distribution is Linux Debian.
I have written the C++ multithreaded application (using ptypes libs).

After compilation on debian everything works ok (6 threads workinng)
but later I create a copy of binaries at Rad Hat server
and run program. Unfortunatelly only one thread were at process list
The rest in some way does not start or gone.

program is using one ptypes so library from /usr/lib
I create a copy of this so file from debian too.

What can be the problem?

p.s. sorry for my english
Jul 23 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
adamg wrote:
My native distribution is Linux Debian.
I have written the C++ multithreaded application (using ptypes libs).
OK.
After compilation on debian everything works ok (6 threads workinng)
but later I create a copy of binaries at Rad Hat server
and run program. Unfortunatelly only one thread were at process list
The rest in some way does not start or gone.
How is that a C++ _language_ issue?
program is using one ptypes so library from /usr/lib
I create a copy of this so file from debian too.

What can be the problem?
I think the third C++ source from the left, line 453, has a logical error
in it. Or it could be something else. Nobody can tell, really.
p.s. sorry for my english


Your English is fine. Your choice of newsgroup is no so. If you have
a Linux binary compatibility problem, how is a C++ _language_ newsgroup
going to help? Post to a Linux newsgroup.

V
Jul 23 '05 #2

P: n/a
On Fri, 15 Jul 2005 19:41:23 +0200, adamg <ad***@klub.chip.pl> did
courageously avow:
Hello

My native distribution is Linux Debian.
I have written the C++ multithreaded application (using ptypes libs).

After compilation on debian everything works ok (6 threads workinng)
but later I create a copy of binaries at Rad Hat server
and run program. Unfortunatelly only one thread were at process list
The rest in some way does not start or gone.

program is using one ptypes so library from /usr/lib
I create a copy of this so file from debian too.

What can be the problem?

p.s. sorry for my english


I would hazard a guess that the two distributions are using different
versions of the library. I'd check that out first and upgrade
whichever machine needs.

On a second note, this is a Linux specific question so don't be
surprised if you're chastised by some poster. This group is reserved
for ANSI C++ and doesn't discuss compiler or OS specific issues,
usually. I say usually because, as you see, I'm inclined to assist if
its off topic but I can get it done quickly.
Ken Wilson
"Just because people don't understand you doesn't mean
you are an artist"
Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.