473,396 Members | 2,017 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,396 software developers and data experts.

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 1667
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Tefla | last post by:
Hi folks, i'm writing a simple tool for people in my work place, so they can easily access an SubVersioN repository. basicly, all the developers and designers have apache and a local version...
2
by: Debian User | last post by:
With redhat deciding go make some real money from the fruits of their labour, management decided to try out debian. This leads me to my possible future problem: is there a way to create debian...
0
by: Tommy Martin | last post by:
I am running mysql 3.23 on Redhat 9 and would like to upgrade to version 4. The machine is old and it is only used as a personal web server and small db server for some of my local stuff so it...
7
by: Oliver Elphick | last post by:
Debian packages of PostgreSQL 7.4beta4 are available in the experimental section of the Debian archive. -- Oliver Elphick Oliver.Elphick@lfix.co.uk Isle of Wight,...
0
by: Linuxserverguru | last post by:
All what you need at one place. Compare between Redhat, Debian, FreeBSD, Windows, Mandrake, SUSE http://www.comserver.net
14
by: Kristan Dyson | last post by:
I was just wondering whether you knew whether it is possible to compile a fully portable C program? I want to write a 'C' CGI program on Windows, then just upload it to my Plus.Net Debian-based...
119
by: Rhino | last post by:
One of my friends, Scott, is a consultant who doesn't currently have newsgroup access so I am asking these questions for him. I'll be telling him how to monitor the answers via Google Newsgroup...
0
by: carex | last post by:
Hi, A few years ago (2000 ?) I installed an oracle client on a linux server (oracle8iR2 on Debian Woody) and everything went beautifully. (with DBD::Oracle) Now, I need an oracle client on...
0
by: bythelight | last post by:
Hello This: #include <gnutls.h> #include <gcrypt.h> #include <errno.h> #include <pthread.h> GCRY_THREAD_OPTION_PTHREAD_IMPL;
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.