- or download this
cd /Library
sudo mkdir Oracle
...
sudo unzip instantclient-basic-macos.x64-11.2.0.4.0.zip
sudo unzip instantclient-sdk-macos.x64-11.2.0.4.0.zip
sudo unzip instantclient-sqlplus-macos.x64-11.2.0.4.0.zip
- or download this
cd instantclient_11_2
sudo mkdir network
sudo mkdir network/admin
- or download this
ORCL =
(DESCRIPTION =
...
(SERVICE_NAME = SID)
)
)
- or download this
ORACLE_HOME=/Library/Oracle/instantclient_11_2
DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/Library/Oracle/instantclient_11_
+2
...
export TNS_ADMIN
export PATH
export CLASSPATH
- or download this
# required for the Oracle Client
...
else
setenv CLASSPATH $ORACLE_HOME
endif
- or download this
[~] sqlplus -v
SQL*Plus: Release 11.2.0.4.0 Production
[~]
- or download this
dyld: Library not loaded: /ade/dosulliv_sqlplus_mac/oracle/sqlplus/lib
+/libsqlplus.dylib
Referenced from: /Users/sandy/Downloads/instantclient_11_2/sqlplus
Reason: image not found
- or download this
[~] sudo cpan
Password:
...
Enter 'h' for help.
cpan[1]> install DBI
- or download this
gunzip DBD-Oracle-1.75_2.tar.gz
tar -xvf DBD-Oracle-1.75_2.tar
cd DBD-Oracle-1.75_2
- or download this
[~/Downloads/DBD-Oracle-1.75_2] perl Makefile.PL
[... deleted stuff ...]
...
[... more deleted errors ...]
- or download this
#!/bin/sh
# script to change the dynamic lib paths and ids for oracle instant cl
+ient
...
done
done
- or download this
[/Library/Oracle/instantclient_11_2] sudo bash ~/myScrips//fix_dyld.sh
+
Password:
...
[... deleted stuff...]
- or download this
[~/Downloads/DBD-Oracle-1.75_2] sudo perl Makefile.PL
Password:
...
Writing Makefile for DBD::Oracle
Writing MYMETA.yml and MYMETA.json
- or download this
[~/Downloads/DBD-Oracle-1.75_2] make
cp lib/DBD/Oracle/Object.pm blib/lib/DBD/Oracle/Object.pm
...
Manifying blib/man3/DBD::Oracle::Object.3pm
Manifying blib/man3/DBD::Oracle::Troubleshooting::Win32.3pm
- or download this
[~/Downloads/DBD-Oracle-1.75_2] make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_h
+arness(0, 'blib/lib', 'blib/arch')" t/*.t
...
[... more errors ...]
- or download this
sudo install_name_tool -change libclntsh.dylib.11.1 /Library/Oracle/in
+stantclient_11_2/libclntsh.dylib.11.1
/Users/sandy/Downloads/DBD-Oracle-1.75_2/blib/arch/auto/DBD/Oracle/Ora
+cle.bundle
- or download this
[~/Downloads/DBD-Oracle-1.75_2] make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_h
+arness(0, 'blib/lib', 'blib/arch')" t/*.t
...
All tests successful.
Files=38, Tests=9, 8 wallclock secs ( 0.11 usr 0.06 sys + 6.33 cusr
+ 0.96 csys = 7.46 CPU)
Result: PASS
- or download this
sudo make install
- or download this
[~/Downloads] cat test_connection.pl
#!/usr/bin/perl
...
[~/Downloads] perl test_connection.pl
[~/Downloads]