[yt-dev] Issue #681: Cannot link against png provided by ubuntu 13.04 libpng12-devel package (yt_analysis/yt)

Nathan Goldbaum issues-reply at bitbucket.org
Mon Oct 21 11:37:55 PDT 2013


New issue 681: Cannot link against png provided by ubuntu 13.04 libpng12-devel package
https://bitbucket.org/yt_analysis/yt/issue/681/cannot-link-against-png-provided-by-ubuntu

Nathan Goldbaum:

I think this is due to multiarch, which is bandaided over in setup.py.

Terminal session:


```
#!
$ python setup.py develop
Since you are using multiarch distro it's hard to detect
whether library matches the header file. We will assume
it does. If you encounter any build failures please use
proper cfg files to provide path to the dependencies

Reading PNG location from png.cfg failed.
Please place the base directory of your
PNG install in png.cfg and restart.
(ex: "echo '/usr/local/' > png.cfg" )
You can locate the path by looking for png.h

$ locate libpng.so
/usr/lib/x86_64-linux-gnu/libpng.so

$ locate png.h
/usr/include/png.h
```

@xarthisius, do you see a workaround?





More information about the yt-dev mailing list