Bug #73228 [Csd]: error LNK2001: unresolved external symbol __imp__vsnprintf

From: Date: Wed, 05 Oct 2016 18:43:26 +0000
Subject: Bug #73228 [Csd]: error LNK2001: unresolved external symbol __imp__vsnprintf
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-204493@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73228&edit=1

 ID:                 73228
 Updated by:         ab@php.net
 Reported by:        ja-jo-ju at mail dot ru
 Summary:            error LNK2001: unresolved external symbol
                     __imp__vsnprintf
 Status:             Closed
 Type:               Bug
 Package:            Compile Failure
 Operating System:   Windows
 PHP Version:        master-Git-2016-10-02 (Git)
-Assigned To:        
+Assigned To:        ab
 Block user comment: N
 Private report:     N

 New Comment:

Thanks for checking. We'll be updating the packages soon.

Cheers.


Previous Comments:
------------------------------------------------------------------------
[2016-10-05 16:47:20] ja-jo-ju at mail dot ru

Closed.

------------------------------------------------------------------------
[2016-10-05 16:43:32] ja-jo-ju at mail dot ru

Yes, overwriting the libcurl files with the contents of http://windows.php.net/downloads/php-sdk/deps/vc14/x64/libcurl-7.50.3-vc14-x64.zip
does fix the build.
Thank you for your help.

------------------------------------------------------------------------
[2016-10-05 15:40:58] ab@php.net

Thanks for sharing. Seems there is an issue with the libcurl build, when ext/curl is configured
static. Please check whether overwriting with the contents of http://windows.php.net/downloads/php-sdk/deps/vc14/x64/libcurl-7.50.3-vc14-x64.zip
fixes the build.

Thanks.

------------------------------------------------------------------------
[2016-10-04 20:46:20] ja-jo-ju at mail dot ru

Thank you for your reply.
My config is
configure.bat --enable-snapshot-build --enable-one-shot --with-mp=auto --disable-zts --enable-odbc
--with-mysqli --with-bz2 --with-odbcver=0x0380 --enable-pdo --with-pdo-mysql=shared
--with-pdo-sqlsrv=shared --enable-sqlsrv=shared --with-xsl --enable-soap --with-xmlrpc
--with-sqlite3 --enable-mbstring --with-curl --with-gettext --with-imap --enable-intl
--enable-mbregex --with-openssl --enable-shmop --with-snmp --enable-exif --enable-cli-win32
--enable-embed --enable-phpdbg --enable-phpdbgs --with-enchant --enable-fileinfo --enable-ftp
--with-mhash --with-mcrypt --enable-sockets --with-pdo-sqlite=shared

I was able to successfully build PHP-master several weeks ago with previous version of deps.7z. When
I downloaded the current version of deps.7z and an actual version of php-src-master.zip I replaced
the old deps with the new one, so I can't test if the previous version of deps.7z still works
fine.
So, I can't even figure out what change causes this compilation issue.

------------------------------------------------------------------------
[2016-10-04 16:54:15] ab@php.net

Thanks for the report. Some mistake could have happened, but there are no issues with the current
snaps. Please be sure you're have no older libs on the lib path and post your configure line.

Thanks.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=73228


--
Edit this bug report at https://bugs.php.net/bug.php?id=73228&edit=1


Thread (7 messages)

« previous php.bugs (#204493) next »