Currently Being ModeratedMar 7, 2013 8:38 AM (in response to mdurukan)
How are you invoking the Perl script that calls these modules?
Currently Being ModeratedMar 8, 2013 12:19 AM (in response to Linc Davis)
I simply type in "perl [scriptname.pl]".How is this relevant?I'm not able to install modules.
I've tried both the direct download/make/install way and doing it from the package as described in CPAN manuals.
For the direct download way,I simply type in "cpanm DBD::Oracle" for example.It downloads the package,makes and tries to install but fails during the install process.
Second method is downloading the module package from cpansearch.pearl.org and then pointing the terminal to package path,executing "perl Makefile.PL" and then "make install".
Both methods fails with the same DYLD_LIBRARY_PATH error.
Currently Being ModeratedMar 8, 2013 7:20 AM (in response to mdurukan)
env DYLD_LIBRARY_PATH=whatever perl...
Currently Being ModeratedMar 8, 2013 8:13 AM (in response to mdurukan)
I doubt you need to do anything with DYLD_LIBRARY_PATH. What you need to do is set ORACLE_HOME to the path to your Oracle directory. On Linux, this is something like /pkg/oracle/10.2.0. I'm sure it will be different on your machine. You will have to set that up in your .bash_profile so it gets set before running any scripts that depend on Oracle.
Currently Being ModeratedApr 17, 2013 11:58 PM (in response to mdurukan)
Hi there !
You actually can build DBD::Oracle without having to fiddle with LD_LIBRARY_PATH
Have a look here http://www.nntp.perl.org/group/perl.dbi.users/2013/04/msg36561.html where I have written the necessary steps to fixup the Oracle shared libraries.
Hope this helps,
Currently Being ModeratedAug 27, 2013 7:17 PM (in response to Philippe Causse)
i am lay man with scripting. can you help me in easy way to resolve my issue with having the instant client work on my MAC...
Appriciate your help
Currently Being ModeratedAug 28, 2013 12:09 AM (in response to ORAFIN)
There isn't much scripting involved, and you could copy/paste the few bits required from my post (link above).
If there any things unclear please let me know.