[unixODBC-dev] Where should one install .so files?

Nick Gorham nick at lurcher.org
Sun Jul 15 19:17:08 BST 2012


On 14/07/2012 12:55, Jean-Michel Vourgère wrote:
> Hello
>
> I'm working on mdbtools, that includes a really free odbc driver for microsoft access files.
>
> I'm used to Debian GNU/Linux OS, and I noticed that most drivers are installing themselves in /usr/lib/odbc rather that just /usr/lib. (Then it changed to /usr/lib/i386/odbc, but that is another story...)
> That way, odbcinst.ini only have to reference "Driver = libmdbodbc.so.1" without any path.
>
> But general "upstream" makefile installs in lib/ and not lib/odbc.
>
> My question is where should a driver install itself on most architectures: lib/ or lib/odbc/ ?
>
> Is the odbc subfolder a general thing for distros? Or just a Debian/Ubuntu specific thing?
>
> Thank you!
Hi,

TBH, I dont know. The source configure default to the normal /usr/local 
so /usr/local/lib I certainly dont have any view on /lib/odbc

-- 
nick


More information about the unixODBC-dev mailing list