I am running perl on Windows 2000 using IIS 5 and MS SQL 2000.

I am trying to connect to Microsoft SQL using DBD::Sybase and specifically do not want to use ODBC.

I have DBI succesfully installed along with several drivers. I have installed DBD::SYbase and there appears to be no errors on installation. However when I run my generic dbd driver check I get the following error:

Driver: ExampleP Driver: ODBC Driver: Proxy Driver: Sybase Content-type: text/html Software error: install_driver(Sybase) failed: Can't load 'E:/Perl/site/lib/auto/DBD/S +ybase/Sybase.dll' for module DBD::Sybase: load_file:The specified mod +ule could not be found at E:/Perl/lib/DynaLoader.pm line 206. Compilation failed in require at (eval 3) line 3. Perhaps a required shared library or dll isn't installed where expecte +d For help, please send mail to this site's webmaster, giving this error + message and the time and date of the error. [Tue Apr 2 14:31:12 2002 +] E:\Inetpub\cgi-bin\test.pl: install_driver(Sybase) failed: Can't lo +ad 'E:/Perl/site/lib/auto/DBD/Sybase/Sybase.dll' for module DBD::Syba +se: load_file:The specified module could not be found at E:/Perl/lib/ +DynaLoader.pm line 206. [Tue Apr 2 14:31:12 2002] E:\Inetpub\cgi-bin\ +test.pl: Compilation failed in require at (eval 3) line 3. [Tue Apr 2 + 14:31:12 2002] E:\Inetpub\cgi-bin\test.pl: Perhaps a required shared + library or dll isn't installed where expected
Sybase.dll does exist however and in the specified directory.

For anyone who wishes to see my dbd test code:
my @drivers = DBI->available_drivers(); foreach my $driver (@drivers) { print "Driver: $driver<br>"; if ($driver ne "Proxy" && $driver ne "Multiplex" && $driver ne "Ex +ampleP") ##DBD:Proxy and DBD::Multiplex have problem with datasources { my @datasources = DBI->data_sources($driver); foreach my $datasource (@datasources) { print "\tData Source is $datasource<br>"; } } print "\n"; }
I appreciate any help
Thankyou

In reply to Problems with DBD::Sybase by costas

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.