- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- LD_PRELOAD and Bus error (core dumped)
Operating System - HP-UX
1819794
Members
3192
Online
109607
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
Discussions
Discussions
Discussions
Forums
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
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
тАО03-04-2008 01:23 AM
тАО03-04-2008 01:23 AM
LD_PRELOAD and Bus error (core dumped)
Hi Folks
I hope that someone can help me.
My problem is as follows :
I need to preload a shared libary as follows:
setenv LD_PRELOAD ="/usr/local/lib32/libsrfc.sl"
When i have done that it is not possible to either switch shell to a ksh or to do an ldd on an other shared libary.
both results in a Bus error (core dumped)
does anyone have an idea what the the problem could be?
Thanks in advance
Best Regards
Niels Goosmann, Denmark.
I hope that someone can help me.
My problem is as follows :
I need to preload a shared libary as follows:
setenv LD_PRELOAD ="/usr/local/lib32/libsrfc.sl"
When i have done that it is not possible to either switch shell to a ksh or to do an ldd on an other shared libary.
both results in a Bus error (core dumped)
does anyone have an idea what the the problem could be?
Thanks in advance
Best Regards
Niels Goosmann, Denmark.
- Tags:
- LD_PRELOAD
- SIGBUS
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2008 01:31 AM
тАО03-04-2008 01:31 AM
Re: LD_PRELOAD and Bus error (core dumped)
>setenv LD_PRELOAD ="/usr/local/lib32/libsrfc.sl"
Note: there is no "=" in the scummy csh for setenv. This may be your problem?
You never ever want to export LD_PRELOAD or UNIX_95. They are too dangerous to leave on for more than one command.
Since you are using the scummy csh, you must change to a real shell (ksh/sh) and do this:
LD_PRELOAD=/usr/local/lib32/libsrfc.sl command args ...
Note: there is no "=" in the scummy csh for setenv. This may be your problem?
You never ever want to export LD_PRELOAD or UNIX_95. They are too dangerous to leave on for more than one command.
Since you are using the scummy csh, you must change to a real shell (ksh/sh) and do this:
LD_PRELOAD=/usr/local/lib32/libsrfc.sl command args ...
- Tags:
- scummy C shell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2008 01:47 AM
тАО03-04-2008 01:47 AM
Re: LD_PRELOAD and Bus error (core dumped)
Hi again
Sorry....
I wrote the wrong command...
it has ofcourse to be :
setenv LD_PRELOAD "/usr/local/lib32/libsrfc.sl"
My problem here ia that the all scripts in the application is written in csh.
So I have to live with the csh... I will rather like to use sh or ksh.
But it is not possible for me to switch from a csh env to a ksh env.
Sorry....
I wrote the wrong command...
it has ofcourse to be :
setenv LD_PRELOAD "/usr/local/lib32/libsrfc.sl"
My problem here ia that the all scripts in the application is written in csh.
So I have to live with the csh... I will rather like to use sh or ksh.
But it is not possible for me to switch from a csh env to a ksh env.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2008 01:58 AM
тАО03-04-2008 01:58 AM
Re: LD_PRELOAD and Bus error (core dumped)
>... But it is not possible for me to switch from a csh env to a ksh env.
Then you have your scummy csh script invoke a real shell script that temporarily exports LD_PRELOAD, to do only one command:
% setenv KSH_LD_PRELOAD /usr/local/lib32/libsrfc.sl
% do_ksh command args
And do the dangerous part in a real shell:
#!/usr/bin/ksh
LD_PRELOAD=$KSH_LD_PRELOAD "$@"
Then you have your scummy csh script invoke a real shell script that temporarily exports LD_PRELOAD, to do only one command:
% setenv KSH_LD_PRELOAD /usr/local/lib32/libsrfc.sl
% do_ksh command args
And do the dangerous part in a real shell:
#!/usr/bin/ksh
LD_PRELOAD=$KSH_LD_PRELOAD "$@"
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP