FC6: library global symbol abuse

Joe Orton jorton at redhat.com
Fri Nov 17 16:24:37 UTC 2006


On Fri, Nov 17, 2006 at 11:02:13AM -0500, Tom Lane wrote:
> Joe Orton <jorton at redhat.com> writes:
> > If so they can go on the whitelist, but they should not 
> > really be in /usr/lib to start with; dlopen-able modules should go in 
> > /usr/lib/<somedirectory>.
> 
> This has come up before, but the problem is that it'd break existing
> user-written odbcinst.ini files.  I'm not convinced it's worth that.

It would be a pretty simple hack to try dlopen'ing the basename() of the 
configured driver filename in e.g. $libdir/unixodbc and falling back if 
necessary.  Dumping libraries out of $libdir will e.g. speed up 
ldconfig, and reduce package size since the useless versioning symlinks 
can be dropped.

joe




More information about the Fedora-maintainers mailing list