From MAILER-DAEMON Fri Oct 20 23:42:51 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1e5kgV-0002tm-N2
	for mharc-autoconf@gnu.org; Fri, 20 Oct 2017 23:42:51 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:45353)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <noloader@gmail.com>) id 1e5kgU-0002tg-45
	for autoconf@gnu.org; Fri, 20 Oct 2017 23:42:51 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <noloader@gmail.com>) id 1e5kgT-0004MI-4k
	for autoconf@gnu.org; Fri, 20 Oct 2017 23:42:50 -0400
Received: from mail-oi0-x236.google.com ([2607:f8b0:4003:c06::236]:54580)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <noloader@gmail.com>) id 1e5kgS-0004Lj-VE
	for autoconf@gnu.org; Fri, 20 Oct 2017 23:42:49 -0400
Received: by mail-oi0-x236.google.com with SMTP id a132so23205432oih.11
	for <autoconf@gnu.org>; Fri, 20 Oct 2017 20:42:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
	h=mime-version:reply-to:from:date:message-id:subject:to;
	bh=1IPd6wYpi+S/OSw4S1AJYl3MWYi0ir9Aqjj8FLyKS10=;
	b=CkqgxTFLboLdX8LAKRflpPwm+ob9BLFf8+gHV938T6tr4Ctnnfy2iogL2zyDQtpLPD
	q+3U4CTleDb7DyVFwwC5cI2tZQKRCbxhtxwChMwcVdQwYIahG6ytnpkmkNBIxe08m+53
	YvXgvSegF/q/RJKAd9tvL7FVJL6TfjevOg18GFcyZGI7wqeRVg95rNpUj1CLf+uIXbjE
	IKvhLI6kT7SQGKG+OrxDjV3HW8coahTng3+swOxvdFGoZi+QrynV4kJ2tj9VG+XXE3HL
	RvANJTGqzW7n45OCeAYrClIYNIJIV6ojlscSWlECDtm57UJWJJK16dcIP+DvDOwfvHZk
	/7wQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:mime-version:reply-to:from:date:message-id
	:subject:to;
	bh=1IPd6wYpi+S/OSw4S1AJYl3MWYi0ir9Aqjj8FLyKS10=;
	b=OkI5OA+pctMgk6vKZ1RnV47z2vAdNgXSWYrK75fNE/XVtoV945FfhWpju19W2tgLwl
	IDwdxzFahL/azok2SGaIMdiLDcSH8gMhrPDV69bym+3yusaRHOuOpn7EKrhQZyrGa/2C
	xgqvF545OpcIF1PUk79rWCc5OxuyV4fj3msNBvZLJNnoXoIATlXHRZDuKb4B1U/rt4J6
	RSEwrYwoogJ3LUHkh5yFxop6ryeM9mLbI9gQ0J3iXasZpwDl9DScSP34eAqStzsGJmCT
	wxBriNftfPNW0lfT1fCHE5NDWUeUXMJfaStfRF8DBUm6hfqJE26UZXr+4WbqCQUNdZQN
	EO4w==
X-Gm-Message-State: AMCzsaU2MmvzSsdNkCvsdD0nZ1dwrv5mLYBV2K9QoJyFNk3nmar6dzyZ
	g1P2hNbDppArMGCkbVnNJJL3QRbh65uXFhHDAMEkdNlc
X-Google-Smtp-Source: ABhQp+ShjXlJMPONi6kgd6ve6BlY7W/3EUC9DkfFuKanaOTluXeMWC5XLkP1nzkniG2Z0KMDPreQuPao46vWbHsB3WY=
X-Received: by 10.157.17.68 with SMTP id p4mr3799829otp.321.1508557366466;
	Fri, 20 Oct 2017 20:42:46 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.74.19.87 with HTTP; Fri, 20 Oct 2017 20:42:45 -0700 (PDT)
Reply-To: noloader@gmail.com
From: Jeffrey Walton <noloader@gmail.com>
Date: Fri, 20 Oct 2017 23:42:45 -0400
Message-ID: <CAH8yC8kf2k2h234=_xs+WzmO_HB64gm+9qhKJv+fYAFPPVmjdg@mail.gmail.com>
Subject: Autoconf and Fedora x86_64 /usr/local/lib64?
To: Autoconf <autoconf@gnu.org>
Content-Type: text/plain; charset="UTF-8"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2607:f8b0:4003:c06::236
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf/>
List-Post: <mailto:autoconf@gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 21 Oct 2017 03:42:51 -0000

I'm having trouble configuring a few Autotool projects on Fedora
x86_64. Fedora uses /usr/local/lib64 for third party and vendor
libraries.

GnuTLS requires this sed (from Fedora's patches to gnutls.spec;
http://pkgs.fedoraproject.org/cgit/rpms/gnutls.git/tree/gnutls.spec;
thanks NM):

   sed -i -e 's|sys_lib_dlsearch_path_spec="/lib
/usr/lib|sys_lib_dlsearch_path_spec="/lib /usr/lib %{_libdir}|g'
configure

At this point, I believe the hard coded
"sys_lib_dlsearch_path_spec=/lib /usr/lib" is not correct for Fedora
x86_64, but I don't know what is correct.

My first question is, should sys_lib_dlsearch_path_spec should even be
present? That is, shouldn't the system's config.site or --libdir deal
with it? Can I delete the line that hard codes
sys_lib_dlsearch_path_spec all together?

My first second is, if its OK to fiddle with
sys_lib_dlsearch_path_spec, then what should the string be? Is /lib
/usr/lib %{libdir}" correct? Or should it be something else?

Thanks in advance,

Jeff


From MAILER-DAEMON Fri Oct 20 23:51:26 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1e5koo-0004hL-Ce
	for mharc-autoconf@gnu.org; Fri, 20 Oct 2017 23:51:26 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:46459)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <noloader@gmail.com>) id 1e5kol-0004gy-FG
	for autoconf@gnu.org; Fri, 20 Oct 2017 23:51:24 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <noloader@gmail.com>) id 1e5kok-0007Ub-9n
	for autoconf@gnu.org; Fri, 20 Oct 2017 23:51:23 -0400
Received: from mail-oi0-x22b.google.com ([2607:f8b0:4003:c06::22b]:55402)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <noloader@gmail.com>) id 1e5kok-0007U7-3Y
	for autoconf@gnu.org; Fri, 20 Oct 2017 23:51:22 -0400
Received: by mail-oi0-x22b.google.com with SMTP id g125so23217293oib.12
	for <autoconf@gnu.org>; Fri, 20 Oct 2017 20:51:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
	h=mime-version:reply-to:in-reply-to:references:from:date:message-id
	:subject:to; bh=29It4eUtbgmcIqz4yV4Q4SSstnP2k8/+v0Y0pK+uVWc=;
	b=ZHcCD1vkxBMbfZw4e+ZrMPflIcTvaHinnsFP4IAdz6XfvoII91WypUwsmXAlze7WbJ
	+JwIbP8M+pSWkemYQvgFDZicEvdcI/VN6FhpJED2b1RJFv63lBqBKLGy0zSWEKbnKDlj
	eHS1PXirrTcqn+bWggJEcm7BNbdUjjbTEbil2NOiqm7xdE6c2zRO3l1iOmODR83SqYpa
	1Cel99APU8nQTQ7woMk+k0Vy45Fao6sHOgzZP/yXXO1jQn3g/DDK+1Xbwk6xfagcd6S5
	IvlXgNj3W9vhJlL7v4VTdoNMTDjxbrhXDwMPy3cI4qvEIlFjVa6VgUtf/A+2yuSWNKS4
	QMYQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:mime-version:reply-to:in-reply-to:references
	:from:date:message-id:subject:to;
	bh=29It4eUtbgmcIqz4yV4Q4SSstnP2k8/+v0Y0pK+uVWc=;
	b=ESpjdtLdtCRsvLn7j6uVkgOo+7/WR+dqqTSb+zui+8cs7IwkoEolHz0MnsstqSQDmR
	HV1RmZI/zLXldxM+4w1AYFQT/Jux6w+8poac2bAMDAjQEwacc80S8K2UlRrZePlB+NzZ
	Oxld5gSxyYWp1IKZwcOOHsQaelP9XpDKGSuf5DjJTL8dXKxGzfyLCEiWVTTEQbyZLsGo
	z5VXBPerj+T9DV76JdcL70+4MgpFZHjNsiYdPGzX1BkYTpXvN7TvkezlxXLeZd9Vas/N
	YSFrz6inedevz+7ABp01AzE5RMnry6vqRRrCiHX0SfEIPFGh1pW5TH9+aQ7VXzAbfaeB
	Q+0Q==
X-Gm-Message-State: AMCzsaV2vScfXuk+5DrrgOLx209MQx7LuvenxATyBOcLw/lD8pHsTHju
	3p0547OY9kX24EG2WAWzQRzc3Q2m1giuOt7TrobBZh5q
X-Google-Smtp-Source: ABhQp+Q2mTgnBfS1CEypVNttSYzGIpkEThEmCfHo7WAR4ABKkKidGoyN47v4R34qszjKt7LDg0TX+0Xa6yWSqDqNfdM=
X-Received: by 10.157.3.72 with SMTP id 66mr4132596otv.222.1508557881022; Fri,
	20 Oct 2017 20:51:21 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.74.19.87 with HTTP; Fri, 20 Oct 2017 20:51:20 -0700 (PDT)
Reply-To: noloader@gmail.com
In-Reply-To: <CAH8yC8kf2k2h234=_xs+WzmO_HB64gm+9qhKJv+fYAFPPVmjdg@mail.gmail.com>
References: <CAH8yC8kf2k2h234=_xs+WzmO_HB64gm+9qhKJv+fYAFPPVmjdg@mail.gmail.com>
From: Jeffrey Walton <noloader@gmail.com>
Date: Fri, 20 Oct 2017 23:51:20 -0400
Message-ID: <CAH8yC8kShF-+9X0uNNn1nErcTYTF9uO8Us-wYHVamZ8_fkcs-w@mail.gmail.com>
Subject: Re: Autoconf and Fedora x86_64 /usr/local/lib64?
To: Autoconf <autoconf@gnu.org>
Content-Type: text/plain; charset="UTF-8"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2607:f8b0:4003:c06::22b
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf/>
List-Post: <mailto:autoconf@gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 21 Oct 2017 03:51:24 -0000

On Fri, Oct 20, 2017 at 11:42 PM, Jeffrey Walton <noloader@gmail.com> wrote:
> I'm having trouble configuring a few Autotool projects on Fedora
> x86_64. Fedora uses /usr/local/lib64 for third party and vendor
> libraries.
>
> GnuTLS requires this sed (from Fedora's patches to gnutls.spec;
> http://pkgs.fedoraproject.org/cgit/rpms/gnutls.git/tree/gnutls.spec;
> thanks NM):
>
>    sed -i -e 's|sys_lib_dlsearch_path_spec="/lib
> /usr/lib|sys_lib_dlsearch_path_spec="/lib /usr/lib %{_libdir}|g'
> configure
>
> At this point, I believe the hard coded
> "sys_lib_dlsearch_path_spec=/lib /usr/lib" is not correct for Fedora
> x86_64, but I don't know what is correct.
>
> My first question is, should sys_lib_dlsearch_path_spec should even be
> present? That is, shouldn't the system's config.site or --libdir deal
> with it? Can I delete the line that hard codes
> sys_lib_dlsearch_path_spec all together?
>
> My first second is, if its OK to fiddle with
> sys_lib_dlsearch_path_spec, then what should the string be? Is /lib
> /usr/lib %{libdir}" correct? Or should it be something else?

I probably should have mentioned... Here are the docs on
sys_lib_dlsearch_path_spec
(http://www.delorie.com/gnu/docs/libtool/libtool_71.html):

  Variable: sys_lib_dlsearch_path_spec

      Expression to get the run-time system library search path.
      Directories that appear in this list are never hard-coded
      into executables.

But I'm not quite following what needs to be done or how it should be handled.

Jeff


