[egenix-users] egenix does not find unixodbc library
M.-A. Lemburg
mal at egenix.com
Mon Oct 2 15:48:40 CEST 2006
BALTUS Jean wrote:
> Disregard my question about the 'login failed'. If you type the Database
> Connection String on one line, it works.
>
> Thank you for your help Marc-Andre Lemburg ! Great product :)
Thanks :-)
> -- Jean
>
>
> -----Original Message-----
> From: egenix-users-bounces at egenix.com
> [mailto:egenix-users-bounces at egenix.com] On Behalf Of BALTUS Jean
> Sent: lundi 2 octobre 2006 14:35
> To: egenix-users at egenix.com
> Subject: RE: [egenix-users] egenix does not find unixodbc library
>
> Yes indeed ! I've added the unixodbc/lib directory to ldconfig and it
> worked.
>
> Now I'm able to add a database connection in Zope but the login fails.
> Is it possible that it's because we use special characters in the
> password?
>
> With isql for instance I have to surround the password with quote:
>
> isql dsn login 'password'
>
> kind regards,
>
> Jean
>
>
> -----Original Message-----
> From: M.-A. Lemburg [mailto:mal at egenix.com]
> Sent: lundi 2 octobre 2006 13:56
> To: BALTUS Jean
> Cc: egenix-users at egenix.com
> Subject: Re: [egenix-users] egenix does not find unixodbc library
>
>
> It is possible that the linker doesn't know about the file:
>
> ldconfig -p
>
> should list it.
>
> Note that it's also possible that libodbc.so.1 requires another
> library that the linker doesn't find. Try running ldd
> /path/to/libodbc.so.1
> as the user you run Zope under. It should print out a list of libs such
> as (the example output is from a 64-bit SuSE system):
>
> libdl.so.2 => /lib64/libdl.so.2 (0x0000002a956e0000)
> libpthread.so.0 => /lib64/tls/libpthread.so.0
> (0x0000002a957e3000)
> libc.so.6 => /lib64/tls/libc.so.6 (0x0000002a958f8000)
> /lib64/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2
> (0x000000552aaaa000)
>
--
Marc-Andre Lemburg
eGenix.com
Professional Python Services directly from the Source (#1, Oct 02 2006)
>>> Python/Zope Consulting and Support ... http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
________________________________________________________________________
::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::
More information about the egenix-users
mailing list