D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Debian and shared library

 

On 12/03/12 14:57, Tony Sumner wrote:
I am installing myodbc which is an ODBC connector supplied by the MySQL
community. I downloaded the installer and when I run myodbc-installer I get
the error:

myodbc-installer: error while loading shared libraries: libodbc.so.1:
cannot open shared object file: No such file or directory

I have a file libodbc.so.1 and it is in /usr/local/lib and points to
libodbc.so.1.0.0  I looked for LD_LIBRARYPATH and it is not there but
I have an idea that Debian (I have squeeze) has changed the way it finds
libraries. Is that so and can you tell me how I make the library available?

PS I think there may be some politics around MySQL (though I do like
it); would you recommend I use mariadb instead?

Tony

Do you need an odbc? There are 'better' ways of connecting to mysql.
Tom te tom te tom

--
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq