prblm libpng12.dll 46 pre4 .1 exe last relache 27 mars 2008

Bug #208433 reported by JPL on 2008-03-28
Affects Status Importance Assigned to Milestone

Bug Description

package libpng13.dll or demande to libpgn12.dll

my copy and to rename libpgn13.dll to libpgn12.dll is ok works

sorry french

sas (sas-sas) wrote :

This problem (libpng12.dll missing in 0.46pre4 for Windows) has also been reported by a couple of people on

theAdib (theadib) wrote :

The problem starts with the replaced cairo dll. Which should "only" solve an gradient problem on printing/pdf-export.
See the post of Adrian Johnson

I will take care to give the correct dll into the release bundle. Mark this as release bug.
This bug will be resolved if ishmal collects current cairo lib for updated lib bundle.
Daily snapshots are not affected bcs. they use "old" libs from 20080313.

HTH, Adib.

Changed in inkscape:
assignee: nobody → theadib-gmail
importance: Undecided → Medium
milestone: none → 0.46
status: New → Confirmed
theAdib (theadib) wrote :

added a libpng-12.dll from gimp repository into win32 0.46 branch in order to solve the dependency. Adib

Changed in inkscape:
status: Confirmed → Fix Committed
Rygle (rygle) wrote :

From the inkscape-dev list by me;

The libpng thing has me stumped, as I just ran the packaging script as per the wiki;

I then did a full install using the NSIS installer, and had no complaints about libpng12.dll being missing (. So the solution for now is to rename libpng13.dll to libpng12.dll? Any thoughts on what's going on there?

Adib suggested on IRC that it's finding it in the path somwhere else. Perhaps Gimp?? My Gimp has both versions, but if I rename libpng12.dll, Inkscape still starts. Perhaps it's somewhere else. Adib suggested, so I'll check this out later.

Rygle (rygle) wrote :

And one more from the list;

Do some of you guys mind downloading and testing with dependency walker from here;

Run that and then Open the Inkscape executable. Under the view menu, select Full Paths. This will show you where you're getting your libs from.

Also, can I ask whether you used the installer version, or one of the zip/7z versions? I think the installer adds a path entry for the directory. The inkscape executable should dynamically modify paths, but it may not be fixed properly. If you have trouble running extensions, that is a sign your path setting isn't right. If that's the case, are you running as administrator? Don't know about Vista, but on XP this may affect your access to certain path related registry settings.

Rygle (rygle) wrote :

Updated the readme on SF to indicate the workaround.

JPL (laroche-jeanpierre) wrote :

Bonjour, j'ai instaler un translte

je suis developer C++ and AS400 RPGILE

 used the installer version,

voilà j'ai pris le .exe

j'avais avant 0.45

j'ai désintalé et nettoyer avant de réinstaler le .exe dernier relachement

les chemins d'accès son ok dans ptah j'utilise XP avec les dernieres update

seulement au démarage il me demandait lipng12.dll et dans le logiciel il n'y se trouve pas
j'ai essayer en recopiant et renomant libpng12;dll tout c'est mis a fonctionner


Hello, I have instaler a translte

I am to developer C ++ and AS400 RPGILE

 used the installer version,

Here is I took the .exe

I had before 0.45

I have désintalé and to clean before to réinstaler the last relachement .exe

The roads of access sound OK in ptah I use XP with dernieres update

Only in the démarage he asked me lipng12.dll and in the software he is not there
I have to try by copying out and renomant libpng12; dll everything it is put has to work

Ps (I have just got up sorry not to have answered before)

I am going to test the zip and I report you as fast as possible

JPL (laroche-jeanpierre) wrote :

 I have the dll libpn13.dll make the test remonmant it does not work
2 dll libpng12 and 13 are needed

Win32zip or 7z

Or .exe

For XP

Rygle (rygle) wrote :

Have uploaded a new version of 0.46pre4 for windows with the lib to SF.

The Amigo (theamigo) wrote :

Running on WinXP, I did the following:
 - uninstalled Inkscape 0.45.1
 - searched entire filesystem for "libpng". Deleted the only two matches: "libpng12.dll" and "libpng13.dll" in common files\gtk\2.0\bin
 - installed Inkscape-0.46pre4-2.win32.exe

Inkscape 0.46pre4-2 launches without any complaints.

Further poking and prodding reveals that:
 - Inkscape 0.46pre4-2's included libpng12.dll and libpng13.dll are of different sizes, however:
    - having two copies of libpng12.dll (one named 12 and one named 13) allows Inkscape to launch
    - having two copies of libpng13.dll (one named 12 and one named 13) also allows Inkscape to launch
 - replacing libpng12.dll with some other random dll produces the error "The procedure entry point png_convert_from_time_t could not be located in the dynamic link library libpng12.dll"
 - replacing libpng13.dll with some other random dll produces the error "The procedure entry point png_create_info_struct could not be located in the dynamic link library libpng13.dll"

Thus it appears that Inkscape looks for some function(s) in libpng12 and other function(s) in libpng13, but all of those functions are present in both libraries. That is, at least the functions used when the app is first launched.

The short-term fix of packaging both dlls appears to work fine.

Rygle (rygle) wrote :

Changing to "Fix Released" so Launchpad counts as closed in stats

Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers