Bug #74518 [Opn->Nab]: error /etc/ld.so.cache order

From: Date: Tue, 02 May 2017 11:00:05 +0000
Subject: Bug #74518 [Opn->Nab]: error /etc/ld.so.cache order
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-208902@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74518&edit=1

 ID:                 74518
 Updated by:         ab@php.net
 Reported by:        szargv at qq dot com
 Summary:            error /etc/ld.so.cache order
-Status:             Open
+Status:             Not a bug
 Type:               Bug
 Package:            *Configuration Issues
 Operating System:   CentOS 6.9 64Bit
 PHP Version:        7.0.18
 Block user comment: N
 Private report:     N

 New Comment:

Thanks for the report. The issue has a little to do with PHP. In general, that's a normal
lookup process configured on a particular system, but can forcibly pre load teh requiered DSO, if
needed. If it's a package, you probably can contact a maintainer. Anyway, once the DSO is
found, it's fine, only affects the startup process.

Thanks.


Previous Comments:
------------------------------------------------------------------------
[2017-05-01 00:40:23] szargv at qq dot com

Description:
------------
sh# strace php -v
...
open("/usr/pkgs/libmcrypt//lib/tls/x86_64/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/pkgs/libmcrypt//lib/tls/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/pkgs/libmcrypt//lib/x86_64/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/usr/pkgs/libmcrypt//lib/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/pkgs/libpng/lib/tls/x86_64/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file
or directory)

//so many...
open("/etc/ld.so.cache", O_RDONLY)      = 3
open("/lib64/libcrypt.so.1", O_RDONLY)  = 3


The order maybe: 1,/etc/ld.so.preload 2,/etc/ld.so.cache 3,other 
not: 1,/etc/ld.so.preload 2,other 3,/etc/ld.so.cache

or is my fall?




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



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


Thread (2 messages)

« previous php.bugs (#208902) next »