FastCGI for Perl with Oracle?

Yuxi Yin (yin@parc.xerox.com)
Fri, 7 Mar 1997 18:17:59 PST

From: Yuxi Yin <yin@parc.xerox.com>
To: fastcgi-developers@OpenMarket.com
Subject: FastCGI for Perl with Oracle?
Message-Id: <97Mar7.181759pst."86028"@eliza.parc.xerox.com>
Date: Fri, 7 Mar 1997 18:17:59 PST

Hi,

Does anyone successfully build FastCGI with Perl and Oracle(DBI, DBD)?
I am using Perl5.003, DBI-0.76, DBD-Oracle-0.44, Oracle7.3 on SunOS. 

I use fcgi_stdio method to builde FastCGI for perl5.003. I followed the steps from www.fastcgi.com and
it ran well. Then I  began to integrate it with Oracle. I got it working with DBI-0.76. But I got the
error mesg after linking it with DBD-Oracle-0.44:

gcc -L/usr/local/lib -o perl -O ./perlmain.o /net/zorro/apps/oraperl5/perl5-fcgi/lib/sun4-sunos/5.003/CORE/libperl.a /tmp_mnt/net/zorro/apps/oraperl5/perl5-fcgi/lib/sun4-sunos/5.003/auto/Socket/Socket.a /tmp_mnt/net/zorro/apps/oraperl5/perl5-fcgi/lib/sun4-sunos/5.003/auto/Safe/Safe.a /tmp_mnt/net/zorro/apps/oraperl5/perl5-fcgi/lib/sun4-sunos/5.003/auto/SDBM_File/SDBM_File.a /tmp_mnt/net/zorro/apps/oraperl5/perl5-fcgi/lib/sun4-sunos/5.003/auto/POSIX/POSIX.a /tmp_mnt/net/zorro/apps/oraperl5/perl5-fcgi/lib/sun4-sunos/5.003/auto/ODBM_File/ODBM_File.a /tmp_mnt/net/zorro/apps/oraperl5/perl5-fcgi/lib/sun4-sunos/5.003/auto/NDBM_File/NDBM_File.a /tmp_mnt/net/zorro/apps/oraperl5/perl5-fcgi/lib/sun4-sunos/5.003/auto/FileHandle/FileHandle.a /tmp_mnt/net/zorro/apps/oraperl5/perl5-fcgi/lib/sun4-sunos/5.003/auto/Fcntl/Fcntl.a /tmp_mnt/net/zorro/apps/oraperl5/perl5-fcgi/lib/sun4-sunos/5.003/auto/FCGI/FCGI.a /tmp_mnt/net/zorro/apps/oraperl5/perl5-fcgi/lib/sun4-sunos/5.003/auto/DynaLoader/DynaLoader.a /tmp_mnt/net/zorro/apps/oraperl5/perl5-fcgi/lib/site_perl/sun4-sunos/auto/DBI/DBI.a ./blib/arch/auto/DBD/Oracle/Oracle.a `cat ./blib/arch/auto/DBD/Oracle/extralibs.all` /net/zorro/apps/oraperl5/fcgi-devel-kit/libfcgi/libfcgi.a -lnsl -ldbm  -lm -lc -lposix

/falcon1/oracle/lib/osntab.o(.data+0x4): multiple definition of `osntab'
osntab.o(.data+0x4): first defined here
nldtr1.o(.text+0x8): undefined reference to `_GLOBAL_OFFSET_TABLE_'
nldtr1.o(.text+0x150): relocation truncated to fit .text+0x0 (type BASE10)
snlfn.o(.text+0x234): undefined reference to `lcmlo'
nsctl.o(.text+0x1c): relocation truncated to fit .data+0x0 (type BASE10)
...

Thanks in advance,

Yuxi Yin
yin@parc.xerox.com