HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: The use of chatr +s enable
Operating System - HP-UX
1832650
Members
2919
Online
110043
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2004 03:47 AM
02-23-2004 03:47 AM
The use of chatr +s enable
HI, I'm using HPUX 11.11 and I compile programs on a dev machine ending by chatr +s enable.
When I put the new version of a ( Pro*C ) program on the prod. machine ( same version of OS HPUX 11.11 ) the program operates as the older one.
The date of the program on prod machine is the same that dev. machine but the behavior isn't.
The customer don't what us to compile the program on the prod. machine and I'm asking myself if i have to launch the commande 'chatr +s enable ' on the prod. machine.
Please help me ...
When I put the new version of a ( Pro*C ) program on the prod. machine ( same version of OS HPUX 11.11 ) the program operates as the older one.
The date of the program on prod machine is the same that dev. machine but the behavior isn't.
The customer don't what us to compile the program on the prod. machine and I'm asking myself if i have to launch the commande 'chatr +s enable ' on the prod. machine.
Please help me ...
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2004 03:58 AM
02-23-2004 03:58 AM
Re: The use of chatr +s enable
First of all, looking at the timestamp of a file really tels you nothing about the contents of the file. Use the cksum command to compare two files. Man cksum for details.
The chatr +s enable option allows a program to utilize SHLIB_PATH to locate shared libraries. Different shared libraries could definitely cause different behavior.
I would attack the problem like this:
cksum the executable on both platforms to make certain that are the same. Next, do an ldd (list dynamic dependencies; man ldd for details) command on
the executable and use cksum to compare the listed shared libraries. If the shared libraries are the same then the difference in behavior is probably caused by the difference in some aspect of the data itself.
The chatr +s enable option allows a program to utilize SHLIB_PATH to locate shared libraries. Different shared libraries could definitely cause different behavior.
I would attack the problem like this:
cksum the executable on both platforms to make certain that are the same. Next, do an ldd (list dynamic dependencies; man ldd for details) command on
the executable and use cksum to compare the listed shared libraries. If the shared libraries are the same then the difference in behavior is probably caused by the difference in some aspect of the data itself.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2004 04:04 AM
02-23-2004 04:04 AM
Re: The use of chatr +s enable
If you want to use the shared library 1st,
you should run :
chatr +s enable +b disable
Note : If the shared lib aren't the same , the behaviour won't be the same.
Can you garanty you use a copy of the shared lib in your dev environment ?
Regards,
Jean-Luc
you should run :
chatr +s enable +b disable
Note : If the shared lib aren't the same , the behaviour won't be the same.
Can you garanty you use a copy of the shared lib in your dev environment ?
Regards,
Jean-Luc
fiat lux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2004 11:00 PM
02-23-2004 11:00 PM
Re: The use of chatr +s enable
Hi,
Why don't you use ld +s option ?
Why don't you use ld +s option ?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP