Join the 80,000 other DTN customers who enjoy the fastest, most reliable data available. There is no better value than DTN!

(Move your cursor to this area to pause scrolling)




"Interactive Brokers tick data was inconsistent, so I have switched to using DTN exclusively. It is great to no longer have to worry about my datafeed all day long." - Comment from Philippe
"I used to have *******, but they are way more money for the same thing. I have had no probs with data from DTN since switching over." - Comment from Public Forum Post
"Just a thank you for the very helpful and prompt assistance and services. You provided me with noticeably superior service in my setup compared to a couple of other options I had looked at." - Comment from John
"I am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
"IQ feed works very well, does not have all of the normal interruptions I have grown used to on *******" - Comment from Mark
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. via Email
"Boy, probably spent a thousand hours trying to get ******* API to work right. And now two hours to have something running with IQFeed. Hmmm, guess I was pretty stupid to fight rather than switch all this time. And have gotten more customer service from you guys already than total from them… in five years." - Comment from Jim
"Just a quick one to say I'm very impressed so far :) The documentation for developers is excellent and I've quickly managed to get an app written to do historical downloads. The system is very robust and pretty quick considering the extent of data that's available. The support guys have been very helpful too, in combination with the forums it's been plain sailing so far!" - Comment from Adam
"IQ feed is brilliant. The support is mind-bending. What service!" - Comment from Public Forum Post
"Thanks for the great product and support. During this week of high volume trading, my QuoteTracker + IQ Feed setup never missed a beat. Also, thanks for your swiftness in responding to data issues. I was on ******* for a few years before I made the switch over early this year, and wish I had done it a long time ago." - Comment from Ken
Home  Search  Register  Login  Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTNMarkets on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
»Forums Index »Archive (2017 and earlier) »IQFeed Developer Support »UnsatisfiedLinkError
Author Topic: UnsatisfiedLinkError (2 messages, Page 1 of 1)

adrian
-Interested User-
Posts: 28
Joined: Oct 24, 2008


Posted: May 8, 2009 09:46 PM          Msg. 1 of 2
I've got an app working pretty well stand-alone but when I go to deploy it to my server, I get errors whenever I try to initialize the IQFeed DLL:

Caused by: java.lang.UnsatisfiedLinkError: C:\Program Files\DTN\IQFeed\iq_jni.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.iqfeed.IQ_32.<clinit>(IQ_32.java:60)
... 21 more


I added the c:\Program Files\DTN\IQFeed to the java.library.path (and c:\Windows and C:\Windows\System32 for good measure) but it looks like the iq_jni.dll is trying to access some DLL which it can't find.

Can anyone tell me which other DLLs it's trying to load and where I might find them?

thanks!

DTN_Steve_S
-DTN Guru-
Posts: 2093
Joined: Nov 21, 2005


Posted: May 11, 2009 03:35 PM          Msg. 2 of 2
IQ_32.class loads iq_jni.dll from the IQFeed install directory.
iq_jni.dll loads IQ32.dll from the same directory.

The only dependancies that either IQ32.dll or iq_jni.dll have other than standard windows dlls is the Visual C++ 2005 sp1 runtime. This can be verified with dependency walker but be careful since dependecy walker will tell you that the VC++ runtime isnt' found due to the side-by-side configuration that MS uses.

The IQFeed install package installs the required VC++ runtimes as well as adds the IQFeed Installation directory to the system's Path variable.

Assuming you ran the default IQFeed install on the server and didn't manually copy any of the IQFeed files into other directories, it should "just work".

You might want to try running Dependency Walker on your server and opening the iq_jni.dll as well as the IQ32.dll to see if it detects anything missing other than the VC++ runtimes (they will be MSVC80.dll or similar naming).
 

 

Time: Sat May 4, 2024 7:01 PM CFBB v1.2.0 14 ms.
© AderSoftware 2002-2003