Are you using a Linux compiled Perl? If not you need to use Perl/DBI/DBD::Oracle that are compiled for linux. I did this running under the /compat/linux/bin/bash. I was using the Oracle7 clients(FreeBSD native) from the ports tree to compile a native DBD::Oracle, but support for the Oracle7 is going away soon. I also start a dbi_proxy with the linux compile Perl and connect from the other FreeBSD servers or the native compiled Perl with DBD::Proxy. I wish Oracle would release a native client for FreeBSD, they had one before (Oracle7), they just didn't support it. I realize they will probably never release a supported server for FreeBSD, but a client would be nice.
On 17-Feb-2004 Scot Greisch wrote: > I've got Oracle9i successfully installed and am able to connect via > sqlplus to databases on the local server and remote servers. > > I've installed DBI 1.40 and am trying to install DBD::Oracle 1.15. It > gives the following warnings during perl Makefile.PL: > > Note (probably harmless): No library found for -ldl > Note (probably harmless): No library found for -lpthread > Note (probably harmless): No library found for -lnsl > Note (probably harmless): No library found for -ldl > > make proceeds without errors, but make test has problems with each test > along the lines of: > > 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' fo r module DBD::Oracle: Shared > object "libdl.so.2" not found at /usr/local/lib/perl5 > /5.6.1/mach/DynaLoader.pm line 206. at (eval 1) line 3 Compilation > failed in require at (eval 1) line 3. Perhaps a required shared library > or dll isn't installed where expected at t/base.t line 19 The remaining > tests will probably also fail with the same error. > > > The libraries libnsl.so.1, libdl.so.2, and libpthread.so.0 are in > /compat/linux/lib > > I've attached the stderr output from my attempted build. Any insight > would be much appreciated. > > Thank you, > > Scot Greisch > Internet/Web Administrator > Thousand Trails/NACO/Leisure Time, Inc. > [EMAIL PROTECTED] > http://www.1000trails.com > > ---------------------------------- E-Mail: Scott T. Hildreth <[EMAIL PROTECTED]> Date: 17-Feb-2004 Time: 17:39:14 ----------------------------------