<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<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"><<a moz-do-not-send="true"
href="mailto:jbb@crimsonthread.com" target="_blank">jbb@crimsonthread.com</a>></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 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>