Quoting Balazs Scheidler <[EMAIL PROTECTED]>: > If these functions are indeed exported by the driver module, I don't see > why you are using RTLD_NEXT at all. You could simply resolve the symbol > from the shared object itself. Or am I missing something? > > We need to test the functionality on AIX, so we will. I drop you an > email once we did that. >
Well, I don't wear a black belt in juggling shared objects so I may be a bit off here, but RTLD_NEXT was required to get this code to work under FreeBSD. Using the driver handle does not work for me on that platform, whereas it does work on Linux and on Cygwin. If you are familiar with this kind of stuff, feel free to review the code and suggest a better, portable way to do this. I wouldn't be too surprised if I screwed something up (although it works on all platforms that I have access to). regards, Markus -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Libdbi-drivers-devel mailing list Libdbi-drivers-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libdbi-drivers-devel