> > 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).
- DBD::Sybase with freetds -- no statement executing?... fukushi
- Re: DBD::Sybase with freetds -- no statement e... Alexander Farber (EED)
- Re: DBD::Sybase with freetds -- no stateme... fukushi
- Re: DBD::Sybase with freetds -- no sta... Alexander Farber (EED)
- Re: DBD::Sybase with freetds -- no stateme... Curt Russell Crandall
- Re: DBD::Sybase with freetds -- no sta... Michael A. Chase
- Re: DBD::Sybase with freetds -- no... Curt Russell Crandall
- Re: DBD::Sybase with freetds ... Michael Peppler
- Re: DBD::Sybase with free... Curt Russell Crandall
- Re: DBD::Sybase with ... Steve Allsopp
- Re: DBD::Sybase with ... Curt Russell Crandall
- Re: DBD::Sybase with freetds -- no... Steven N. Hirsch
- RE: DBD::Sybase with freetds -- no statement e... Mohanjit Singh