[Linux v.0.75]: library not found

Ask for help and post your question on how to use XnView MP.

Moderators: helmut, XnTriq, xnview

Post Reply
m7876
Posts: 6
Joined: Mon Sep 28, 2015 11:09 pm

[Linux v.0.75]: library not found

Post by m7876 »

0.72 worked well (and still works) but 0.75 does not start and leaves the message:

Code: Select all

./xnview.sh
... /XnView/XnView: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ... /XnView/XnView)
... /XnView/XnView: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ... /XnView/lib/libQt5WebKit.so.5)
What to do?
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: [Linux v.0.75]: library not found

Post by xnview »

QT Librairies use glibc 3.4, are you able to install them?
Pierre.
m7876
Posts: 6
Joined: Mon Sep 28, 2015 11:09 pm

Re: [Linux v.0.75]: library not found

Post by m7876 »

Likely not.
This is very unfortunate that you changed dependencies.
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: [Linux v.0.75]: library not found

Post by xnview »

m7876 wrote:Likely not.
This is very unfortunate that you changed dependencies.
Not me but QT, which distribution do you have?
Pierre.
m7876
Posts: 6
Joined: Mon Sep 28, 2015 11:09 pm

Re: [Linux v.0.75]: library not found

Post by m7876 »

I understand what you mean. Yes, I am in the dependency trap and do not like it. Distribution is old and highly modified, identical on several computers, and I want to keep it as long as possible.

Point is that (1) I use XnVew for all its 17 years on many systems (so thank you for XnView!!!!!!!!!) and (2) 0.72 works so I deeply regret the situation when software which worked yesterday stop to work today.
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: [Linux v.0.75]: library not found

Post by xnview »

m7876 wrote:I understand what you mean. Yes, I am in the dependency trap and do not like it. Distribution is old and highly modified, identical on several computers, and I want to keep it as long as possible.

Point is that (1) I use XnVew for all its 17 years on many systems (so thank you for XnView!!!!!!!!!) and (2) 0.72 works so I deeply regret the situation when software which worked yesterday stop to work today.
yes i understand but i'm dependent on QT API
Pierre.
cday
XnThusiast
Posts: 4396
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: [Linux v.0.75]: library not found

Post by cday »

m7876 wrote:... I deeply regret the situation when software which worked yesterday stop to work today.
You can still use 0.72...

If you need to reinstall it the installer is available from old versions
m7876
Posts: 6
Joined: Mon Sep 28, 2015 11:09 pm

Re: [Linux v.0.75]: library not found

Post by m7876 »

cday wrote: You can still use 0.72...
Thank you Cap :)
Last edited by m7876 on Thu Oct 01, 2015 9:46 am, edited 1 time in total.
m7876
Posts: 6
Joined: Mon Sep 28, 2015 11:09 pm

Re: [Linux v.0.75]: library not found

Post by m7876 »

xnview wrote: yes i understand but i'm dependent on QT API
Then, why not
http://stackoverflow.com/questions/2474 ... ly-with-qt
or
http://stackoverflow.com/questions/3214 ... nd-libstdc
?
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: [Linux v.0.75]: library not found

Post by xnview »

Problem with LGPL license
Pierre.
m7876
Posts: 6
Joined: Mon Sep 28, 2015 11:09 pm

Re: [Linux v.0.75]: library not found

Post by m7876 »

OK, then solution (I found it minutes ago, everything works now):

1) Download gcc source (current is >= 5.2 but 4.6.2 is enough) from here https://gcc.gnu.org/mirrors.html
2) Compile it (follow instructions, install missing libs if needed) -- it takes looooooong time but files which you need are ready much sooner than compilation finishes
3) Find files "libstdc++.so.6" and "libstdc++.so.6.0.16" (if you compiled the newer version, last number might be different)
4) Copy them to XnView "lib" subdirectory
5) Run XnView, it should work now

Similar problem with the solution is explained here: https://forum.qt.io/topic/25032/solved- ... -install/3

===

Pierre, could you please mention in the announcement that older systems might have this GLIBCXX problem? It is possible that other people have the same problem.
Post Reply