php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #79139 --with-libedit also links libphp7.so
Submitted: 2020-01-20 06:51 UTC Modified: -
From: bugreports at gmail dot com Assigned:
Status: Open Package: *Compile Issues
PHP Version: 7.4Git-2020-01-20 (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: bugreports at gmail dot com
New email:
PHP Version: OS:

 

 [2020-01-20 06:51 UTC] bugreports at gmail dot com
Description:
------------
what is the purpose to link libphp7.so against "libncurses" and "libedit" given i can't imagine interactive shells from the webserver module?

--with-libedit=shared,/usr would workaround that but than you need the module in /etc/php.ini (yes, webservers are using a different one) and thanks to some dumb selftests loading /etc/php.ini you get all sort of weird error_logs when you build different php major versions than the installed one

ldd /usr/lib64/httpd/modules/libphp7.so
        linux-vdso.so.1 (0x00007ffc20968000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fe64e1a8000)
        libcrypt.so.2 => /lib64/libcrypt.so.2 (0x00007fe64e16d000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fe64e153000)
        libncurses.so.6 => /lib64/libncurses.so.6 (0x00007fe64e126000)
        libtinfo.so.6 => /lib64/libtinfo.so.6 (0x00007fe64e0f7000)
        librt.so.1 => /lib64/librt.so.1 (0x00007fe64e0ed000)
        libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007fe64def1000)
        libm.so.6 => /lib64/libm.so.6 (0x00007fe64ddab000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007fe64dda5000)
        libxml2.so.2 => /lib64/libxml2.so.2 (0x00007fe64dc3a000)
        libssl.so.1.1 => /lib64/libssl.so.1.1 (0x00007fe64dba4000)
        libcrypto.so.1.1 => /lib64/libcrypto.so.1.1 (0x00007fe64d8c4000)
        libedit.so.0 => /lib64/libedit.so.0 (0x00007fe64d887000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fe64d6c1000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fe64e87e000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fe64d6a7000)
        libz.so.1 => /lib64/libz.so.1 (0x00007fe64d68d000)
        liblzma.so.5 => /lib64/liblzma.so.5 (0x00007fe64d664000)


Patches

Pull Requests

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Sep 15 01:00:01 2025 UTC