View Single Post
Posts: 638 | Thanked: 1,692 times | Joined on Aug 2009
#472
Another (maybe definitive) solution...

Please, add at the end of:
/etc/ld.so.conf

this row:
/opt/qtm11/lib

and run:
ldconfig

To verify, run:
ldconfig -v | grep -i qt

Now cloudgps should run without specify any LD_LIBRARY_PATH.


After this....

I don't want hurt anyone... just for fun i have installed all the development libs inside my N900.... (Oh yeah!)
....and rebuilt cloudgps 0.6.5 using libqtm-12....

So, here it is an attached binary for the brave one ....if someone would make a test. (in my opinion it seems a little faster - maybe because compiled directly on the device? - or due to libqtm12?)
In this case you have to specify the path /opt/qtm12/lib in ld.conf.so.

After this, i'm using a general wrapper (to log the errors) like this:

#!/bin/sh
# LD_LIBRARY_PATH=/opt/qtm11/lib /opt/cloudgps/cloudgps.orig 2>&1 >> /tmp/cloudgps.log
# LD_LIBRARY_PATH=/opt/qtm12/lib /opt/cloudgps/cloudgps.orig 2>&1 >> /tmp/cloudgps.log
# /opt/cloudgps/cloudgps.orig 2>&1 >> /tmp/cloudgps.log
/opt/cloudgps/cloudgps.q12 2>&1 >> /tmp/cloudgps.log

EDIT.
Pay attention, just corrected the lines to add in ld.so.conf
Attached Files
File Type: zip cloudgps.q12.zip (124.7 KB, 230 views)

Last edited by xes; 2011-12-16 at 22:26. Reason: Correction to avoid confusion
 

The Following 7 Users Say Thank You to xes For This Useful Post: