Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#36572 - [php-mongo] "wrong ELF class: ELFCLASS32" on x86_64

Attached to Project: Community Packages
Opened by Eugene Dounar (eugene-d) - Saturday, 17 August 2013, 10:20 GMT
Last edited by Ike Devolder (BlackEagle) - Sunday, 18 August 2013, 12:51 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Ike Devolder (BlackEagle)
Felix Yan (felixonmars)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

After installing php-mongo with "sudo pacman -S php-mongo" Mongo class is still not found in my PHP apps.

"php -v" gives:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mongo.so' - /usr/lib/php/modules/mongo.so: wrong ELF class: ELFCLASS32 in Unknown on line 0
PHP 5.5.2 (cli) (built: Aug 16 2013 08:06:29)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies
with Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick Rethans

PHP MongoDB extension seems to be compiled incompatible with my system. The system is up-to-date.

Additional info:

$ pacman -Q php php-mongo
php 5.5.2-1
php-mongo 1.4.2-2
This task depends upon

Closed by  Ike Devolder (BlackEagle)
Sunday, 18 August 2013, 12:51 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.4.3-3
Comment by Dmitry Chusovitin (dchusovitin) - Saturday, 17 August 2013, 12:26 GMT
Architecture: x86_64

file /usr/lib/php/modules/mongo.so
/usr/lib/php/modules/mongo.so: ELF 32-bit LSB shared object, Intel 80386
Comment by Ike Devolder (BlackEagle) - Sunday, 18 August 2013, 12:51 GMT
sorry about that, fixed in 1.4.3-3

Loading...