Hi,

Do you think it would be possible in a future release to provide a way
of removing the GLOBAL flag from the call to dlopen ?

This causes me all sorts of problems in the unixODBC driver manager when
used with Perl. Perl loads the driver manager and extracts several
symbols, and calls SQLConnect, then the driver manager dlopens the
driver and extracts the entry points from the driver. When control is
returned to Perl, it then calls SQLSetConnectAttr, as perl loads with
LAZY, it has to resolve this symbol, however it finds the symbol that
the driver manager has extracted from the driver with that name, not the
entry point in the driver manager. And so calls the wrong function.
Chaos follows.

I have patched the version of ltdl.c that ships with the source to fix
the problem at the moment, but I would prefer to keep the source for
libtool clean.

Nick Gorham

Reply via email to