<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Still no go.<br>
    <br>
    I've completely removed everything, gotten a new copy via SVN and
    followed<br>
    the install instructions included in that distribution.<br>
    <br>
    Everything goes as expected until I get here:<br>
    <br>
            Now let's grab some content:<br>
    <br>
                cd utilities/<br>
                sudo ./installmgr -sc<br>
                sudo ./installmgr -r CrossWire<br>
                sudo ./installmgr -ri CrossWire KJV<br>
    <br>
    The last command returns:<br>
        Remote source [CrossWire] does not make available module [KJV]<br>
    <br>
    OK - so I follow the instructions later in the install file and
    download KJV.zip and<br>
    extract it to /usr/share/sword<br>
    <br>
    I then go to the command line example<br>
    <br>
        Now lets try it out:<br>
    <br>
            cd ../examples/cmdline<br>
            make<br>
            ./lookup KJV Jn.3.16<br>
    <br>
    The last command returns:<br>
        Could not find module [KJV].  Available modules:<br>
    <br>
    This at least tells me that libsword.so is available and working -
    it doesn't throw<br>
    an exception, just can't find the module.<br>
    <br>
    As advised below, I set LD_LIBRARY_PATH="/usr/lib" which is where
    setup put <br>
    libsword.so. Reboot, open a shell and type 'env' to make sure the
    path is set. It is.<br>
    <br>
    Finally, I open MonoDevelop and load up the C# project. Make the
    project and try<br>
    to run the LookupExample<br>
    <br>
    I still get the same exception.<br>
    <br>
    Again, thanks to all who are trying to help.<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 08/27/2014 11:01 PM, Troy A.
      Griffitts wrote:<br>
    </div>
    <blockquote cite="mid:53FEB7B4.6000904@crosswire.org" type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">:)<br>
        <br>
        The shim is SWORD's flatapi.  I still believe libsword.so is not
        found by the bindings.  How have you made it available?<br>
        It should either be:<br>
        installed by the make system.  If you used autotools to build,
        then: sudo make install<br>
        or you need to set your LD_LIBRARY_PATH variable to include a
        path which contains libsword.so<br>
        <br>
        <br>
        On 08/27/2014 07:10 PM, Greg Hellings wrote:<br>
      </div>
      <blockquote
cite="mid:CAHxvOVLVrs12FYTcB4os7BMzxU-a2qb9ep+i4qsLiD3hxiMgZA@mail.gmail.com"
        type="cite">
        <div dir="ltr">I'm fairly sure that
          org_crosswire_sword_SWMgr_new() is a specific thing to the C#
          bindings. The appropriate namespace in the C++ library is
          "sword::SWMgr::new". The org.crosswire part is left out of the
          C++ namespacing. Perhaps there is a shim library that bridges
          the gap between the C++ lib and the C# bindings that's
          missing?
          <div>
            <div><br>
            </div>
            <div>--Greg</div>
          </div>
        </div>
        <div class="gmail_extra"><br>
          <br>
          <div class="gmail_quote">On Wed, Aug 27, 2014 at 9:07 PM, Jon
            Behrens <span dir="ltr">&lt;<a moz-do-not-send="true"
                href="mailto:jbb@crimsonthread.com" target="_blank">jbb@crimsonthread.com</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div bgcolor="#FFFFFF" text="#000000"> <font
                  face="Helvetica, Arial, sans-serif">Hello again<br>
                  <br>
                  I though finding 'libsword.so' would fix the problem,
                  but not so. Compiling and running<br>
                  the C# LookupExample in the distribution package still
                  gives the following error:<br>
                  <br>
                  Unhandled Exception:<br>
                  System.EntryPointNotFoundException:
                  org_crosswire_sword_SWMgr_new<br>
                    at (wrapper managed-to-native)
                  Sword.NativeMethods:org_crosswire_sword_SWMgr_new ()<br>
                    at Sword.Manager..ctor () [0x00008] in
                  /raid/swordProject/bindings/csharp/Manager.cs:26 <br>
                    at Sword.Tests.LookupExample.Lookup (System.String
                  modName, System.String key) [0x00001] in
                  /raid/swordProject/bindings/csharp/examples/LookupExample.cs:33
                  <br>
                    at Sword.Tests.LookupExample.Main (System.String[]
                  args) [0x00020] in
                  /raid/swordProject/bindings/csharp/examples/LookupExample.cs:27
                  <br>
                  [ERROR] FATAL UNHANDLED EXCEPTION:
                  System.EntryPointNotFoundException:
                  org_crosswire_sword_SWMgr_new<br>
                    at (wrapper managed-to-native)
                  Sword.NativeMethods:org_crosswire_sword_SWMgr_new ()<br>
                    at Sword.Manager..ctor () [0x00008] in
                  /raid/swordProject/bindings/csharp/Manager.cs:26 <br>
                    at Sword.Tests.LookupExample.Lookup (System.String
                  modName, System.String key) [0x00001] in
                  /raid/swordProject/bindings/csharp/examples/LookupExample.cs:33
                  <br>
                    at Sword.Tests.LookupExample.Main (System.String[]
                  args) [0x00020] in
                  /raid/swordProject/bindings/csharp/examples/LookupExample.cs:27
                  <br>
                  <br>
                  Since I assume the function '<span
                    style="color:#444444">org_crosswire_sword_SWMgr_new</span><span
                    style="color:#444444">()' does in fact exist in
                    libsword.so, the only thing I can imagine is that
                    there's a path variable not set somewhere.<br>
                    <br>
                    As I mentioned before, I'm a real newby to Linux, so
                    this may be something obvious to<br>
                    someone with more experience.<br>
                    <br>
                    Thanks for any help<span class="HOEnZb"><font
                        color="#888888"><br>
                        <br>
                        Jon</font></span></span> </font> </div>
              <br>
              _______________________________________________<br>
              sword-devel mailing list: <a moz-do-not-send="true"
                href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br>
              <a moz-do-not-send="true"
                href="http://www.crosswire.org/mailman/listinfo/sword-devel"
                target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
              Instructions to unsubscribe/change your settings at above
              page<br>
            </blockquote>
          </div>
          <br>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
sword-devel mailing list: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a>
Instructions to unsubscribe/change your settings at above page</pre>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
sword-devel mailing list: <a class="moz-txt-link-abbreviated" href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a>
<a class="moz-txt-link-freetext" href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a>
Instructions to unsubscribe/change your settings at above page</pre>
    </blockquote>
    <br>
  </body>
</html>