Hi. this is fukushi struggling with FreeTDS/DBD-Sybase.

From: "Alexander Farber \(EED\)" <[EMAIL PROTECTED]>
Subject: Re: DBD::Sybase with freetds -- no statement executing???
Date: Fri, 06 Apr 2001 15:43:27 +0200
Message-ID: <[EMAIL PROTECTED]>

> fukushi wrote:
> > #! /good_directory_for_perl/perl -w
> > # fttest -- access MS-SQL7 using freetds
> > 
> > use strict;
> > use DBI;
> > 
> > $ENV{SYBASE} =  "/good_direcroty_for_freetds/freetds";
> > $ENV{LD_LIBRARY_PATH} =  $ENV{SYBASE}."/lib";
> 
> I believe, that you can't set the LD_LIBRARY_PATH variable this way
> (just from within of you Perl-script and without any forking), so you 
> should set this variable in the UNIX shell (or in httpd.conf of Apache).

Thank you Alexander!
This is console script and I set these variables in the .bashrc
so these two statements are overlapping and needless.

Anyway, the script doesn't work.

As Micheal suggested, (Thank you! >> Micheal)
I will also ask my question to FreeTDS ML.

Thanks anyway.

-- 
fukushi

Reply via email to