Lazarus + Oracle + OSX lazarus / 16-Databases ---------------------------------------------------------------------- diego_fm ยท 2015-11-07 18:29 Hey guys, I've installed Lazarus + FPC 2.6.4 on my OS X. I also installed Oracle Client 64-bit 11.2.0.4.0 on /Applications/oracle/product/instantclient_64/11.2.0.4.0 and created a bash_profile with the following environment varialbles: export ORACLE_HOME=/Applications/oracle/product/instantclient_64/11.2.0.4.0 export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/lib:$PATH export DYLD_LIBRARY_PATH=$ORACLE_HOME/lib Inside Lazarus, if I debug the app showing the environment variables it will show me precisely the correct locations for the libraries for the DYLD_LIBRATY_PATH variable. Anyway, whenever I try to connect to by Oracle database using TOracleConnection I get the message: "Can not load Oracle client library "libociei.dylib". Is it installed ?" The file exists in the path and everything seems to be corrected installed in 64-bit. But I really don't know why I still get this error. Does anyone know a solution for that ? Thanks !!