04-01-2013 08:28 AM
I have developed webworks application and create a private plugin by QNX Momentics IDE.
I could config to run the app on Dev Alpha Simulator BB10_1_X.
But when I deploy on device Z10, and run, an error occurred:
Require Error can't find /usr/lib/webplatform/plugins/jnext/lib*Jnext.so.
Please help me. If you need more info, please comment here.
Thank you so much.
Solved! Go to Solution.
04-03-2013 09:27 AM
This is an interesting Q as one of the threads I'm helping on has the same issue
I'm gonna kick this one up to BUG as this is the second time I've heard of it in two days
One thing I will ask - as its already been asked - can you try this please..
Right Click on your extension
Build Configurations -> Build Selected
Cllick on Simulator-Debug
I'm soz about this - the next bit is confusing
In your ext directory you have all the code
See the one that say's 'device'? Add a new directory called 'simulator'
Stick the .so in there and try again
To explain a bit the device folder has ARM CPU instructions
The simulator build has X86
The sim only works on x86 and device only works on ARM
Gomme some feedback - I'm gonna get this sorted for us all ASAP (phone time)
04-05-2013 04:04 AM
Thank for your help. I am grateful about. By your help, I got a solution for this problem.
The problem relates to "link or dependency" of *.so (shared object) or excutable file in UNIX-Like. I think BB10 filesystem is SYSTEM-V , a type of UNIX systemfile.
With simulator I link to a libbrary EX: libbtapi, I declared for "Simulator-Debug". But when I built for device, I did not, this is problem. Messade error that BB10 gave me, it was wrong message. I declared a dependent on "libbtapi" for "Device-Release". Everything was OK.
By the way.
Thank for all.
04-05-2013 04:09 AM
If anyone take this problem "Require Error can't find /usr/lib/webplatform/plugins/jnext/lib*Jnext.so.", please add here. I think I can help you.
04-05-2013 05:26 AM
Thanks Dennis. Been struggling with that one for quite some time trying to get the unzip from githubs to work on the simulator
04-05-2013 12:26 PM
Cant say I understand the solution. Could you please detail it a bit??
04-07-2013 09:51 PM
I shall explain more detail about "Require Error can't find /usr/lib/webplatform/plugins/jnext/lib*Jnext.so".
Suppose that, You used "bt_device_init" function to interact with bluetooth.
You MUST declare 1 link to "libbtapi". If not, you will get the problem.
I give you an image to illustrate.
Thank for all.
01-16-2014 04:39 AM