error while loading shared libraries: libpng12.so.0












4















I am trying to install FreeSurfer: ftp://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/6.0.0/freesurfer-Linux-centos6_x86_64-stable-pub-v6.0.0.tar.gz



I am following these steps to install FreeSurfer: https://surfer.nmr.mgh.harvard.edu/fswiki/DownloadAndInstall



When I run following commands:



freeview -v 
bert/mri/T1.mgz
bert/mri/wm.mgz
bert/mri/brainmask.mgz
bert/mri/aseg.mgz:colormap=lut:opacity=0.2
-f
bert/surf/lh.white:edgecolor=blue
bert/surf/lh.pial:edgecolor=red
bert/surf/rh.white:edgecolor=blue
bert/surf/rh.pial:edgecolor=red


I get this error:



freeview.bin: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory


And when I am trying to install this package:



sudo apt-get install libpng12.so.0


I am getting this error:



Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libpng12.0-0:i386
E: Couldn't find any package by glob 'libpng12.0-0'
E: Couldn't find any package by regex 'libpng12.0-0'


I am totally new to Linux, please help!










share|improve this question























  • Are you using Ubuntu 16.10?

    – fkraiem
    Mar 23 '17 at 3:38











  • Yes! I am using Ubuntu 16.10

    – New_Coder
    Mar 23 '17 at 3:40
















4















I am trying to install FreeSurfer: ftp://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/6.0.0/freesurfer-Linux-centos6_x86_64-stable-pub-v6.0.0.tar.gz



I am following these steps to install FreeSurfer: https://surfer.nmr.mgh.harvard.edu/fswiki/DownloadAndInstall



When I run following commands:



freeview -v 
bert/mri/T1.mgz
bert/mri/wm.mgz
bert/mri/brainmask.mgz
bert/mri/aseg.mgz:colormap=lut:opacity=0.2
-f
bert/surf/lh.white:edgecolor=blue
bert/surf/lh.pial:edgecolor=red
bert/surf/rh.white:edgecolor=blue
bert/surf/rh.pial:edgecolor=red


I get this error:



freeview.bin: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory


And when I am trying to install this package:



sudo apt-get install libpng12.so.0


I am getting this error:



Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libpng12.0-0:i386
E: Couldn't find any package by glob 'libpng12.0-0'
E: Couldn't find any package by regex 'libpng12.0-0'


I am totally new to Linux, please help!










share|improve this question























  • Are you using Ubuntu 16.10?

    – fkraiem
    Mar 23 '17 at 3:38











  • Yes! I am using Ubuntu 16.10

    – New_Coder
    Mar 23 '17 at 3:40














4












4








4


0






I am trying to install FreeSurfer: ftp://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/6.0.0/freesurfer-Linux-centos6_x86_64-stable-pub-v6.0.0.tar.gz



I am following these steps to install FreeSurfer: https://surfer.nmr.mgh.harvard.edu/fswiki/DownloadAndInstall



When I run following commands:



freeview -v 
bert/mri/T1.mgz
bert/mri/wm.mgz
bert/mri/brainmask.mgz
bert/mri/aseg.mgz:colormap=lut:opacity=0.2
-f
bert/surf/lh.white:edgecolor=blue
bert/surf/lh.pial:edgecolor=red
bert/surf/rh.white:edgecolor=blue
bert/surf/rh.pial:edgecolor=red


I get this error:



freeview.bin: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory


And when I am trying to install this package:



sudo apt-get install libpng12.so.0


I am getting this error:



Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libpng12.0-0:i386
E: Couldn't find any package by glob 'libpng12.0-0'
E: Couldn't find any package by regex 'libpng12.0-0'


I am totally new to Linux, please help!










share|improve this question














I am trying to install FreeSurfer: ftp://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/6.0.0/freesurfer-Linux-centos6_x86_64-stable-pub-v6.0.0.tar.gz



I am following these steps to install FreeSurfer: https://surfer.nmr.mgh.harvard.edu/fswiki/DownloadAndInstall



When I run following commands:



freeview -v 
bert/mri/T1.mgz
bert/mri/wm.mgz
bert/mri/brainmask.mgz
bert/mri/aseg.mgz:colormap=lut:opacity=0.2
-f
bert/surf/lh.white:edgecolor=blue
bert/surf/lh.pial:edgecolor=red
bert/surf/rh.white:edgecolor=blue
bert/surf/rh.pial:edgecolor=red


I get this error:



freeview.bin: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory


And when I am trying to install this package:



sudo apt-get install libpng12.so.0


I am getting this error:



Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libpng12.0-0:i386
E: Couldn't find any package by glob 'libpng12.0-0'
E: Couldn't find any package by regex 'libpng12.0-0'


I am totally new to Linux, please help!







apt package-management software-installation






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 23 '17 at 3:23









New_CoderNew_Coder

28113




28113













  • Are you using Ubuntu 16.10?

    – fkraiem
    Mar 23 '17 at 3:38











  • Yes! I am using Ubuntu 16.10

    – New_Coder
    Mar 23 '17 at 3:40



















  • Are you using Ubuntu 16.10?

    – fkraiem
    Mar 23 '17 at 3:38











  • Yes! I am using Ubuntu 16.10

    – New_Coder
    Mar 23 '17 at 3:40

















Are you using Ubuntu 16.10?

– fkraiem
Mar 23 '17 at 3:38





Are you using Ubuntu 16.10?

– fkraiem
Mar 23 '17 at 3:38













Yes! I am using Ubuntu 16.10

– New_Coder
Mar 23 '17 at 3:40





Yes! I am using Ubuntu 16.10

– New_Coder
Mar 23 '17 at 3:40










6 Answers
6






active

oldest

votes


















3














The software you are trying to run requires version 12 of libpng, which is no longer available in Ubuntu 16.10+. The best thing to do would be to install Ubuntu 16.04, or maybe let the developers of the software know about this problem so they can provide a version compatible with Ubuntu 16.10.






share|improve this answer































    2














    Download the shared library from
    https://packages.ubuntu.com/xenial/amd64/libpng12-0/download and then run
    sudo dpkg -i






    share|improve this answer































      2














      I was having problems installing SAS on Ubuntu 18.04. Some instructions following will only apply to those installing SAS.



      The first problem was that the installation would hang on hot fix W83001. Solution is to move hot fix W83001pt.zip out of the <depot>/hot_fix directory so it is not installed.



      The second problem was that the following package was needed and not installed by default on Ubuntu: libjpeg.s0.62. Installation was done as follows:



      sudo apt install libjpeg62


      The third problem was the missing package discussed on this page, libpng12.so.0. It was downloaded from the link above and installed as follows:



      sudo apt install ./libpng12-0_1.2.54-1ubuntu1.1_amd64.deb


      After this, I was able to run the SAS software. Thanks everyone for posting the tips.






      share|improve this answer

































        1














        You can find this package at



        64b
        http://packages.ubuntu.com/xenial/amd64/libpng12-0/download



        32b
        https://packages.ubuntu.com/xenial/i386/libpng12-0/download






        share|improve this answer
























        • Also works in Ubuntu 18.06.

          – hailinzeng
          Oct 4 '18 at 5:38



















        1














        download source code https://packages.ubuntu.com/xenial/libpng12-0



        compile and install :



        wget http://archive.ubuntu.com/ubuntu/pool/main/libp/libpng/libpng_1.2.54.orig.tar.xz

        tar xvf libpng_1.2.54.orig.tar.xz

        cd libpng-1.2.54
        ./autogen.sh
        ./configure
        make -j8
        sudo make install





        share|improve this answer































          0














          Another alternative is to create symbolic links to both PNG and JPEG libraries



          sudo ln -s -T /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib/x86_64-linux-gnu/libjpeg.so.62
          sudo ln -s -T /usr/lib/x86_64-linux-gnu/libpng16.so /usr/lib/x86_64-linux-gnu/libpng12.so.0


          It will generate some warnings (libpng warning: Application built with libpng-1.2.7 but running with 1.6.28) when running. However, Freeview works ok.






          share|improve this answer



















          • 1





            I know it's not the same problem, but for anyone trying to install gmic on gimp (ubuntu 17.10) this trick doesn't work ./gmic_gimp_qt: /usr/lib/x86_64-linux-gnu/libpng12.so.0: version 'PNG12_0' not found (required by ./gmic_gimp_qt). The workaround of @Diogo Alves works though for gmic.

            – franzlorenzon
            Oct 27 '17 at 13:11













          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f895897%2ferror-while-loading-shared-libraries-libpng12-so-0%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          6 Answers
          6






          active

          oldest

          votes








          6 Answers
          6






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          3














          The software you are trying to run requires version 12 of libpng, which is no longer available in Ubuntu 16.10+. The best thing to do would be to install Ubuntu 16.04, or maybe let the developers of the software know about this problem so they can provide a version compatible with Ubuntu 16.10.






          share|improve this answer




























            3














            The software you are trying to run requires version 12 of libpng, which is no longer available in Ubuntu 16.10+. The best thing to do would be to install Ubuntu 16.04, or maybe let the developers of the software know about this problem so they can provide a version compatible with Ubuntu 16.10.






            share|improve this answer


























              3












              3








              3







              The software you are trying to run requires version 12 of libpng, which is no longer available in Ubuntu 16.10+. The best thing to do would be to install Ubuntu 16.04, or maybe let the developers of the software know about this problem so they can provide a version compatible with Ubuntu 16.10.






              share|improve this answer













              The software you are trying to run requires version 12 of libpng, which is no longer available in Ubuntu 16.10+. The best thing to do would be to install Ubuntu 16.04, or maybe let the developers of the software know about this problem so they can provide a version compatible with Ubuntu 16.10.







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Mar 23 '17 at 3:44









              fkraiemfkraiem

              8,92231830




              8,92231830

























                  2














                  Download the shared library from
                  https://packages.ubuntu.com/xenial/amd64/libpng12-0/download and then run
                  sudo dpkg -i






                  share|improve this answer




























                    2














                    Download the shared library from
                    https://packages.ubuntu.com/xenial/amd64/libpng12-0/download and then run
                    sudo dpkg -i






                    share|improve this answer


























                      2












                      2








                      2







                      Download the shared library from
                      https://packages.ubuntu.com/xenial/amd64/libpng12-0/download and then run
                      sudo dpkg -i






                      share|improve this answer













                      Download the shared library from
                      https://packages.ubuntu.com/xenial/amd64/libpng12-0/download and then run
                      sudo dpkg -i







                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Jun 26 '18 at 6:21









                      Shahab AnsariShahab Ansari

                      211




                      211























                          2














                          I was having problems installing SAS on Ubuntu 18.04. Some instructions following will only apply to those installing SAS.



                          The first problem was that the installation would hang on hot fix W83001. Solution is to move hot fix W83001pt.zip out of the <depot>/hot_fix directory so it is not installed.



                          The second problem was that the following package was needed and not installed by default on Ubuntu: libjpeg.s0.62. Installation was done as follows:



                          sudo apt install libjpeg62


                          The third problem was the missing package discussed on this page, libpng12.so.0. It was downloaded from the link above and installed as follows:



                          sudo apt install ./libpng12-0_1.2.54-1ubuntu1.1_amd64.deb


                          After this, I was able to run the SAS software. Thanks everyone for posting the tips.






                          share|improve this answer






























                            2














                            I was having problems installing SAS on Ubuntu 18.04. Some instructions following will only apply to those installing SAS.



                            The first problem was that the installation would hang on hot fix W83001. Solution is to move hot fix W83001pt.zip out of the <depot>/hot_fix directory so it is not installed.



                            The second problem was that the following package was needed and not installed by default on Ubuntu: libjpeg.s0.62. Installation was done as follows:



                            sudo apt install libjpeg62


                            The third problem was the missing package discussed on this page, libpng12.so.0. It was downloaded from the link above and installed as follows:



                            sudo apt install ./libpng12-0_1.2.54-1ubuntu1.1_amd64.deb


                            After this, I was able to run the SAS software. Thanks everyone for posting the tips.






                            share|improve this answer




























                              2












                              2








                              2







                              I was having problems installing SAS on Ubuntu 18.04. Some instructions following will only apply to those installing SAS.



                              The first problem was that the installation would hang on hot fix W83001. Solution is to move hot fix W83001pt.zip out of the <depot>/hot_fix directory so it is not installed.



                              The second problem was that the following package was needed and not installed by default on Ubuntu: libjpeg.s0.62. Installation was done as follows:



                              sudo apt install libjpeg62


                              The third problem was the missing package discussed on this page, libpng12.so.0. It was downloaded from the link above and installed as follows:



                              sudo apt install ./libpng12-0_1.2.54-1ubuntu1.1_amd64.deb


                              After this, I was able to run the SAS software. Thanks everyone for posting the tips.






                              share|improve this answer















                              I was having problems installing SAS on Ubuntu 18.04. Some instructions following will only apply to those installing SAS.



                              The first problem was that the installation would hang on hot fix W83001. Solution is to move hot fix W83001pt.zip out of the <depot>/hot_fix directory so it is not installed.



                              The second problem was that the following package was needed and not installed by default on Ubuntu: libjpeg.s0.62. Installation was done as follows:



                              sudo apt install libjpeg62


                              The third problem was the missing package discussed on this page, libpng12.so.0. It was downloaded from the link above and installed as follows:



                              sudo apt install ./libpng12-0_1.2.54-1ubuntu1.1_amd64.deb


                              After this, I was able to run the SAS software. Thanks everyone for posting the tips.







                              share|improve this answer














                              share|improve this answer



                              share|improve this answer








                              edited Nov 6 '18 at 21:17









                              Zanna

                              50.8k13136241




                              50.8k13136241










                              answered Nov 6 '18 at 20:58









                              Richard PriceRichard Price

                              212




                              212























                                  1














                                  You can find this package at



                                  64b
                                  http://packages.ubuntu.com/xenial/amd64/libpng12-0/download



                                  32b
                                  https://packages.ubuntu.com/xenial/i386/libpng12-0/download






                                  share|improve this answer
























                                  • Also works in Ubuntu 18.06.

                                    – hailinzeng
                                    Oct 4 '18 at 5:38
















                                  1














                                  You can find this package at



                                  64b
                                  http://packages.ubuntu.com/xenial/amd64/libpng12-0/download



                                  32b
                                  https://packages.ubuntu.com/xenial/i386/libpng12-0/download






                                  share|improve this answer
























                                  • Also works in Ubuntu 18.06.

                                    – hailinzeng
                                    Oct 4 '18 at 5:38














                                  1












                                  1








                                  1







                                  You can find this package at



                                  64b
                                  http://packages.ubuntu.com/xenial/amd64/libpng12-0/download



                                  32b
                                  https://packages.ubuntu.com/xenial/i386/libpng12-0/download






                                  share|improve this answer













                                  You can find this package at



                                  64b
                                  http://packages.ubuntu.com/xenial/amd64/libpng12-0/download



                                  32b
                                  https://packages.ubuntu.com/xenial/i386/libpng12-0/download







                                  share|improve this answer












                                  share|improve this answer



                                  share|improve this answer










                                  answered Jul 27 '17 at 13:53









                                  Diogo AlvesDiogo Alves

                                  111




                                  111













                                  • Also works in Ubuntu 18.06.

                                    – hailinzeng
                                    Oct 4 '18 at 5:38



















                                  • Also works in Ubuntu 18.06.

                                    – hailinzeng
                                    Oct 4 '18 at 5:38

















                                  Also works in Ubuntu 18.06.

                                  – hailinzeng
                                  Oct 4 '18 at 5:38





                                  Also works in Ubuntu 18.06.

                                  – hailinzeng
                                  Oct 4 '18 at 5:38











                                  1














                                  download source code https://packages.ubuntu.com/xenial/libpng12-0



                                  compile and install :



                                  wget http://archive.ubuntu.com/ubuntu/pool/main/libp/libpng/libpng_1.2.54.orig.tar.xz

                                  tar xvf libpng_1.2.54.orig.tar.xz

                                  cd libpng-1.2.54
                                  ./autogen.sh
                                  ./configure
                                  make -j8
                                  sudo make install





                                  share|improve this answer




























                                    1














                                    download source code https://packages.ubuntu.com/xenial/libpng12-0



                                    compile and install :



                                    wget http://archive.ubuntu.com/ubuntu/pool/main/libp/libpng/libpng_1.2.54.orig.tar.xz

                                    tar xvf libpng_1.2.54.orig.tar.xz

                                    cd libpng-1.2.54
                                    ./autogen.sh
                                    ./configure
                                    make -j8
                                    sudo make install





                                    share|improve this answer


























                                      1












                                      1








                                      1







                                      download source code https://packages.ubuntu.com/xenial/libpng12-0



                                      compile and install :



                                      wget http://archive.ubuntu.com/ubuntu/pool/main/libp/libpng/libpng_1.2.54.orig.tar.xz

                                      tar xvf libpng_1.2.54.orig.tar.xz

                                      cd libpng-1.2.54
                                      ./autogen.sh
                                      ./configure
                                      make -j8
                                      sudo make install





                                      share|improve this answer













                                      download source code https://packages.ubuntu.com/xenial/libpng12-0



                                      compile and install :



                                      wget http://archive.ubuntu.com/ubuntu/pool/main/libp/libpng/libpng_1.2.54.orig.tar.xz

                                      tar xvf libpng_1.2.54.orig.tar.xz

                                      cd libpng-1.2.54
                                      ./autogen.sh
                                      ./configure
                                      make -j8
                                      sudo make install






                                      share|improve this answer












                                      share|improve this answer



                                      share|improve this answer










                                      answered Jan 13 at 18:46









                                      Scott StenslandScott Stensland

                                      4,89742242




                                      4,89742242























                                          0














                                          Another alternative is to create symbolic links to both PNG and JPEG libraries



                                          sudo ln -s -T /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib/x86_64-linux-gnu/libjpeg.so.62
                                          sudo ln -s -T /usr/lib/x86_64-linux-gnu/libpng16.so /usr/lib/x86_64-linux-gnu/libpng12.so.0


                                          It will generate some warnings (libpng warning: Application built with libpng-1.2.7 but running with 1.6.28) when running. However, Freeview works ok.






                                          share|improve this answer



















                                          • 1





                                            I know it's not the same problem, but for anyone trying to install gmic on gimp (ubuntu 17.10) this trick doesn't work ./gmic_gimp_qt: /usr/lib/x86_64-linux-gnu/libpng12.so.0: version 'PNG12_0' not found (required by ./gmic_gimp_qt). The workaround of @Diogo Alves works though for gmic.

                                            – franzlorenzon
                                            Oct 27 '17 at 13:11


















                                          0














                                          Another alternative is to create symbolic links to both PNG and JPEG libraries



                                          sudo ln -s -T /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib/x86_64-linux-gnu/libjpeg.so.62
                                          sudo ln -s -T /usr/lib/x86_64-linux-gnu/libpng16.so /usr/lib/x86_64-linux-gnu/libpng12.so.0


                                          It will generate some warnings (libpng warning: Application built with libpng-1.2.7 but running with 1.6.28) when running. However, Freeview works ok.






                                          share|improve this answer



















                                          • 1





                                            I know it's not the same problem, but for anyone trying to install gmic on gimp (ubuntu 17.10) this trick doesn't work ./gmic_gimp_qt: /usr/lib/x86_64-linux-gnu/libpng12.so.0: version 'PNG12_0' not found (required by ./gmic_gimp_qt). The workaround of @Diogo Alves works though for gmic.

                                            – franzlorenzon
                                            Oct 27 '17 at 13:11
















                                          0












                                          0








                                          0







                                          Another alternative is to create symbolic links to both PNG and JPEG libraries



                                          sudo ln -s -T /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib/x86_64-linux-gnu/libjpeg.so.62
                                          sudo ln -s -T /usr/lib/x86_64-linux-gnu/libpng16.so /usr/lib/x86_64-linux-gnu/libpng12.so.0


                                          It will generate some warnings (libpng warning: Application built with libpng-1.2.7 but running with 1.6.28) when running. However, Freeview works ok.






                                          share|improve this answer













                                          Another alternative is to create symbolic links to both PNG and JPEG libraries



                                          sudo ln -s -T /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib/x86_64-linux-gnu/libjpeg.so.62
                                          sudo ln -s -T /usr/lib/x86_64-linux-gnu/libpng16.so /usr/lib/x86_64-linux-gnu/libpng12.so.0


                                          It will generate some warnings (libpng warning: Application built with libpng-1.2.7 but running with 1.6.28) when running. However, Freeview works ok.







                                          share|improve this answer












                                          share|improve this answer



                                          share|improve this answer










                                          answered Oct 19 '17 at 18:18









                                          LuchoLucho

                                          1




                                          1








                                          • 1





                                            I know it's not the same problem, but for anyone trying to install gmic on gimp (ubuntu 17.10) this trick doesn't work ./gmic_gimp_qt: /usr/lib/x86_64-linux-gnu/libpng12.so.0: version 'PNG12_0' not found (required by ./gmic_gimp_qt). The workaround of @Diogo Alves works though for gmic.

                                            – franzlorenzon
                                            Oct 27 '17 at 13:11
















                                          • 1





                                            I know it's not the same problem, but for anyone trying to install gmic on gimp (ubuntu 17.10) this trick doesn't work ./gmic_gimp_qt: /usr/lib/x86_64-linux-gnu/libpng12.so.0: version 'PNG12_0' not found (required by ./gmic_gimp_qt). The workaround of @Diogo Alves works though for gmic.

                                            – franzlorenzon
                                            Oct 27 '17 at 13:11










                                          1




                                          1





                                          I know it's not the same problem, but for anyone trying to install gmic on gimp (ubuntu 17.10) this trick doesn't work ./gmic_gimp_qt: /usr/lib/x86_64-linux-gnu/libpng12.so.0: version 'PNG12_0' not found (required by ./gmic_gimp_qt). The workaround of @Diogo Alves works though for gmic.

                                          – franzlorenzon
                                          Oct 27 '17 at 13:11







                                          I know it's not the same problem, but for anyone trying to install gmic on gimp (ubuntu 17.10) this trick doesn't work ./gmic_gimp_qt: /usr/lib/x86_64-linux-gnu/libpng12.so.0: version 'PNG12_0' not found (required by ./gmic_gimp_qt). The workaround of @Diogo Alves works though for gmic.

                                          – franzlorenzon
                                          Oct 27 '17 at 13:11




















                                          draft saved

                                          draft discarded




















































                                          Thanks for contributing an answer to Ask Ubuntu!


                                          • Please be sure to answer the question. Provide details and share your research!

                                          But avoid



                                          • Asking for help, clarification, or responding to other answers.

                                          • Making statements based on opinion; back them up with references or personal experience.


                                          To learn more, see our tips on writing great answers.




                                          draft saved


                                          draft discarded














                                          StackExchange.ready(
                                          function () {
                                          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f895897%2ferror-while-loading-shared-libraries-libpng12-so-0%23new-answer', 'question_page');
                                          }
                                          );

                                          Post as a guest















                                          Required, but never shown





















































                                          Required, but never shown














                                          Required, but never shown












                                          Required, but never shown







                                          Required, but never shown

































                                          Required, but never shown














                                          Required, but never shown












                                          Required, but never shown







                                          Required, but never shown







                                          Popular posts from this blog

                                          How to change which sound is reproduced for terminal bell?

                                          Can I use Tabulator js library in my java Spring + Thymeleaf project?

                                          Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents