I'm fiddling with PAR and got stuck on the following:
I'm working with 2 solaris boxes - one with Oracle 10 and one with Oracle 9. Since I want move a pp'd executable from one box to the other (don't want to worry about having identical env's), I thought of bundling Oracle libs into my PAR file like such:However, when I run a script which doespp -z 9 -v 3 -p -o MYBUNDLE.par \ -M MY_DBI_WRAPPER_MODULE \ -l libclntsh.so.10.1 \ -l libnnz10.so \ script.pl
I get the following error:use PAR 'MYBUNDLE.par'; use MY_DBI_WRAPPER_MODULE; ...
When I check in the /var/par-user/cache directory, I do see file 08708f45.so there and has good permissions.install_driver(Oracle) failed: Can't load '/var/tmp/par-myuser/cache-8 +e6048b78729baef2dc5e08b6cb2d6fbf6d79bf9/08708f45.so' for module DBD:: +Oracle: ld.so.1: myscript.pl: fatal: libclntsh.so.10.1: open failed: +No such file or directory at /path/to/perl/lib/5.10.0/sun4-solaris/Dy +naLoader.pm line 203. at /path/to/perl/lib/site_perl/5.10.0/PAR/Heavy.pm line 109 Compilation failed in require at (eval 27) line 3. Perhaps a required shared library or dll isn't installed where expecte +d at MY_DBI_WRAPPER_MODULE.pm line 83
Any idea what I'm doing wrong or if what I want is at all possible?
Thanks in advanceIn reply to PAR+DBD::Oracle assistance by Viko
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |