Category : linker

I am facign a strange issue. I have a dockerfile for a executable I have created. Obviously it runs perfectly outside the docker. My docker file has several lines like: COPY libaws-cpp-sdk-s3.so /usr/local/lib/ COPY libaws-cpp-sdk-core.so /usr/local/lib/ COPY libaws-c-event-stream.so.0unstable /usr/local/lib/ COPY libvtkIOImage-9.0.so.1 /usr/local/lib/ COPY libvtkImagingCore-9.0.so.1 /usr/local/lib/ These libraries it does find correctly… but SOME other libraries ..

Read more

Ok, I encountered linking problems while creating jib docker image. I copy the files i want into container jib { allowInsecureRegistries = true extraDirectories{ paths{ path{ from = file(‘jnetpcap/jib’) into = ‘/native’ } } } . . . and in other task, i point to those libraries task cmdScript(type: CreateStartScripts) { mainClassName = "cic.cs.unb.ca.ifm.Cmd" applicationName ..

Read more

I have a application written in Go and it is then packaged into a Docker image. The application is statically built using the following command CGO_ENABLED=0 GOOS=linux go build Now, there is a new requirement and I have got a third-party library which has the following components Go interface/Class Files Statically compiled C Library which ..

Read more