php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59556 configure don't honor --libdir
Submitted: 2011-01-03 10:42 UTC Modified: 2011-01-04 05:34 UTC
From: remicollet@php.net Assigned: koubel (profile)
Status: Closed Package: rrd (PECL)
PHP Version: 5.3.2 OS: GNU/Linux (Fedora 14)
Private report: No CVE-ID: None
 [2011-01-03 10:42 UTC] remicollet@php.net
Description:
------------
On fedora/redhat linux distribution, libdir is /usr/lib64

Patch proposal:
https://github.com/remicollet/remirepo/raw/5fd5179fa11516bd5316663daebb96b75115df84/php-pecl-rrd/rrd-libdir.patch

Reproduce code:
---------------
phpize
./configure --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info

Expected result:
----------------
...
checking for rrdtool support... yes, shared
checking for rrdtool header files in default path... found in /usr/include
checking for rrdtool library files in default path... found in /usr/lib64/librrd.so
checking for rrd_create in -lrrd... yes
checking rrdtool version... 1.2.x
...

Actual result:
--------------
...
checking for rrdtool support... yes, shared
checking for rrdtool header files in default path... found in /usr/include
checking for rrdtool library files in default path... not found
configure: error: Please reinstall the rrdtool distribution
...


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-01-03 11:51 UTC] koubel at seznam dot cz
What do you think about this - http://svn.php.net/viewvc/pecl/rrd/trunk/config.m4?r1=307031&r2=307032

I think, the RRDTOOL_DIR/lib/ keeps on important if rrd is installed from sources, but I'm unix pro.

More patches for config.m4 are welcome.
 [2011-01-03 11:56 UTC] koubel at seznam dot cz
hu, I'm not unix pro anymway, I work with linux box occasionally. I'm also poor in English language.
 [2011-01-03 13:27 UTC] fedora at famillecollet dot com
Yes patch from SVN seems fine (it works).
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 03:01:25 2019 UTC