"UnsatisfiedLinkError: no tibftljni in java.library.path" seen on Mac OS X Sierra
book
Article ID: KB0083596
calendar_today
Updated On:
Description
When using the TIBCO FTL adapters on Mac OSX Sierra, the following error is seen:
2017-08-18 12:16:59.262-0700 [Thread-7] ERROR ftlIn - Error initializing: no tibftljni in java.library.path
java.lang.UnsatisfiedLinkError: no tibftljni in java.library.path
This error is seen even after copying TIBFTL_ROOT/lib/tibftl.jar to $STREAMBASE_HOME/lib/ext as the Help instructs (under StreamBase Home > Adapters Guide > StreamBase Embedded Adapters > TIBCO FTL Subscribing Input Adapter > (sub-heading) TIBCO Middleware Dependencies.
Resolution
This issue can be resolved by adding the following to your project's sbd.sbconf:
<java-vm>
<jar file="/Users/MacUser/tibco/ftl/5.x/lib/tibftl.jar"/>
<library path="/Users/MacUser/tibco/ftl/5.x/lib"/>
</java-vm>
These settings are another way to to place the tibftl.jar and native libraries on the classpath and java.library.path.
Issue/Introduction
"UnsatisfiedLinkError: no tibftljni in java.library.path" seen on Mac OS X Sierra when using the FTL adapters.
Feedback
thumb_up
Yes
thumb_down
No