- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: dlopen(0,0) loops
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
тАО11-12-2003 02:01 AM
тАО11-12-2003 02:01 AM
dlopen(0,0) loops
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2003 02:52 AM
тАО11-12-2003 02:52 AM
Re: dlopen(0,0) loops
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2003 03:40 AM
тАО11-12-2003 03:40 AM
Re: dlopen(0,0) loops
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2003 08:05 AM
тАО11-13-2003 08:05 AM
Re: dlopen(0,0) loops
dlsym(RTLD_DEFAULT,name);
That picks up shared library symbols.
Or you could try calling dlopen with "libjmv.sl". It should be good natured about returning a handle for an already loaded shared library.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2003 08:57 AM
тАО11-13-2003 08:57 AM
Re: dlopen(0,0) loops
I also tried skipping the dlopen and using RTLD_DEFAULT as the handle parameter in dlsym. This returned NULL for the symbol address also.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2003 11:21 AM
тАО11-14-2003 11:21 AM
Re: dlopen(0,0) loops
It is time to verify that you have the latest
"ld(1) and linker tools cumulative patch". That patch includes the dld.sl shared library that implements dlopen and dlsym. The most recent patches are-
11.00 PHSS_28869
11.11 PHSS_28871
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2003 02:06 AM
тАО11-17-2003 02:06 AM
Re: dlopen(0,0) loops
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2003 12:38 AM
тАО11-18-2003 12:38 AM
Re: dlopen(0,0) loops
im in the PA linker/loader team. i didnt see this problem with a simple test case attached. let me know if it passes in your enviroment.
the 64-bit version ran into a problem that the jvm dumped core while trying to parse the arguments to JNI_CreateJavaVM. i'll talk to the jvm folks about this.
ranga
--
ranga
[i work for hpe]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2003 03:18 AM
тАО11-19-2003 03:18 AM
Re: dlopen(0,0) loops
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2003 08:25 AM
тАО11-19-2003 08:25 AM
Re: dlopen(0,0) loops
# include
void *dlopen (const char *filename, int flag) {
void *handle;
handle=shl_load(filename,
BIND_NONFATAL |
BIND_DEFERRED |
DYNAMIC_PATH,
0L);
return handle
}
I will reconfigure the shared library to use dlfcn.h and dlopen() etc.
Thanks for your help.