Forums.ATC.no
Teknisk => Generelt teknisk => Emne startet av: ATC på 07. August 2009, 13:44 pm
-
Trying to install DBD::Oracle from CPAN fails because the Oracle client is not properly installed. How do I install the client?
-
1. Go to http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxsoft.html
2. Accept the license agreement
3. Download and install the following RPM files:
- Instant Client Package - Basic
- Instant Client Package - SQL*Plus
- Instant Client Package - SDK
4. Edit /etc/profile adding the following:
export ORACLE_HOME=/usr/lib/oracle/11.1/client/lib/
export LD_LIBRARY_PATH=/usr/lib/oracle/11.1/client/lib/
5. Log out and back in so the profile settings take effect
6. Run perl -MCPAN -e 'install DBD::Oracle' again