php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80429 About dynamic library lphp.so in php8, but the lphp7.so in php7
Submitted: 2020-11-27 03:52 UTC Modified: 2020-11-27 11:37 UTC
From: rryqszq at gmail dot com Assigned: nikic (profile)
Status: Closed Package: Dynamic loading
PHP Version: 8.0Git-2020-11-27 (Git) OS: linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: rryqszq at gmail dot com
New email:
PHP Version: OS:

 

 [2020-11-27 03:52 UTC] 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.
```


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-11-27 05:15 UTC] 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 11:37 UTC] nikic@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: nikic
 [2020-11-27 11:37 UTC] nikic@php.net
Right, the library is called libphp.so in PHP 8 (and all versions going forward).
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon May 12 02:01:27 2025 UTC