Answer the question
In order to leave comments, you need to log in
How to solve the problem with a deprecated function?
Good afternoon. There is a libpng library that I link with my program when I build it. At the linking stage, the following message appears:
/home/projects/smartbot/game/libs/libpng/lib64/libpng.so: undefined reference to `[email protected]_2.29'
-lm
gave a negative response:/home/projects/smartbot/game/libs/libpng/lib64/libpng.so: undefined reference to `[email protected]_2.29'
[email protected]:~$ ldd --version
ldd (Ubuntu GLIBC 2.27-3ubuntu1) 2.27
Answer the question
In order to leave comments, you need to log in
Install libpng from the packages on your system, put a dev package for it, and use it in your project.
The packages contain the version of libpng that is compatible with your system.
glibc is tightly coupled to the kernel, so you can't just build it and change the version. It comes with the kernel.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question