inkview icon indicating copy to clipboard operation
inkview copied to clipboard

Can not find libraries

Open Apollon76 opened this issue 4 years ago • 5 comments

Trying to build example after docker-compose build with docker run --rm -v $PWD:/app -v $GOPATH:/gopath dennwc/pocketbook-go-sdk:latest. Getting

# github.com/dennwc/inkview
/usr/lib/gcc-cross/arm-linux-gnueabi/5/../../../../arm-linux-gnueabi/bin/ld: skipping incompatible /usr/lib/../lib/libinkview.so when searching for -linkview
/usr/lib/gcc-cross/arm-linux-gnueabi/5/../../../../arm-linux-gnueabi/bin/ld: skipping incompatible //usr/lib/libinkview.so when searching for -linkview
/usr/lib/gcc-cross/arm-linux-gnueabi/5/../../../../arm-linux-gnueabi/bin/ld: cannot find -linkview
collect2: error: ld returned 1 exit status

Though it works fine with the pulled from docker hub image v0.2.

Apollon76 avatar Jan 30 '21 09:01 Apollon76

Same here. The error message indicates that the compiler finds the lib but does not think its compatible, though.

cmoetzing avatar Jun 14 '21 08:06 cmoetzing

same here

microo8 avatar Jun 28 '21 09:06 microo8

So I don't know how this project is going, but I made a fork: git.sr.ht/~ghost08/inkview Fixed this issue and changed the SDK from pbsdk-linux-1.1.0.deb to https://github.com/pocketbook/SDK_6.3.0.git Also using the included arm-linux-gcc from the SDK repo.

microo8 avatar Jun 29 '21 17:06 microo8

@microo8 please check my dockerfile at https://github.com/Skeeve/SDK_6.3.0/tree/docker

I created an image based on Debian 9 slim. As I found the cloning of the pocketbook SDK a bit slow I switched to exporting just the (for me) relecant B288 directory using svn.

ENV SDK_ARCH=B288
ENV SDK_BASE=/SDK
ENV SDK_URL=https://github.com/pocketbook/SDK_6.3.0/branches/5.19/SDK-${SDK_ARCH}
svn export ${SDK_URL} ${SDK_BASE}

That saves about 4GB of traffic by leaving out the other 2 directories.

You're welcome to adopt this.

Skeeve avatar Oct 22 '21 08:10 Skeeve

I just updated to SDK 6.3.0 and golang 17.2 here https://github.com/Skeeve/inkview/tree/SDK-6.3.0

Skeeve avatar Oct 22 '21 18:10 Skeeve