469,315 Members | 1,628 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,315 developers. It's quick & easy.

binaries not portable from Debian to RedHat

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
2 1524
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
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.

Similar topics

4 posts views Thread by Tefla | last post: by
2 posts views Thread by Debian User | last post: by
reply views Thread by Tommy Martin | last post: by
14 posts views Thread by Kristan Dyson | last post: by
119 posts views Thread by Rhino | last post: by
reply views Thread by carex | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.