Skip to Content.
Sympa Menu

freetds - Re: [freetds] Unable to install Sybperl & DBD::Sybase with freeTDS

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: chiang.tan AT truenergy.com.au
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Unable to install Sybperl & DBD::Sybase with freeTDS
  • Date: Thu, 22 Jun 2006 10:14:24 +1000

Tried DBD::Sybase installed without Make Test. The installation was
successful, but Perl still cannot locate DBD. Here is the error I got

$ perl -MDBD::Sybase -e0
Can't locate loadable object for module DBD::Sybase in @INC (@INC
contains: /usr/local/lib/perl5/5.8.7/sun4-solaris
/usr/local/lib/perl5/5.8.7 /usr/l0
Compilation failed in require.
BEGIN failed--compilation aborted.

In my .profile, I have
export SYBASE=/usr/local
export TDSVER=8.0

I suspect this may have something to do with the configuration. Here is my
CONFIG file for DBD::Sybase 1.07
SYBASE=/usr/local/ <-- using freeTDS 0.63
EXTRA_LIBS=-ltli <-- using Solaris 2.8
DBI_INCLUDE=/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris <-- ??
BUILD_TYPE=64
LINKTYPE=static

The same thing happen to Sybperl. Here is my CONFIG file for Sybperl 2.08
DBLIBVS=1000 <-- trying to connect to MS SQL 2000, but I'm not
sure if this is correct
CTLIBVS=100
SYBASE=/usr/local/
LD_LIBRARY_PATH=$SYBASE/lib:/usr/ccs/lib:/usr/local/lib:/usr/local/bin:/usr/:$LD_LIBRARY_PATH
EMBED_SYBASE = 0
EMBED_SYBASE_USE_HOME = 0
EXTRA_LIBS=-ltli
EXTRA_DEFS=-DNOBLK <-- should I use DTDS_DBOPEN_HACK instead?
LINKTYPE=static


Cheers,
Chiang Tan

freetds-bounces AT lists.ibiblio.org wrote on 21/06/2006 11:14:11 AM:

> >
> > Hi
> > I managed to install freeTDS on Sun Solaris 2.8, and have no
> > problem connecting to MS SQL using tsql.
> >
> > However, I couldn't manage to install Sybperl & DBD::Sybase properly.
> > Below are the error message I got. Can someone give me a
> > hand on how to install Sybperl & DBD::Sybase properly?
> > DBD install failed with the following???..
> >
>
> <snip>
>
> I don't know about Sybperl, but DBD::Sybase has a readme that indicates
> that the tests don't work with FreeTDS, but the software will. I'm using
> it in a couple dozen production servers, and the tests have never
> passed.
>
> Details here:
> http://search.cpan.org/src/MEWP/DBD-Sybase-1.07/README.freetds
>
> As long as the SYBASE environment variable is set correctly, DBD::Sybase
> should just work.
>
> Regards,
> Paul Bort
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
> --
> Message protected by MailGuard: e-mail anti-virus, anti-spam and
> content filtering.
> http://www.mailguard.com.au
>
>
>
--
We're excited by gas & electricity.NOTICEThis email and any files transmitted
with it may be confidential and are intended solely for the use of the
individual or entity to whom they are addressed. Any confidentiality is not
waived or lost because this email has been sent to you by mistake. This email
may contain personal information of individuals, and be subject to
Commonwealth and/or State privacy laws in Australia.This email is also
subject to copyright. If you are not the intended recipient, you must not
read, print, store, copy, forward or use this email for any reason, in
accordance with privacy and copyright laws. If you have received this email
in error, please notify the sender by return email, and delete this email
from your inbox.The recipient should check this email and any attachments for
the presence of viruses. We do not accept liability for any computer virus,
data corruption, delay, interruption, unauthorized access or unauthorised
amendment.TRUenergy Austra
lia Pty Ltd ABN 96 071 611 017

Message protected by MailGuard: e-mail anti-virus, anti-spam and content
filtering.
http://www.mailguard.com.au/mg






Archive powered by MHonArc 2.6.24.

Top of Page