Skip to Content.
Sympa Menu

freetds - [freetds] Issue with Sybase DBD installation

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Prasanth Sasidharan <Prasanth_Sasidharan AT infosys.com>
  • To: "freetds AT lists.ibiblio.org" <freetds AT lists.ibiblio.org>
  • Subject: [freetds] Issue with Sybase DBD installation
  • Date: Tue, 25 May 2010 16:31:34 +0530

Hi all,
I need to install DBD for Sybase in PERL 5.8.8.. I am having
DBD-Sybase-1.10... Yeah, also I am using DBI-1.611.. All this is runnin on
Sun Solaris ..
Now, I start off, by setting the SYBASE env variable to
'/usr/local/lib/sybase' .. After this, I am running 'perl MakeFile.PL'.. Till
this step things are fine.. Then the disaster strikes..
I get an error on running 'make'..
Please find the error and its details below(on running make)..

gcc -c -I/usr/local/lib/sybase/include -DNO_BLK=1
-I/usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris/auto/DBI
-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include
-I/opt/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
-DVERSION=\"1.10\" -DXS_VERSION=\"1.10\" -fPIC
"-I/usr/local/lib/perl5/5.8.8/sun4-solaris/CORE" Sybase.c
gcc -c -I/usr/local/lib/sybase/include -DNO_BLK=1
-I/usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris/auto/DBI
-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include
-I/opt/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
-DVERSION=\"1.10\" -DXS_VERSION=\"1.10\" -fPIC
"-I/usr/local/lib/perl5/5.8.8/sun4-solaris/CORE" dbdimp.c
dbdimp.c: In function `clientmsg_cb':
dbdimp.c:358: error: `CS_LOGIN_STATUS' undeclared (first use in this function)
dbdimp.c:358: error: (Each undeclared identifier is reported only once
dbdimp.c:358: error: for each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `dbdimp.o'

Now, I looked at some websites for help, and found that I can add '#declare
CS_LOGIN_STATUS' to dbdimp.c.. Tried it, but no use..Should I set
LD_LIBRARY_PATH?? Any pointers??

Regs,
Prasanth Sasidharan.

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient,
please
notify the sender by e-mail and delete the original message. Further, you are
not
to copy, disclose, or distribute this e-mail or its contents to any other
person and
any such actions are unlawful. This e-mail may contain viruses. Infosys has
taken
every reasonable precaution to minimize this risk, but is not liable for any
damage
you may sustain as a result of any virus in this e-mail. You should carry out
your
own virus checks before opening the e-mail or attachment. Infosys reserves
the
right to monitor and review the content of all messages sent to or from this
e-mail
address. Messages sent to or from this e-mail address may be stored on the
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***




Archive powered by MHonArc 2.6.24.

Top of Page