I don't have any direct suggestions as to what you're doing wrong, but you could try the Dependency Walker (depends.exe1), a nifty application to debug problems with shared library loading. Highly recommended, BTW (hehe, me (a hardcore Unix gal) recommending a Windows tool, that does mean something... ;)

Either load your DLL associated with the DBD::Sybase extension into the tool, or - preferably - use its "profiling" feature, i.e. watch a running application (perl, in this case) to see what dynamic libs it loads (or tries to load). For this, open perl.exe and run it (F7), with your script supplied as program arguments. Then inspect the module dependency tree, version numbers, etc... (you probably want to press F9 to see the absolute paths). Dependency walker comes with a reasonably good online help, for example explaining the different types of dependencies, like implicit, explicit, forward, delay-load... I'd suggest you read it :)

As you're using Win XP, it might be a problem with incorrectly set up or missing side-by-side assemblies — a feature introduced with XP, which allows applications to specify specific versions and/or locations of files they depend on, e.g. shared libs. This is closely related to manifest files, in other words, messing with those might be a way to work around (or at least investigate) problems of this kind. Unfortunately, this whole topic is rather complex, so I won't even attempt to describe any details here. If you're interested, you might want to follow the links from the (more or less arbitrarily chosen) pages I linked to.

Troubleshooting C/C++ Isolated Applications and Side-by-side Assemblies might be another good page to start.

Hope this helps,
Almut

___

1  depends.exe should come with the respective compiler suite (if you opt to install the Platform SDK), typically in a directory ...\tools\bin. In case you really can't get hold of it, you could also try dumpbin /DEPENDENTS


In reply to Re: Installing DBD::Sybase on Windows XP by almut
in thread Installing DBD::Sybase on Windows XP by airdoc

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.