adampaulsen
Verified User
- Joined
- Aug 5, 2017
- Messages
- 12
Hey,
I was trying to upgrade from php 5.x to php 7.1. while doing ./build php n, I keep getting this error -
I checked config.log and found this--
From the googling I've done, it's pointing towards a funky libpng install, but it was installed using apt-get.. I'm not really sure where I should go from here.
-adam
I was trying to upgrade from php 5.x to php 7.1. while doing ./build php n, I keep getting this error -
configure:33587: error: Problem with libpng.(a|so) or libz.(a|so). Please check config.log for more information.
I checked config.log and found this--
root@hercules:/usr/local/directadmin/custombuild/php-7.1.8# grep libpng config.log
configure:32397: checking for the location of libpng
/usr/local/lib/libpng.so: undefined reference to `inflate'
/usr/local/lib/libpng.so: undefined reference to `crc32'
/usr/local/lib/libpng.so: undefined reference to `deflateReset'
/usr/local/lib/libpng.so: undefined reference to `deflate'
/usr/local/lib/libpng.so: undefined reference to `deflateInit2_'
/usr/local/lib/libpng.so: undefined reference to `inflateEnd'
/usr/local/lib/libpng.so: undefined reference to `deflateEnd'
/usr/local/lib/libpng.so: undefined reference to `inflateInit_'
/usr/local/lib/libpng.so: undefined reference to `inflateReset'
From the googling I've done, it's pointing towards a funky libpng install, but it was installed using apt-get.. I'm not really sure where I should go from here.
-adam