Getting the mac perl installation for playing with the oracle is a bit of a pain - when it works, it is fantastic, its launch is a little disappointing.
Below I worked on several different Intel Macs, there may be extra steps, and probably it will not be the same for other platforms.
, root CPANing -
pap- oracle, ..
sudo mkdir /usr/oracle_instantClient64
64- oracle
sudo cd /usr/oracle_instantClient64
sudo ln -s /usr/oracle_instantClient64/libclntsh.dylib.10.1 libclntsh.dylib
dir oracle - -
sudo mkdir -p /b/227/rdbms/
sudo cd /b/227/rdbms/
sudo ln -s /usr/oracle_instantClient64/ lib
, /etc/profile , :
export ORACLE_HOME=/usr/oracle_instantClient64
export DYLD_LIBRARY_PATH=/usr/oracle_instantClient64
DBD:: Oracle CPAN - , , ,
sudo perl -MCPAN -e shell
install DBD::Oracle
CPAN .cpan/build dir - CPAN,
cd ~/.cpan/build
, CPAN
o conf build_dir
, dir dir DBD:: Oracle ( DBD-Oracle-1.28-?) cd.
root. Root osx - . -
root root:
export ORACLE_HOME=/usr/oracle_instantClient64
export DYLD_LIBRARY_PATH=/usr/oracle_instantClient64
, root, make , ,
perl Makefile.pl
make
make install
, , : DBD'd up! , google ,
DBI
sudo perl -MCPAN -e shell
install DBI
- oracley
852637:
perl Makefile.pl
make
install
make install
make , :
lipo: :/var/tmp//ccIevTzM.out( )
, "Makefile", "perl Makefile.pl", :
-arch ppc
.
, (2.), DBI. Makefile, perl Makefile.pl, :
-arch ppc