I am having a little trouble installing DBD on a new Solaris 8 box. Our production system is Solaris 7 Perl 5.004.04 DBI 1.13 DBD::Oracle 1.03 Oracle 8.1.7.2
and I am trying to set up this new box as Solaris 8 Perl 5.6.1 DBI 1.25 DBD::Oracle 1.12 Oracle 8.1.7.2 and hoping that all these changes at once won't be too traumatic. I am directly responsible only for the DB-related stuff. The one problem I've had in the install process is that DBD::Oracle 1.12 'make's without error, but make test gave the error t/base..............Failed to load Oracle extension and/or shared libraries: install_driver(Oracle) failed: Can't load 'blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1: /usr/local/bin/perl: fatal: libmm.so.11: open failed: No such file or directory at /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206. We have mm installed in /usr/local/lib, and when I added /usr/local/lib to LD_LIBRARY_PATH then 'make test' ran okay, and my test scripts ran okay after 'make install'. But this doesn't seem a very graceful solution. Is there something I can/should change in Makefile.PL? Or should I just ask my sys admin team to add /usr/local/lib to LD_LIBRARY_PATH in /etc/.login and /etc/profile? We are calling coraenv/oraenv from there anyway, to make the Oracle libs visible. Or do I need to ask the sysadmins to rebuild perl? No one here has a lot of experience with the ins and outs of shared libraries. I saw on google that Jeffrey Horn posted a similar question on this list in February, but I didn't see any responses. thanks for any guidance, -Chris
