Oracle DBI on Solaris 8
While installing perl 5.8.5 today and installing all of the modules needed for a web server, I ran into the ELF problem again with Oracle-DBD and a 64-bit operating system. The fix required the following steps:
- Set PATH to have /usr/ccs/bin before /usr/local/bin so Sun’s strip is called instead of the Gnu strip.
Export environment variable to use gcc instead of the cc stub installed on Solaris.
# CC=gcc; export CC - Set your Oracle environment.
- Create the make file.
# perl Makefile.PL - Edit the resulting make file. Remove the “-o build” flags and change all references for Oracle libraries from lib to lib32., e.g. ../v920/rdbms/lib becomes ../v920/rdbms/lib32.
- Compile and install.
# make; make install