Can't locate Sybase.pm with FreeTDS and DBD:Sybase
From: V79k (v79k_at_yahoo.com)
Date: 03/22/04
- Previous message: Dan Straw: "Re: test_dynamic Error 29 installing DBD-Oracle v 1.15 on red hat 9 Oracle 9.2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 22 Mar 2004 10:50:44 -0800 (PST) To: dbi-users@perl.org
Hi,
Here's my problem. I am trying to connect to SQLServer
DB using Perl on Linux. So my code has
use DBI;
use DBD::Sybase;
at the top of the code.
I am also using FreeTDS in /usr/local. So
[root@localhost local]# pwd
/usr/local
[root@localhost local]# ls
apache DBD-Sybase-1.02 etc info libexec sbin
src
bin doc freetds-0.62.1
Also, the Free TDS libraries are in /usr/local/lib
[root@localhost lib]# pwd
/usr/local/lib
[root@localhost lib]# ls
libct.a libct.so.2.0 libsybdb.so.4 libtds.so
libtdssrv.la
libct.la libsybdb.a libsybdb.so.4.0 libtds.so.3
libtdssrv.so
libct.so libsybdb.la libtds.a
libtds.so.3.0 libtdssrv.so.1
libct.so.2 libsybdb.so libtds.la
Also, DBD:Sybase was installed from Micheal Peppler's
website
[root@localhost lib]# pwd
/usr/lib
[root@localhost lib]# ls
DBD-Sybase-1.02 libm.so
....
Sybase.pm is present in the above directory.
I also ran MakeFile.PL script ....
Also $SYBASE env. variable is
[root@localhost lib]# echo $SYBASE
/usr/local
Now when I try to run my Perl program I get
$ perl abc.pl
Can't locate DBD/Sybase.pm in @INC (@INC contains:
/usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i386-linux
/usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl/5.6.0/i386-linux
/usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl .) at abc.pl line 3.
BEGIN failed--compilation aborted at abc.pl line 3.
Why cant it locate the Sybase.pm module? Any
solutions?
Thanks,
VK
__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html
- Previous message: Dan Straw: "Re: test_dynamic Error 29 installing DBD-Oracle v 1.15 on red hat 9 Oracle 9.2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|