On Wed, May 28, 2003 at 04:44:53PM -0700, MATHIHALLI,MADHUSUDAN 
(HP-Cupertino,ex1) wrote:
> 
> >-----Original Message-----
> >From: Justin Erenkrantz [mailto:[EMAIL PROTECTED]
> [SNIP]
> 
> >Is it possible for HP-UX's DSO's error to be captured in a 
> >string rather than forcibly sent to stderr?  
> 
> On the top of my head, I don't think it's possible. The man page for
> shl_laod says 
> "Print verbose messages concerning possible unsatisfied symbols", but
> doesn't say anything about stderr etc.. 

When I tested this, the errors I saw on stderr were like:

/usr/lib/dld.sl: Can't open shared library: foo.dl
/usr/lib/dld.sl: No such file or directory

where "No such file or directory" is exactly what is returned by
apr_dso_error() via strerror(errno).

joe

Reply via email to