I am trying to get ibm_db up and working on OSX Mavericks. I am following the directions found in the DB2 for MAC OS X and was able finish them successfully.
However, there is nothing in there for setting the environment variables:
I know I need to add this line: export IBM_DB_HOME=/Users/db2inst1/sqllib
to a file somewhere. What file is it? I have tried sudo vi /etc/launchd.conf
and when I go to easy_install ibm_db
I am getting the following error:
Environment variable IBM_DB_HOME is not set. Set it to your DB2/IBM_Data_Server_Driver installation directory and retry ibm_db module install.
No eggs found in /var/folders/_z/2nmsjtjj23jdqb6tn0l2v6g0lc16cd/T/easy_install-HjFtty/ibm_db-2.0.5/egg-dist-tmp-omhhih (setup script problem?)
I feel like I am really close
I found that I needed to edit
~./bash_profile
and put my IBM_DB_HOME in there. This took care of the problem and I was able to successfully install the pythonibm_db
package.