|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2010-07-17 03:21 UTC] ricks at nerd dot com
Description:
------------
When running configure on a 64-bit machine, the script doesn't check /usr/lib64 for libraries. I've had to resort to the workaround used in older php 4.x.x builds that exhibited this issue, to wit:
ln -s /usr/lib64 /opt/lib
ln -s /usr/include /opt/include
and then specifying things like this to configure:
--with-jpeg-dir=/opt --with-png-dir=/opt --with-mysql=/opt
to get around it. Even "--with-jpeg-dir=/usr/lib64" won't solve it. I thought this was fixed in 5.1.x, but it's crept back in.
I don't mean to be rude, but is this stuff tested on 64-bit systems before release?
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 11 18:00:01 2025 UTC |
That is the first thing I tried. The "--with-libdir=/usr/lib64" will remove the need to specify "--with-mysql=/opt", but it does not fix the jpeg or png library resolution issue. You still have to specify "--with-jpeg-dir=/opt --with-png-dir=/opt" even with "--with-libdir=/usr/lib64".