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

Build application for Ubuntu 18 from Ubuntu 20

$
0
0

I build my Go Application in my Ubuntu 20.04 OS with go build -o myApp.

When I run this app on Ubuntu Server 18.04, this error occurs:

/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by ./myApp)

As I searched in stackoverflow, someone mentioned installing glibc 2.29 on the server. But someone else replied that this way is risky and may break OS.

Someone else suggested building App with glibc 2.27.

How can I do this?


Viewing all articles
Browse latest Browse all 6539

Latest Images

Trending Articles



Latest Images

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