binaries not portable from Debian to RedHat

A

adamg

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
 
V

Victor Bazarov

adamg said:
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
 
K

Ken Wilson

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"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top