M
M
Mamol272019-01-10 12:33:43
linux
Mamol27, 2019-01-10 12:33:43

How to build a QT C++ program for a minor version of stdlibc++.so.6?

Hello, I recently upgraded my work mint and got into a quandary.
I am writing a program that will be used in ASTRA Linux and the bottom line is that I cannot update that system.
When updating mint, my stdlib was also updated to stdlibc++.so.6.0.25, and on the target system stdlibc++.so.6.0.17, and accordingly, the program on it started to crash with an error at startup

/usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by...

Can I somehow build the project on the working machine so that it runs without this dependency error on the target?
Version QT 4.8.7

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry Shitskov, 2019-01-10
@Zarom

The best options in my opinion are:

  1. Build in vagrant corresponding to the target machine
  2. Build with docker that matches the target machine

A
Armenian Radio, 2019-01-10
@gbg

Collect on the target machine, it will be more correct.

J
jcmvbkbc, 2019-01-10
@jcmvbkbc

Can I somehow build the project on the working machine so that it runs without this dependency error on the target?

Can be built with the -static key.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question