in reply to Re^9: DBD::Sybase make problem
in thread DBD::Sybase make problem

Hmmm,
I deleted the Sybase.so from freetds/lib and added /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/Sybase to LD_LIBRARY_PATH

But, I think the problem is clear now.
I am getting the $dbh value when running the script on console with the respective ENVs set.
I also set the same ENVs to the same values that I set on console but unable to execute this script.
Am I missing anything here?

Replies are listed 'Best First'.
Re^11: DBD::Sybase make problem
by Anonymous Monk on Jul 20, 2010 at 08:46 UTC
    I deleted the Sybase.so from freetds/lib and added /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/Sybase to LD_LIBRARY_PATH

    Well, you didn't need to do that either. The error message comes from Sybase.so trying to load libct.so.4 which is trying to load something else ....

    Am I missing anything here?

    Can't say , what is the new error message?

      As I said earlier I'm unable to print $DBI::errstr on browser. Please address my question:
      "But, I think the problem is clear now. I am getting the $dbh value when running the script on console with the respective ENVs set. I also set the same ENVs to the same values that I set on console but unable to execute this script."