> > fukushi wrote:
> > > #! /good_directory_for_perl/perl -w

> > > $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.

I only meant the LD_LIBRARY_PATH. Setting the SYBASE env. variable in the 
Perl-script should be fine (it works for me with DBD::Sybase and Sybperl).

Reply via email to