Ask Your Question
2

Packages are installed but program does not see them!

asked 2017-07-23 09:12:36 -0500

pal1 gravatar image

updated 2017-07-24 13:30:26 -0500

ssieb gravatar image

So I did not have this in an older version of Fedora but in Fedora 26 (and installing Nvidia and CUDA and Optimus drivers using the RPMFusion method), the error is showing up as:

/opt/program/bin/Linux-x86_64/program: /opt/program/lib/Linux-x86_64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /lib64/libGLU.so.1)
/opt/program/bin/Linux-x86_64/program: /opt/program/lib/Linux-x86_64/libz.so.1: version `ZLIB_1.2.9' not found (required by /lib64/libpng16.so.16)
Required fonts could not be found.
You might need to install more fonts on your computer.

Both libstdc++.so.6 and libz.so.1 are installed several times and also spotted in the folder mentioned by the program!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2017-07-23 09:51:28 -0500

muep gravatar image

Your program seems to be shipping libraries that are usually considered pretty core to a Linux distribution:

  • libz
  • libstdc++

However, it seems to use libGLU.so.1 from Fedora (or any other OS that you would be using) and this gives you a problem. Also libGLU.so.1 is using these other libraries and the dynamic linker ended up using those libraries that your application had bundled with itself. It looks to me that the bundled libraries are older than what your libGLU.so.1 requires.

This is quite difficult to solve without knowing what exactly this application is. Likely finding a solution would involve some experimentation to see what works.

As one option, you could try removing some of the bundled libraries and leave in only those that you can not get from Fedora. This however is not always a good option either. While it is usually OK to have a more recent libz or libstdc++ than what an application was built with, many other libraries change in incompatible ways which would at least require the program to be recompiled with the library versions that you are planning to run with it.

An alternative might be to add more libraries to the location where you have those bundled libraries. Maybe get them from some older Fedora release that you know to work with that program.

If you can recompile the program with libraries provided by Fedora, that would often give the best results.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-07-23 09:12:36 -0500

Seen: 293 times

Last updated: Jul 24 '17