|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2008-09-16 07:59 UTC] artur at bakaus dot de
Description: ------------ install with pecl install mqseries-beta on ubuntu 8.04 server ends with error. i installed a new ubuntu 8.04 server on a 64bit machine and wanted to load a mqseries extension. After install of the newest versions of php-pear and php5-dev i tried to run "pecl install mqseries-beta". This runs into error: "checking for mqseries files in default path... not found configure: error: Please reinstall the mqseries distribution ERROR: /tmp/pear/cache/mqseries-0.11.0/configure failed" PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 05:00:01 2025 UTC |
Hi Artur, You may have succeeded in your compilation since a long time now ;) Anyway, it could help other people with the same trouble. I got the same issue on a 64bit server (HP Proliant DL360 G5 / SUSE10 SP2 4 HT Intel(R) Xeon(R) E5345 @ 2.30GHz / 8 Go RAM) Here is what I had to do to make it work... not good way, but it works! 1. sed -i "s/\$MQSERIES_DIR\/lib/\$MQSERIES_DIR\/lib64/g" 2. Edit configure: add lib64 here: save_old_LDFLAGS=$LDFLAGS ac_stuff=" -L$MQSERIES_DIR/lib64 " 3. ./configure 4. edit Makefile, add lib64 here: MQSERIES_SHARED_LIBADD = -Wl,-rpath,/opt/mqm/lib64 -L/opt/mqm/lib64 -lmqic And it works for me:) It would be a good idea to add the standard --with-libdir=lib64 option on configure, isnt'it? Wilfried Loche