in reply to DBD-Sybase Sybase.so vs. DynaLoader.pm

FreeTDS has major drawbacks, it's usually better to download the free ASE Express Edition which includes the Sybase Client libs.

You may need to set the SYBASE environment variable (and maybe even others). ASE creates a ASE150.sh file during installation which sets all required variables.

  • Comment on Re: DBD-Sybase Sybase.so vs. DynaLoader.pm

Replies are listed 'Best First'.
Re^2: DBD-Sybase Sybase.so vs. DynaLoader.pm
by derby (Abbot) on Feb 19, 2012 at 21:27 UTC

    Would you care to elaborate on major drawbacks? I've used freetds quite successfully for both perl and ruby projects and have yet to run into any real issues (but then again maybe my problem domain is not very taxing). Also, rather than mucking with LD_LIBRARY_PATH, most *nix distributions use something like ldconfig to set where the loader finds it's libs. If being a sybase client is the core functionality of the box, I would use ldconfig before I started wrapping every client app in a LD_LIBRARY_PATH wrapper.

    -derby

      I'm not using the current version, but it doesn't have placeholder support, can't use varchar or text columns longer than ~255 chars and it feels like error messages are clearer using OpenClient.