Bug #80429 [Opn->Csd]: About dynamic library lphp.so in php8, but the lphp7.so in php7
| From: | nikic@php.net | Date: | Fri, 27 Nov 2020 11:37:38 +0000 |
| Subject: | Bug #80429 [Opn->Csd]: About dynamic library lphp.so in php8, but the lphp7.so in php7 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-230680@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=80429&edit=1
ID: 80429
Updated by: nikic@php.net
Reported by: rryqszq at gmail dot com
Summary: About dynamic library lphp.so in php8, but the
lphp7.so in php7
-Status: Open
+Status: Closed
Type: Bug
Package: Dynamic loading
Operating System: linux
PHP Version: 8.0Git-2020-11-27 (Git)
-Assigned To:
+Assigned To: nikic
Block user comment: N
Private report: N
New Comment:
Right, the library is called libphp.so in PHP 8 (and all versions going forward).
Previous Comments:
------------------------------------------------------------------------
[2020-11-27 05:15:48] rtrtrtrtrt at dfdfdfdf dot dfd
this change was intentional so that we can stop this dance of changing the major number left and
right every few years
------------------------------------------------------------------------
[2020-11-27 03:52:22] rryqszq at gmail dot com
Description:
------------
About dynamic library lphp.so in php8, but the lphp7.so in php7.
Maybe lphp8.so should be right, or the new chapter is in php8.
```
-Wl,-rpath,/home/travis/build/rryqszq4/ngx_php7/build/php/lib -ldl -lpthread -lcrypt -lcrypt
-lresolv -lcrypt -lreadline -lncurses -lrt -lbz2 -lutil -lrt -lm -ldl -lxml2 -lssl -lcrypto
-lsqlite3 -lz -lcurl -lxml2 -lsqlite3 -lxml2 -lxml2 -lxml2 -lxml2 -lxml2 -lz -lssl -lcrypto -lcrypt
-L/home/travis/build/rryqszq4/ngx_php7/build/php/lib -lphp8 -lpcre -lz \
-Wl,-E
/usr/bin/ld: cannot find -lphp8
collect2: error: ld returned 1 exit status
objs/Makefile:279: recipe for target 'objs/nginx' failed
make[1]: *** [objs/nginx] Error 1
make[1]: Leaving directory '/home/travis/build/rryqszq4/ngx_php7/build/nginx-1.12.2'
Makefile:11: recipe for target 'install' failed
make: *** [install] Error 2
ngx_php8 compile failed.
```
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=80429&edit=1