It sounds like DBD::Sybase is trying to load the Sybase DLLs and perhaps cannot find them all.

On UNIX, this would be because the LD_LIBRARY_PATH variable needs to be set, as well as the SYBASE one.

On WinNT, the analagous variable is PATH. It's possible that the order of directories in the Path is incorrect and a non-Sybase library with the same name as a Sybase one is being found first.

On UNIX, for instance, the library name, libintl.so occurs in both /usr/lib and in $SYBASE/lib, so their order within LD_LIBRARY_PATH matters.

If you run the webserver as LocalSystem, make sure that the sybase BIN directory is in the right location in the Global PATH; if you run it as an unpriviledged user, log in as that user and make sure it is in that user's User PATH (or just add it to the global PATH anyway).

Update: I had another thought. Perhaps DBD::Sybase is loading earlier than you expect for some reason (like before the BEGIN block has a chance to change SYBASE)?

dmm

If you GIVE a man a fish you feed him for a day
But,
TEACH him to fish and you feed him for a lifetime

In reply to Re: DBD::Sybase and win32 by dmmiller2k
in thread DBD::Sybase and win32 by busunsl

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.