# Installer une librairie obsolète

**URL:** <https://www.debian-fr.org/t/installer-une-librairie-obsolete/82843>\
**Category:** Support Debian\
**Created:** [Septembre 13, 2020, 7:02 UTC](https://www.debian-fr.org/t/installer-une-librairie-obsolete/82843 "2020-09-13T19:02:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dindoun](https://www.debian-fr.org/user_avatar/www.debian-fr.org/dindoun/32/4281_2.png) [@dindoun](https://www.debian-fr.org/u/dindoun)\
**Post date:** [Septembre 13, 2020, 7:02 UTC](https://www.debian-fr.org/t/installer-une-librairie-obsolete/82843/1 "2020-09-13T19:02:48Z")

</div>

salut  
je voudrais installer un paquet qui n’existe plus sous buster à cause de cette erreur :  
/opt/photoscan-pro/photoscan: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

que me conseillez-vous?

- tenter de metrte du stretch dans le sources.list et installer le libpng12 ?
- compiler

---

<div class="post-metadata">

**Author:** ![dindoun](https://www.debian-fr.org/user_avatar/www.debian-fr.org/dindoun/32/4281_2.png) [@dindoun](https://www.debian-fr.org/u/dindoun)\
**Post date:** [Septembre 13, 2020, 8:03 UTC](https://www.debian-fr.org/t/installer-une-librairie-obsolete/82843/2 "2020-09-13T20:03:56Z")

</div>

ça a marché comme ça:

```
wget http://ftp.debian.org/debian/pool/main/libp/libpng/libpng_1.2.50.orig.tar.xz
tar xvf libpng_1.2.50.orig.tar.xz
cd libpng-1.2.50
./autogen.sh
./configure
make -j8 
make install
ldconfig

```

d’après  
[https://askubuntu.com/questions/895897/error-while-loading-shared-libraries-libpng12-so-0](https://askubuntu.com/questions/895897/error-while-loading-shared-libraries-libpng12-so-0)

---

<div class="post-metadata">

**Author:** ![anonyme2](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/a/f08c70/32.png) [@anonyme2](https://www.debian-fr.org/u/anonyme2)\
**Post date:** [Septembre 13, 2020, 8:27 UTC](https://www.debian-fr.org/t/installer-une-librairie-obsolete/82843/3 "2020-09-13T20:27:17Z")

</div>

> [@dindoun](#):
>
> libpng12.so.0

en utilisant l’utilitaire apt-file ça donne:

r  
root@sda1-testing:/home/avram# apt-file search libpng12.so.0  
nsight-systems: /usr/lib/nsight-systems/host-linux-x64/libpng12.so.0  
root@sda1-testing:/home/avram#

le paquet nsight-systems de buster-backports fournit libpng12.so.0
