Re: Can't shl_load() a library ...
From: venky_rk (venky_rk14_at_ureach.com)
Date: 07/29/03
- Next message: Dr. David Kirkby: "Re: Free UNIX for non-commerical use."
- Previous message: John D Groenveld: "Re: Free UNIX for non-commerical use."
- In reply to: jignaasu: "Re: Can't shl_load() a library ..."
- Next in thread: jignaasu: "Re: Can't shl_load() a library ..."
- Reply: jignaasu: "Re: Can't shl_load() a library ..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Jul 2003 09:29:43 -0700
Hi,
Thanks. I have an executble which inturn loads the threaded shared library.
I tried to load the libpthread using
dlopen("/usr/lib/libpthread.1",....)
Still I'm getting a dlopen error. I also tried with putenv() in my
executable before loading the shared library.
That also didn't help.
Any suggestions? I'm using HP11.0 and HP11.11.
Any patches available for this particular problem.
Pl. share the pointers.
thanks,
venkat
jignaasu@yahoo.com (jignaasu) wrote in message news:<1238ce7b.0307282039.4c1d43f9@posting.google.com>...
> > To overcome this, I used LD_PRELOAD=/usr/lib/libpthread.1 and it
> > worked.
> > But other applications(clear case)in my server crashes after setting
> > this env variable.
>
> set LD_PRELOAD=/usr/lib/libpthread.1 only for the particular
> application that needs it (e.g. by prefixing
> "LD_PRELOAD=/usr/lib/libpthread.1" to the command line). do not set it
> in some place like .profile or .bashrc or for an interactive shell
> from where it can apply to all applications launched subsequently.
>
> however, this LD_PRELOAD setting will apply to any other programs your
> application may exec and that may cause problems. this is a known
> problem and a fix will be made soon.
- Next message: Dr. David Kirkby: "Re: Free UNIX for non-commerical use."
- Previous message: John D Groenveld: "Re: Free UNIX for non-commerical use."
- In reply to: jignaasu: "Re: Can't shl_load() a library ..."
- Next in thread: jignaasu: "Re: Can't shl_load() a library ..."
- Reply: jignaasu: "Re: Can't shl_load() a library ..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|