2 things :
- if you are using an Linux Oracle install, you need to compile
a linux perl and use that.
- if you've installed the Oracle7 client libraries, /usr/ports/databases/oracle7,
then you can use the FreeBSD native Perl. Make sure you set the env var
LD_LIBRARY_PATH.
I am being short with desc because I have to run, I can help latter if you
want to email privately.
STH
On 22-Oct-2002 Matthew Lineen wrote:
> I'm trying to get DBD::Oracle working on a FreeBSD machine. After
> jumping through some hoops to install it, I get this error:
> /usr/libexec/ld-elf.so.1:
> /usr/local/perl-5.8.0/lib/site_perl/5.8.0/i386-freebsd/auto/DBD/Oracle
> /Oracle.so: Undefined symbol "OCIInitialize" when trying to use a
> script that uses DBD::Oracle.
>
> ---
>#!/usr/bin/perl -w
> use strict;
>
> $ENV{ORACLE_HOME}='/oracle/OraHome1';
>
> use DBI;
> my($dbh) = DBI->connect("dbi:Oracle:host=$hostname;sid=$sid", $user,
> $pass)
> || die "COULD NOT CONNECT\n";
> ---
>
> OCIInitialize *seems* to be in the Oracle.so file, but I'm not sure in
> what capacity...
>
>
> ---
> % strings
> /usr/local/perl-5.8.0/lib/site_perl/5.8.0/i386-freebsd/auto/DBD/Oracle
> /Oracle.so | grep OCIInitialize
> OCIInitialize
> OCIInitialize. Check ORACLE_HOME and NLS settings etc.
> ---
>
> I've attached the "%perl Makefile.PL" output and the "%gmake" output
> when I installed DBD::Oracle. Additionally, in order to get this
> working (or maybe the reason it's not), I installed Oracle 9i Client
> on a SUSE Linux machine, copied the /oracle directory (to get the
> library and header files that I need) to my FreeBSD machine. All I
> want to be able to do is connect the FreeBSD webserver to a remote
> Oracle 9i server. If there is another way, please let me know. If I
> need to patch the Makefile in anyway I could use some help. I am
> concerned about this section in the perl_Makefile.PL output, even
> though I get the "Checking if your kit is complete...Looks good"
> message.
>
> ---
> Warning: Oracle build rule discovery failed (256)
> Oracle oci build prolog:
> "/oracle/OraHome1/rdbms/lib/env_rdbms.mk", line 2176: Missing
> dependency operator
> "/oracle/OraHome1/rdbms/lib/env_rdbms.mk", line 2178: Need an
> operator
> "/oracle/OraHome1/rdbms/lib/env_rdbms.mk", line 2180: Need an
> operator
> make: fatal errors encountered -- cannot continue
> ---
>
> Or if you know how to get past the ld-elf.so.1 error, help would be
> wonderful.
>
> Thanks,
> Matthew
>
----------------------------------
E-Mail: [EMAIL PROTECTED]
Date: 22-Oct-2002
Time: 12:16:35
----------------------------------
root@dev /usr/local/src/DBD-Oracle-1.12 # gmake
cp Oracle.h blib/arch/auto/DBD/Oracle/Oracle.h
cp Oracle.pm blib/lib/DBD/Oracle.pm
cp dbdimp.h blib/arch/auto/DBD/Oracle/dbdimp.h
cp oraperl.ph blib/lib/oraperl.ph
cp ocitrace.h blib/arch/auto/DBD/Oracle/ocitrace.h
cp Oraperl.pm blib/lib/Oraperl.pm
cp mk.pm blib/arch/auto/DBD/Oracle/mk.pm
/usr/local/perl-5.8.0/bin/perl5.8.0 -p -e "s/~DRIVER~/Oracle/g" <
/usr/local/perl-5.8.0/lib/site_perl/5.8.0/i386-freebsd/auto/DBI/Driver.xst > Oracle.xsi
/usr/local/perl-5.8.0/bin/perl5.8.0 /usr/local/perl-5.8.0/lib/5.8.0/ExtUtils/xsubpp
-typemap /usr/local/perl-5.8.0/lib/5.8.0/ExtUtils/typemap Oracle.xs > Oracle.xsc &&
mv Oracle.xsc Oracle.c
cc -c -I/oracle/OraHome1/rdbms/demo -I/oracle/OraHome1/rdbms/public
-I/oracle/OraHome1/plsql/public -I/oracle/OraHome1/network/public
-I/oracle/OraHome1/rdbms/demo -I/oracle/OraHome1/rdbms/demo
-I/usr/local/perl-5.8.0/lib/site_perl/5.8.0/i386-freebsd/auto/DBI -DHAS_FPSETMASK
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -O -DVERSION=\"1.12\"
-DXS_VERSION=\"1.12\" -DPIC -fpic
"-I/usr/local/perl-5.8.0/lib/5.8.0/i386-freebsd/CORE" Oracle.c
Oracle.xs: In function `XS_DBD__Oracle__st_ora_fetch':
Oracle.xs:69: warning: passing arg 1 of `fprintf' from incompatible pointer type
Oracle.xs:79: warning: passing arg 1 of `fprintf' from incompatible pointer type
Oracle.xs:83: warning: passing arg 1 of `fprintf' from incompatible pointer type
Oracle.xs:87: warning: passing arg 1 of `fprintf' from incompatible pointer type
cc -c -I/oracle/OraHome1/rdbms/demo -I/oracle/OraHome1/rdbms/public
-I/oracle/OraHome1/plsql/public -I/oracle/OraHome1/network/public
-I/oracle/OraHome1/rdbms/demo -I/oracle/OraHome1/rdbms/demo
-I/usr/local/perl-5.8.0/lib/site_perl/5.8.0/i386-freebsd/auto/DBI -DHAS_FPSETMASK
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -O -DVERSION=\"1.12\"
-DXS_VERSION=\"1.12\" -DPIC -fpic
"-I/usr/local/perl-5.8.0/lib/5.8.0/i386-freebsd/CORE" dbdimp.c
dbdimp.c: In function `dbd_fbh_dump':
dbdimp.c:85: warning: initialization from incompatible pointer type
dbdimp.c: In function `ora_db_login6':
dbdimp.c:206: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:212: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:220: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:221: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:222: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:224: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:227: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:228: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:229: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:234: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:236: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:244: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:248: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:249: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:250: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:251: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:252: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:258: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `ora_db_commit':
dbdimp.c:348: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `ora_db_rollback':
dbdimp.c:394: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `ora_db_disconnect':
dbdimp.c:425: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:427: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `ora_db_destroy':
dbdimp.c:454: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:455: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:456: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:457: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `dbd_preparse':
dbdimp.c:668: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `dbd_rebind_ph_char':
dbdimp.c:783: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:785: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:787: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:790: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:855: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `pp_rebind_ph_rset_in':
dbdimp.c:877: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:889: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:895: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `pp_exec_rset':
dbdimp.c:911: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:917: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:921: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:929: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:976: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:986: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `dbd_rebind_ph':
dbdimp.c:1072: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:1093: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:1101: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:1133: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `ora_bind_ph':
dbdimp.c:1180: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:1183: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:1185: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:1186: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `dbd_phs_sv_complete':
dbdimp.c:1284: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:1294: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:1302: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `dbd_phs_avsv_complete':
dbdimp.c:1316: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `ora_st_execute':
dbdimp.c:1340: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:1379: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:1404: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:1417: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:1431: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:1436: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:1441: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `ora_st_blob_read':
dbdimp.c:1580: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `ora_st_rows':
dbdimp.c:1598: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `ora_st_finish':
dbdimp.c:1648: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `ora_free_fbh_contents':
dbdimp.c:1680: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `ora_free_phs_contents':
dbdimp.c:1690: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `ora_st_destroy':
dbdimp.c:1719: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `dump_env_to_trace':
dbdimp.c:1935: warning: initialization from incompatible pointer type
cc -c -I/oracle/OraHome1/rdbms/demo -I/oracle/OraHome1/rdbms/public
-I/oracle/OraHome1/plsql/public -I/oracle/OraHome1/network/public
-I/oracle/OraHome1/rdbms/demo -I/oracle/OraHome1/rdbms/demo
-I/usr/local/perl-5.8.0/lib/site_perl/5.8.0/i386-freebsd/auto/DBI -DHAS_FPSETMASK
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -O -DVERSION=\"1.12\"
-DXS_VERSION=\"1.12\" -DPIC -fpic
"-I/usr/local/perl-5.8.0/lib/5.8.0/i386-freebsd/CORE" oci7.c
cc -c -I/oracle/OraHome1/rdbms/demo -I/oracle/OraHome1/rdbms/public
-I/oracle/OraHome1/plsql/public -I/oracle/OraHome1/network/public
-I/oracle/OraHome1/rdbms/demo -I/oracle/OraHome1/rdbms/demo
-I/usr/local/perl-5.8.0/lib/site_perl/5.8.0/i386-freebsd/auto/DBI -DHAS_FPSETMASK
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -O -DVERSION=\"1.12\"
-DXS_VERSION=\"1.12\" -DPIC -fpic
"-I/usr/local/perl-5.8.0/lib/5.8.0/i386-freebsd/CORE" oci8.c
oci8.c: In function `oci_error_get':
oci8.c:136: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:144: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c: In function `ora_st_prepare':
oci8.c:304: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:307: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:310: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:314: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:317: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:335: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c: In function `dbd_phs_in':
oci8.c:375: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c: In function `dbd_phs_out':
oci8.c:457: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c: In function `dbd_rebind_ph_lob':
oci8.c:597: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:600: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c: In function `ora_blob_read_piece':
oci8.c:630: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:653: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:658: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:671: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c: In function `fetch_func_autolob':
oci8.c:701: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:740: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:745: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:758: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c: In function `fbh_setup_getrefpv':
oci8.c:783: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:789: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c: In function `ora_describe':
oci8.c:819: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:827: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:833: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:841: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:860: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:866: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:867: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:869: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:870: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:871: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:872: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:935: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:950: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:981: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:992: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:996: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1026: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1042: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c: In function `ora_st_fetch':
oci8.c:1073: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1075: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1084: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1101: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1173: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c: In function `ora_parse_uid':
oci8.c:1201: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1204: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c: In function `ora_db_reauthenticate':
oci8.c:1220: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1222: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c: In function `init_lob_refetch':
oci8.c:1359: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1361: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1366: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1368: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1374: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1377: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1381: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1384: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1389: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1397: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1401: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1405: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1410: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1421: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1472: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1486: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1494: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1502: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1516: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1526: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1529: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1534: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1536: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1554: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1556: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c: In function `post_execute_lobs':
oci8.c:1591: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1596: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1610: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1613: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1619: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c: In function `ora_free_lob_refetch':
oci8.c:1637: warning: passing arg 1 of `fprintf' from incompatible pointer type
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
rm -f blib/arch/auto/DBD/Oracle/Oracle.so
LD_RUN_PATH="/oracle/OraHome1/lib:/oracle/OraHome1/rdbms/lib" cc -shared Oracle.o
dbdimp.o oci7.o oci8.o -o blib/arch/auto/DBD/Oracle/Oracle.so
chmod 755 blib/arch/auto/DBD/Oracle/Oracle.so
cp Oracle.bs blib/arch/auto/DBD/Oracle/Oracle.bs
chmod 644 blib/arch/auto/DBD/Oracle/Oracle.bs
/usr/local/perl-5.8.0/bin/perl5.8.0 "-Iblib/arch" "-Iblib/lib" ora_explain.PL
ora_explain
Extracted ora_explain from ora_explain.PL with variable substitutions.
cp ora_explain blib/script/ora_explain
/usr/local/perl-5.8.0/bin/perl5.8.0 "-MExtUtils::MY" -e "MY->fixin(shift)"
blib/script/ora_explain
Manifying blib/man3/DBD::Oracle.3
Manifying blib/man1/ora_explain.1
Manifying blib/man3/DBD::Oraperl.3
root@dev /usr/local/src/DBD-Oracle-1.12 #
xxx@dev % perl Makefile.PL
Using DBI 1.30 installed in
/usr/local/perl-5.8.0/lib/site_perl/5.8.0/i386-freebsd/auto/DBI
Duplicate specification "S=s" for option "s"
Configuring DBD::Oracle ...
>>> Remember to actually *READ* the README file!
Especially if you have any problems.
Using Oracle in /oracle/OraHome1
Found header files in rdbms/demo.
Found /oracle/OraHome1/rdbms/demo/demo_rdbms.mk
Found /oracle/OraHome1/precomp/demo/proc/demo_proc.mk
Using /oracle/OraHome1/rdbms/demo/demo_rdbms.mk
Reading /oracle/OraHome1/rdbms/demo/demo_rdbms.mk.
Reading /oracle/OraHome1/rdbms/lib/env_rdbms.mk.
Deleting ORA_NLS = $(ORACLE_HOME)/ocommon/nls/admin/data/
because it is not already set in the environment
and it can cause ORA-01019 errors.
Deleting ORA_NLS33 = $(ORACLE_HOME)/ocommon/nls/admin/data/
because it is not already set in the environment
and it can cause ORA-01019 errors.
Appending '/oracle/OraHome1/rdbms/lib/libskgxpd.a
/oracle/OraHome1/rdbms/lib/libskgxpu.a /oracle/OraHome1/rdbms/lib/libskgxpt.a' to
EXTRALIBS
Appending '$(LIBHOME)libskgxp9.so' to SHLIBS
Appending '/oracle/OraHome1/rdbms/lib/libskgxp9.a' to LIBS
Appending '/oracle/OraHome1/rdbms/lib/libskgxns.a
/oracle/OraHome1/rdbms/lib/libskgxnd.a /oracle/OraHome1/rdbms/lib/libskgxnr.a' to
EXTRALIBS
Appending '$(LIBHOME)libskgxn9.so' to SHLIBS
Appending '/oracle/OraHome1/rdbms/lib/libskgxn9.a' to LIBS
Evaluating `cat $(LIBHOME)sysliblist`
expanded `cat /oracle/OraHome1/lib/sysliblist`
returned '-ldl -lm -lpthread -lnsl'
Attempting to discover Oracle OCI build rules...
cc -O -pipe -c DBD_ORA_OBJ.c
Warning: Oracle build rule discovery failed (256)
Oracle oci build prolog:
"/oracle/OraHome1/rdbms/lib/env_rdbms.mk", line 2176: Missing dependency
operator
"/oracle/OraHome1/rdbms/lib/env_rdbms.mk", line 2178: Need an operator
"/oracle/OraHome1/rdbms/lib/env_rdbms.mk", line 2180: Need an operator
make: fatal errors encountered -- cannot continue
Oracle oci build command:
Use of uninitialized value in substitution (s///) at Makefile.PL line 303.
Use of uninitialized value in substitution (s///) at Makefile.PL line 308.
Use of uninitialized value in substitution (s///) at Makefile.PL line 309.
Use of uninitialized value in substitution (s///) at Makefile.PL line 310.
Use of uninitialized value in substitution (s///) at Makefile.PL line 333.
Use of uninitialized value in concatenation (.) or string at Makefile.PL line 383.
Use of uninitialized value in concatenation (.) or string at Makefile.PL line 384.
System: perl5.008 freebsd dev.medicine.northwestern.edu 4.6.2-release freebsd
4.6.2-release #0: wed aug 14 21:23:26 gmt 2002
[EMAIL PROTECTED]:usrsrcsyscompilegeneric i386
Compiler: cc -O -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing
Linker: /usr/bin/ld
Sysliblist: -ldl -lm -lpthread -lnsl
Oracle makefiles would have used these definitions but we override them:
CC: cc
CFLAGS: $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(PFLAGS)\
$(SHARED_CFLAG) $(USRFLAGS)
[$(GFLAG) -O3 $(CDEBUG) $(CCFLAGS) -I/oracle/OraHome1/rdbms/demo
-I/oracle/OraHome1/rdbms/public -I/oracle/OraHome1/plsql/public
-I/oracle/OraHome1/network/public -DLINUX -D_GNU_SOURCE -D_LARGEFILE64_SOURCE=1
-D_LARGEFILE_SOURCE=1 -DSLTS_ENABLE -DSLMXMX_ENABLE -D_REENTRANT -DNS_THREADS
$(LPFLAGS) $(USRFLAGS)]
LDFLAGS: -o $@ $(LDPATHFLAG)$(PRODLIBHOME) $(LDPATHFLAG)$(LIBHOME)
$(LDPATHFLAG)$(LIBHOME)stubs/
[-o $@ -L/oracle/OraHome1/rdbms/lib/ -L$(LIBHOME) -L$(LIBHOME)stubs/]
Linking with OTHERLDFLAGS = [from 'build' rule]
Checking if your kit is complete...
Looks good
Use of uninitialized value in concatenation (.) or string at Makefile.PL line 1129.
LD_RUN_PATH=/oracle/OraHome1/lib:/oracle/OraHome1/rdbms/lib
Using DBD::Oracle 1.12.
Using DBD::Oracle 1.12.
Using DBI 1.30 installed in
/usr/local/perl-5.8.0/lib/site_perl/5.8.0/i386-freebsd/auto/DBI
Writing Makefile for DBD::Oracle
*** If you have problems...
read all the log printed above, and the README and README.help files.
(Of course, you have read README by now anyway, haven't you?)