From: Daniel P. <da...@po...> - 2010-02-10 16:04:16
|
Brad Nicholes wrote: >>>> On 2/10/2010 at 3:54 AM, in message >>>> > <E1N...@sf...>, > <d_p...@us...> wrote: > >> Revision: 2281 >> http://ganglia.svn.sourceforge.net/ganglia/?rev=2281&view=rev >> Author: d_pocock >> Date: 2010-02-10 10:54:12 +0000 (Wed, 10 Feb 2010) >> >> Log Message: >> ----------- >> Only try lib64 for Redhat-based systems >> >> Modified Paths: >> -------------- >> trunk/monitor-core/configure.in >> >> Modified: trunk/monitor-core/configure.in >> =================================================================== >> --- trunk/monitor-core/configure.in 2010-02-09 16:01:19 UTC (rev 2280) >> +++ trunk/monitor-core/configure.in 2010-02-10 10:54:12 UTC (rev 2281) >> @@ -337,9 +337,14 @@ >> AC_MSG_RESULT($enable_python) >> AM_CONDITIONAL(BUILD_PYTHON, test x"$enable_python" = xyes) >> >> +# On some platforms, there are different lib directories for 32 bit >> +# and 64 bit code. >> +# Redhat Linux: 32 bit code in lib, 64 bit code in lib64 >> +# Debian Linux: Always use lib, not lib64 >> +# (insert others here) >> LIB_SUFFIX=lib >> case $host in >> -x86_64*linux*) >> +x86_64-redhat-linux*) >> LIB_SUFFIX=lib64 >> ;; >> esac >> >> > > Why are you only trying lib64 on red-hat systems. Suse uses a lib64 directory as well. Was there something broken? > > LIB_SUFFIX is something I introduced, and I was just improving it. The default, using lib64 for all 64 bit Linux, goes too far. e.g. lib64 doesn't exist on Debian However, I don't have access to every other platform for testing - I was going to send out an email about this. Can you please let me know the value of $host on Suse and any other Linux dists you know of? |