Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 7069

How to compile a library having alpine linux target inside ubuntu

$
0
0

I'm having a library need to be used inside the alpine linux based docker container, I pre-build the library in my ubuntu machine and copied into the container, but error throws on pthread_mutex_clocklock undefined ref. I expect this is due to target mismatch, So, I need to compile my library having target alpine linux inside the ubuntu.

I tried musl-gcc with architecture x86_64-linux-musl but it throws the same error only.I didn't find any way to cross-build the target.


Viewing all articles
Browse latest Browse all 7069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>