apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <...@manyfish.co.uk>
Subject Re: [PATCH] Be verbose during shl_load on HP-UX
Date Thu, 29 May 2003 06:29:11 GMT
On Wed, May 28, 2003 at 04:44:53PM -0700, MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1) wrote:
> 
> >-----Original Message-----
> >From: Justin Erenkrantz [mailto:justin@erenkrantz.com]
> [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


Mime
View raw message