This might interest you, it is part of a email exchange Ognyan had with Roland [bug #4710]:
,---- | >>$ ./store x:x # This test program calls store_typed_open. | >> ./store: cannot load libstore_x.so.0.3: libstore_x.so.0.3: cannot open | >> shared object file: No such file or directory | >> store_typed_open: Function not implemented | >> | >> This is printed in libstore/module.c:open_class when there is | >> error and it is not ENOENT. It seems that dlopen doesn't return | >> ENOENT when shared object is not found. | | I don't think dlopen actually sets errno reliably, or is required | to. So the kludge there doesn't even work. Note it's marked with | XXX because I knew it sucked when I wrote it. Unfortunately I think | the only correct thing to do is always eat the error message, or | perhaps display it only with some runtime debugging option turned on | by the user. It would be nice to be able to see errors from a bogus | module that doesn't load properly, but the situation where you can't | distinguish that from a missing module is the same e.g. for nss | modules. `---- _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/bug-hurd