Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
howto run a single program with old library [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
m_neutron
n00b
n00b


Joined: 26 Feb 2007
Posts: 29
Location: south brandenburg /germany

PostPosted: Wed May 18, 2016 2:59 pm    Post subject: howto run a single program with old library [solved] Reply with quote

Its a basic install issue, but I run into it from time to time and maybe someone else does to.

Some month ago I could run a Logic Synthesis Design suite named Altera Quartus standard on my hardened Gentoo x86_64.

Now it doesn't start with grumbling about an old libpng12.so.0... at least
Code:
quartus: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory


my first idea was to softlink my existing newer libpng16.so to what is missing, by
Code:

ln -s /usr/lib64/libpng.so /usr/lib64/libpng12.so.0


but that did'nt work out
Code:

quartus: /usr/lib64/libpng12.so.0: version `PNG12_0' not found (required by /home/foobar/altera/16.0/quartus/linux64/libQtGui.so.4)


What would be the best concept for just a single program with special needs?

1)going back with libpng to the requested version
idea felt somewhat risky, since probably a growing bunch of packages will complain

2) build and maintain a chroot or a virtual machine
I don't like to maintain an extra system

3)Sandbox
don't know enough about


Last edited by m_neutron on Thu May 19, 2016 11:48 am; edited 1 time in total
Back to top
View user's profile Send private message
m_neutron
n00b
n00b


Joined: 26 Feb 2007
Posts: 29
Location: south brandenburg /germany

PostPosted: Wed May 18, 2016 3:35 pm    Post subject: Reply with quote

meanwhile i found this:
https://forums.gentoo.org/viewtopic-t-1001876-start-0-postdays-0-postorder-asc-highlight-.html

which offers a solution, i'll try tomorrow...

:roll: should have searched better
Back to top
View user's profile Send private message
m_neutron
n00b
n00b


Joined: 26 Feb 2007
Posts: 29
Location: south brandenburg /germany

PostPosted: Thu May 19, 2016 11:48 am    Post subject: Reply with quote

Code:
emerge media-libs/libs/libpng:1.2


solved this problem
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum