[Bug 532684] [NEW] PHP try to load x86_64 modules in i686 vserver

qwiat qwiat at pld-linux.org
Fri Mar 5 15:46:08 CET 2010


Public bug reported:

I have x86_64 machine with i686 vserver. After php 5 installation
(apache + php as module), php try to load modules from 64 bit directory:

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/pcre.so' - /usr/lib64/php/pcre.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/spl.so' - /usr/lib64/php/spl.so: cannot open shared object file: No such file or directory in Unknown on line 0
[...]


Uname inside Vserver:

# uname -a
Linux hosting 2.6.31.5-0.2 #1 SMP Sat Oct 24 15:34:41 CEST 2009 i686 Intel(R)_Core(TM)2_Quad_CPU____Q6600__ at _2.40GHz PLD Linux

Outside (host):

# uname -a
Linux saturn 2.6.31.5-0.2 #1 SMP Sat Oct 24 15:34:41 CEST 2009 x86_64 Intel(R)_Core(TM)2_Quad_CPU____Q6600__ at _2.40GHz PLD Linux

Poldek Sources:
# vpoldek my-vserver -- -l
th           ftp://ftp.th.pld-linux.org/dists/th/PLD/i686/RPMS/  (type=pndir)
th           ftp://ftp.th.pld-linux.org/dists/th/PLD/noarch/RPMS/  (type=pndir)
th-ready     ftp://ftp.th.pld-linux.org/dists/th/ready/i686/RPMS/  (noauto,noautoup,type=pndir)
th-ready     ftp://ftp.th.pld-linux.org/dists/th/ready/noarch/RPMS/  (noauto,noautoup,type=pndir)
th-test      ftp://ftp.th.pld-linux.org/dists/th/test/i686/RPMS/  (noauto,noautoup,type=pndir)
th-test      ftp://ftp.th.pld-linux.org/dists/th/test/noarch/RPMS/  (noauto,noautoup,type=pndir)

PHP Packages:
# vrpm my-vserver -- -qa php\*
php-common-5.2.13-1.i686
php-spl-5.2.13-1.i686
php-simplexml-5.2.13-1.i686
php-dirs-1.1-8.noarch
php-pcre-5.2.13-1.i686
php-mysql-5.2.13-1.i686
php-pdo-5.2.13-1.i686
php-pdo-mysql-5.2.13-1.i686

but problem appears also in php 5.2.12-6

# rpm -qa util-vs\*
util-vserver-lib-0.30.216-0.pre2849.2.x86_64
util-vserver-0.30.216-0.pre2849.2.x86_64

** Affects: pld-linux
     Importance: Undecided
         Status: New

-- 
PHP try to load x86_64 modules in i686 vserver
https://bugs.launchpad.net/bugs/532684
You received this bug notification because you are subscribed to PLD
Linux.

Status in PLD Linux Distribution: New

Bug description:
I have x86_64 machine with i686 vserver. After php 5 installation (apache + php as module), php try to load modules from 64 bit directory:

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/pcre.so' - /usr/lib64/php/pcre.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/spl.so' - /usr/lib64/php/spl.so: cannot open shared object file: No such file or directory in Unknown on line 0
[...]


Uname inside Vserver:

# uname -a
Linux hosting 2.6.31.5-0.2 #1 SMP Sat Oct 24 15:34:41 CEST 2009 i686 Intel(R)_Core(TM)2_Quad_CPU____Q6600__ at _2.40GHz PLD Linux

Outside (host):

# uname -a
Linux saturn 2.6.31.5-0.2 #1 SMP Sat Oct 24 15:34:41 CEST 2009 x86_64 Intel(R)_Core(TM)2_Quad_CPU____Q6600__ at _2.40GHz PLD Linux

Poldek Sources:
# vpoldek my-vserver -- -l
th           ftp://ftp.th.pld-linux.org/dists/th/PLD/i686/RPMS/  (type=pndir)
th           ftp://ftp.th.pld-linux.org/dists/th/PLD/noarch/RPMS/  (type=pndir)
th-ready     ftp://ftp.th.pld-linux.org/dists/th/ready/i686/RPMS/  (noauto,noautoup,type=pndir)
th-ready     ftp://ftp.th.pld-linux.org/dists/th/ready/noarch/RPMS/  (noauto,noautoup,type=pndir)
th-test      ftp://ftp.th.pld-linux.org/dists/th/test/i686/RPMS/  (noauto,noautoup,type=pndir)
th-test      ftp://ftp.th.pld-linux.org/dists/th/test/noarch/RPMS/  (noauto,noautoup,type=pndir)

PHP Packages:
# vrpm my-vserver -- -qa php\*
php-common-5.2.13-1.i686
php-spl-5.2.13-1.i686
php-simplexml-5.2.13-1.i686
php-dirs-1.1-8.noarch
php-pcre-5.2.13-1.i686
php-mysql-5.2.13-1.i686
php-pdo-5.2.13-1.i686
php-pdo-mysql-5.2.13-1.i686

but problem appears also in php 5.2.12-6

# rpm -qa util-vs\*
util-vserver-lib-0.30.216-0.pre2849.2.x86_64
util-vserver-0.30.216-0.pre2849.2.x86_64




More information about the pld-bugs mailing list