Closed GoogleCodeExporter closed 9 years ago
I can build libpyodbc.a with the following command in the src directory
(straight from http://www.cygwin.com/cygwin-ug-net/dll.html):
g++ -shared -o libpyodbc.a -Wl,--export-all-symbols -Wl,--enable-auto-import
-Wl,--whole-archive buffer.o connection.o errors.o params.o row.o cnxninfo.o
cursor.o getdata.o pyodbcmodule.o -Wl,--no-whole-archive -Lc:\python27\libs
-lodbc32 -lpython27 -lmsvcr90
After that, repeating the build/install command goes OK.
I don't know how to pass this to setup.py, so I leave it to the maintainers to
create a working patch for this issue.
Original comment by alexpr...@gmail.com
on 14 Jul 2010 at 5:07
when is there gonna be a python 2.7 version?
Original comment by dusan.sm...@gmail.com
on 10 Aug 2010 at 7:22
I don't build with mingw, so I haven't seen these. I've uploaded a 2.7 build
and will continue to do so for future releases.
Original comment by mkleehammer
on 20 Aug 2010 at 7:49
Original issue reported on code.google.com by
alexpr...@gmail.com
on 9 Jul 2010 at 12:13