This is the mail archive of the libc-alpha@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [mcculley@cuspy.com] libc/977: dlopen tries to resolve symbols even when given RTLD_LAZY



> > It seems that dlopen tries to resolve symbols in a .so even when
> > it is given RTLD_LAZY and there is no _init function to be run.
> > This makes it impossible to build dynamically loadable module
> > based applications that figure out the dependencies themselves.
> > This acts differently (IMHO correctly) on an SGI running IRIX.

You just need to intercept the ld.so error and deal with that.
This might be quite tricky because of the interface; feel free to
suggest a better one.

-- 
Geoffrey Keating <geoffk@ozemail.com.au>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]