uplink-python icon indicating copy to clipboard operation
uplink-python copied to clipboard

error when installing using option 2

Open codgas opened this issue 9 months ago • 1 comments

I installed following option 2 and verified that libuplinkc.so is copied to MYPATH/python3.9/site-packages/uplink_python but when I try to run

from uplink_python.uplink import Uplink
uplink = Uplink()

I get the following error

Failed to load library: /usr/local/lib/python3.9/site-packages/uplink_python/libuplinkc.so: cannot open shared object file: No such file or directory

I am using docker (python:3.9-bullseye) for this and my pc is a mac M2

go version
go version go1.14.6 linux/amd64

go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOENV="/root/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/root/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build689664836=/tmp/go-build -gno-record-gcc-switches"

codgas avatar May 19 '24 10:05 codgas