Closed GoogleCodeExporter closed 9 years ago
You are getting these errors since you are using DS driver of Linux OS.
DS driver for Mac OS is not available, The DB2 Express-c edition is available
for mac OS, you can find the same at
http://www-01.ibm.com/software/data/db2/express-c/download.html.
If you are using Mac OS as client then you need to install DB2 Express-C 10.1
for Mac OS X. If your DB2 server is also in the same system then you already
have all the necessary libraries.
You needs to reinstall ibm_db after setting IBM_DB_HOME environment variable to
<path_to_sqllib>, and set the DYLD_LIBRARY_PATH environment variable to
<path_to_sqllib/lib64>.
Original comment by rahul.pr...@in.ibm.com
on 19 Feb 2013 at 6:09
Thanks for this information, I will try this right away. One more question:
in the end, I need to connect to a remote DB2 9.7 instance. (a) Will the 10.1
libraries connect to a DB2 9.7 instance? (b) Do I need any other libraries to
support access to a remote system? (OK, that was actually 2 questions :-)
Best, Ted
Original comment by tmorris0...@gmail.com
on 19 Feb 2013 at 12:06
>>>
(a) Will the 10.1 libraries connect to a DB2 9.7 instance?
<<<
Yes, It will connect to DB2 9.7 instance also.
>>>
(b) Do I need any other libraries to support access to a remote system? (OK, that was actually 2 questions :-)
<<<
No, But if your DB2 server is on z/OS or i5/OS then license file is required.
Original comment by rahul.pr...@in.ibm.com
on 19 Feb 2013 at 12:14
Hello Rahul,
I have encountered all sorts of problems installing DB2 Express (very odd
things, according to IBM support) so have moved over to a Windows 7 environment.
I successfully installed the Driver Pack and have *nearly* gotten ibm_db to
install.
When I run pip install ibm_db, I get an error in msvc9compiler.py. The pip log
is attached. (Note same failure occurs with easy_install).
Environment:
Windows 7
Python 2.7
MS Visual Studio Express 2008 FP 1
Original comment by tmorris0...@gmail.com
on 20 Feb 2013 at 2:54
Attachments:
Yet we didn't have build and tested 64-bit ibm_db extension on window platform.
64-bit window build required specific VS 2008 standard edition(VS express edition will not work), you can get help to build 64-bit extension from http://mattptr.net/2010/07/28/building-python-extensions-in-a-modern-windows-environment/ and http://www.freia.jp/taka/blog/python-win32-binary-building-and-x64-cross-compiling-on-32bit-platform/index.html
Original comment by rahul.pr...@in.ibm.com
on 13 May 2013 at 6:19
64-bit window build egg files are now available at
https://pypi.python.org/pypi/ibm_db/.
Original comment by rahul.pr...@in.ibm.com
on 17 Jun 2013 at 6:22
Original issue reported on code.google.com by
tmorris0...@gmail.com
on 18 Feb 2013 at 10:41Attachments: