[egenix-users] mxOdbc on suse 9.1

M.-A. Lemburg mal at egenix.com
Tue Feb 1 10:15:37 CET 2005


robert wrote:
> Trying to build mxOdbc on a suse 9.1 box I get the following errors.
> Googling for an explanation I found a hint that iodbc is not supported 
> on SuSe >= 9.0 anymore.

Weird - iODBC certainly compiles on SuSE 9.0+.

In any case we do support iODBC as well as unixODBC.

> What should I do ??

I'd suggest that you edit the mxCOMMERCIAL.py file and comment
out the section for iODBC. You will then have to use unixODBC
to talk to your databases.

> thanks
> Robert
> 
> izar:/home/download/egenix-mx-commercial-2.0.7 # ./setup.py build
> running build
> running mx_autoconf
> gcc -pthread -DNDEBUG -g -O3 -Wall -Wstrict-prototypes 
> -fno-strict-aliasing -fPIC -D_GNU_SOURCE=1 -I/usr/include/python2.3 
> -I/usr/local/include -I/usr/include -c _configtest.c -o _configtest.o
> success!
> removing: _configtest.c _configtest.o
> running build_ext
> building 'mx.ODBC.iODBC.mxODBC' extension
> gcc -pthread -shared 
> build/temp.linux-i686-2.3/mx/ODBC/iODBC/mxODBC/mx/ODBC/iODBC/mxODBC.o 
> build/temp.linux-i686-2.3/mx/ODBC/iODBC/mxODBC/mx/ODBC/iODBC/mxSQLCodes.o 
> -L/usr/local/iODBC/lib -L/usr/local/lib -L/usr/lib -liodbc -o 
> build/lib.linux-i686-2.3/mx/ODBC/iODBC/mxODBC.so
> /usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: 
> cannot find -liodbc
> collect2: ld returned 1 exit status
> error: command 'gcc' failed with exit status 1
> 
> 
> _______________________________________________________________________
> eGenix.com User Mailing List                     http://www.egenix.com/
> http://lists.egenix.com/mailman/listinfo/egenix-users

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Feb 01 2005)
 >>> 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