[php-src] Issue #22553: Broken build with system liburiparser
| From: | remicollet | Date: | Thu, 02 Jul 2026 14:19:00 +0000 |
| Subject: | [php-src] Issue #22553: Broken build with system liburiparser | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-252332@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/22553
Author: remicollet
### Description
Build is broken using
--with-external-uriparser
```
/usr/bin/ld: ext/uri/uri_parser_rfc3986.o: in function `php_uri_parser_rfc3986_validate_host':
/builddir/build/BUILD/php86-php-8.6.0_alpha1-build/php-8.6.0alpha1/ext/uri/uri_parser_rfc3986.c:746:(.text+0x148d):
undefined reference to `uriIsWellFormedHostIp6A'
/usr/bin/ld:
/builddir/build/BUILD/php86-php-8.6.0_alpha1-build/php-8.6.0alpha1/ext/uri/uri_parser_rfc3986.c:740:(.text+0x14dc):
undefined reference to `uriIsWellFormedHostIpFutureA'
/usr/bin/ld: ext/uri/uri_parser_rfc3986.o: in function `php_uri_parser_rfc3986_validate_host':
/builddir/build/BUILD/php86-php-8.6.0_alpha1-build/php-8.6.0alpha1/ext/uri/uri_parser_rfc3986.c:746:(.text+0x148d):
undefined reference to `uriIsWellFormedHostIp6A'
/usr/bin/ld:
/builddir/build/BUILD/php86-php-8.6.0_alpha1-build/php-8.6.0alpha1/ext/uri/uri_parser_rfc3986.c:740:(.text+0x14dc):
undefined reference to `uriIsWellFormedHostIpFutureA'
/usr/bin/ld: ext/uri/uri_parser_rfc3986.o: in function `php_uri_parser_rfc3986_validate_host':
/builddir/build/BUILD/php86-php-8.6.0_alpha1-build/php-8.6.0alpha1/ext/uri/uri_parser_rfc3986.c:746:(.text+0x148d):
undefined reference to `uriIsWellFormedHostIp6A'
/usr/bin/ld:
/builddir/build/BUILD/php86-php-8.6.0_alpha1-build/php-8.6.0alpha1/ext/uri/uri_parser_rfc3986.c:740:(.text+0x14dc):
undefined reference to `uriIsWellFormedHostIpFutureA'
```
### PHP Version
```plain
8.6.0alpha1
```
### Operating System
N/A