<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On 30.04.2009, at 23:22, Mariano Martinez Peck wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">However, you can of course manually do the "linking" step - in the ffi function declarations, use "libopendbx.so.1" as module instead of just "opendbx". This will then only work on Linux of course, since other Unix platforms use different schemes of versioning libraries.<br> <font color="#888888"> </font></blockquote><div><br>Indeed. That's why I don't want to change the module name.<br></div></div></blockquote></div><div><br></div><div>Well, you can also automate this "pseudo-linking". When starting up, just patch the right module name for the current platform into all the FFI declarations. That's how the OpenGL FFI bindings in Croquet work ...</div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Lucida Grande; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><div style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Helvetica; ">- Bert -</span></div></div></span></div><br></body></html>