Andrew Church wrote: >> I'm a newbie trying to compile the latest HEAD CVS, i got this problem. >> >> /usr/lib/libpng12.so: could not read symbols: File in wrong format >> collect2: ld returned 1 exit status >> make[3]: ** [tcdecode] Erro 1 >> >> ./configure only finds the /usr/libpng12.so (32 bits), it is necessary the >> 64 bits /usr/lib64 to make it work, i have linked the libpng12.so (32 bits) >> to the 64bits version, and it compiles. But i need the 32 bits in place to >> make some other software work >> here and this "workaround" is not feasible to me. >> > > I don't have a 64-bit system to test on, but it looks like the only thing > that uses libpng directly (at least from a quick check) is libquicktime, > so if you don't need libquicktime, try configuring and recompiling with > --disable-libquicktime and see if that helps. If that doesn't help, then > it's possible some other library depends on libquicktime and it doesn't > use the correct directory; there isn't really a way to check that other > than by disabling transcode options one by one and finding which one makes > the problem go away. > > --Andrew Church > [EMAIL PROTECTED] > http://achurch.org/ > > My 64-bit Debian has a 64-bit libpng12-dev (details below). If you need it, I'm sure you can get it for your distribution.
David Package: libpng12-dev Priority: optional Section: libdevel Installed-Size: 552 Maintainer: Anibal Monsalve Salazar <[EMAIL PROTECTED]> Architecture: amd64 Source: libpng Version: 1.2.15~beta5-1 Replaces: libpng3-dev (<= 1.2.5), libpng12-0-dev Provides: libpng-dev, libpng12-0-dev, libpng3-dev Depends: libpng12-0 (= 1.2.15~beta5-1), zlib1g-dev Conflicts: libpng2-dev, libpng-dev, libpng12-0-dev, libpng2 (<< 1.0.12-3) Filename: pool/main/libp/libpng/libpng12-dev_1.2.15~beta5-1_amd64.deb Size: 178808 MD5sum: dd0dcd8db8dfcb7ca62d8573b38113d4 SHA1: 4a27102b526cb34c1786ad26ef19e0415b129d89 SHA256: 00768712538be255f305b382404737a5c5db79a26ca4b2ef1ce97bcaf299c9bd Description: PNG library - development libpng is a library implementing an interface for reading and writing PNG (Portable Network Graphics) format files. . This package contains the header and development files needed to build programs and packages using libpng. . Homepage: http://www.libpng.org/pub/png/libpng.html