Re: Failed build attempt for Oracle-OCI-0.04

[email protected] (Tim Bunce) Thu, 9 Aug 2001 11:04:40 +0100
Newsgroups perl.dbi.oracle-oci
Message-ID <[email protected]>
On Thu, Aug 09, 2001 at 12:51:10PM +1000, Fox, Michael wrote:
> The Oracle::OCI link command is:
> 
> LD_RUN_PATH="" ld -o blib/arch/auto/Oracle/OCI/OCI.so  -shared
> -expect_unresolved "*" -O4 -msym -std -s -L/usr/local/lib -all tmp.a -none
> -L/u01/app/oracle/product/8.1.7/lib/
> -L/u01/app/oracle/product/8.1.7/rdbms/lib/   -lclntsh -lc    
> 
> I tried to removed the unresolved symbols as suggested- eventually adding
> the following to oci_skip:
> 
> 	CollIsLocator	=> "mtf",
> 	Terminate	=> "mtf",
> 	FEnvCreate	=> "mtf",
> 	TransMultiPrepare	=> "mtf",
> 	LobGetChunkSize	=> "mtf",
> 	LobIsOpen	=> "mtf",
> 	LobIsTemporary	=> "mtf",
> 	LobLoadFromFile	=> "mtf",
> 	LobLocatorAssign	=> "mtf",
> 	LobWriteAppend	=> "mtf",
> 	Reset	=> "mtf",
> 	ServerRelease	=> "mtf",

A _very_ curious set.

I'm not familiar with dynamic loading on alpha's so I can't suggest much.
However this may be relevant:
	http://archive.develooper.com/[email protected]/msg00636.html

> I now get problems with barewords:
> 
> t/01base............Bareword "OCI_CRED_RDBMS" not allowed while "strict
> subs" in use at t/01base.t line 96.

Also very odd.

Could you send me a tar.gz file containing a copy of the generated
Oracle/OCI directory (after boot has run and done a make) plus all your
$ORACLE_HOME/rdbms/demo/*.h files.

Tim.