View Single Post
Old 11-23-2011, 02:50 PM   #74
MartinZ
Zealot
MartinZ doesn't litterMartinZ doesn't litter
 
Posts: 110
Karma: 138
Join Date: Mar 2011
Device: PB903, PB603
Quote:
use additional linker options:

-Wl,-rpath-link=/usr/local/pocketbook/ubuntoo/lib -L/usr/local/pocketbook/ubuntoo/lib

and to run:
LD_LIBRARY_PATH=/usr/local/pocketbook/ubuntoo/lib ./Your_app

where /usr/local/pocketbook/ubuntoo/lib is PATH where you unpack sergeyvl's lib32 archive.
That's what I did. But it gave lots (really, really many!) of other errors that way (just to mention one: "libc.so.6" is not found, and that is a quite severe problem, i guess). Maybe if I use sergey's lib32, it does not fit to the "gcc", "ld" etc. that is installed on Open Suse.

So I again started to search for the reason, why it does not work "out of the box" in OpenSuse 64Bit, although needed libraries are installed.
As far as i found out, some version of libcurl3 defined versioned symbols, while actual versions do not.

I think, it would be best to include a working gnu build system (fitting to the "libinkview.so") into sergey's SDK and not rely on the individual one, that is installed on each user's linux distribution - so we can avoid running into incompatibilities.
If Pocketbook would give us the source code of "libinkview.so", we could build it suitable for each user's system. But as long as we only have a ready built ".so" - we will have these problems.
MartinZ is offline   Reply With Quote