Hello, I am trying to get the Z39.50 ZOOM module to work, but I am running into some difficulties. I am using a basic "Hello World" script to test the functionality of the module but it is producing the following errors.

First, a popup comes up that says "The procedure entry point _ZOOM_connection_error_x@16 could not be located in the dynamic link library yaz.dll". Then, the command line shows the following error:

Can't load 'C:/Perl/site/lib/auto/Net/Z3950/ZOOM/ZOOM.dll' for module +Net::Z3950::ZOOM: load_file:The specified procedure could not be foun +d at C:/Perl/site/lib/XSLoader.pm line 64.at C:/Perl/site/lib/Net/Z39 +50/ZOOM.pm line 12 Compilation failed in require at C:/Perl/site/lib/ZOOM.pm line 6.
Here is the script that I am running:

use ZOOM; $conn = new ZOOM::Connection('z3950.loc.gov', 7090, databaseName => "Voyager", preferredRecordSyntax => "USMARC"); $rs = $conn->search_pqf('@attr 1=7 0253333490'); $rec = $rs->record(0); print $rec->render();


I installed the YAZ toolkit, as well as placed the YAZ bin directory in the system PATH environment variable and rebooted. I cannot for the life of me figure this thing out. From what I can find on google, there is a misconfiguration of a dll. Any help would be appreciated!

I am using ActivePerl on Windows XP Pro.

In reply to ZOOM Module problem by toronto75

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.