X-Loop: help-debbugs@HIDDEN
Subject: bug#11465: libtool --mode=install: please add an option to install DSO to /lib and development library to /usr/lib
Resent-From: Jonathan Nieder <jrnieder@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-libtool@HIDDEN
Resent-Date: Sun, 13 May 2012 22:12:02 +0000
Resent-Message-ID: <handler.11465.B.13369471144991 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 11465
X-GNU-PR-Package: libtool
X-GNU-PR-Keywords:
To: 11465 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-libtool@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.13369471144991
(code B ref -1); Sun, 13 May 2012 22:12:02 +0000
Received: (at submit) by debbugs.gnu.org; 13 May 2012 22:11:54 +0000
Received: from localhost ([127.0.0.1]:51827 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.72)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1STh17-0001IS-Ny
for submit <at> debbugs.gnu.org; Sun, 13 May 2012 18:11:53 -0400
Received: from eggs.gnu.org ([208.118.235.92]:42285)
by debbugs.gnu.org with esmtp (Exim 4.72)
(envelope-from <jrnieder@HIDDEN>) id 1STh0n-0001Hv-VK
for submit <at> debbugs.gnu.org; Sun, 13 May 2012 18:11:52 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from <jrnieder@HIDDEN>) id 1STh0P-0005zd-23
for submit <at> debbugs.gnu.org; Sun, 13 May 2012 18:11:10 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level:
X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:60211)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from <jrnieder@HIDDEN>) id 1STh0O-0005zX-Sb
for submit <at> debbugs.gnu.org; Sun, 13 May 2012 18:11:08 -0400
Received: from eggs.gnu.org ([208.118.235.92]:44673)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from <jrnieder@HIDDEN>) id 1STh0N-0001ds-9I
for bug-libtool@HIDDEN; Sun, 13 May 2012 18:11:08 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from <jrnieder@HIDDEN>) id 1STh0L-0005zJ-CS
for bug-libtool@HIDDEN; Sun, 13 May 2012 18:11:06 -0400
Received: from mail-ob0-f169.google.com ([209.85.214.169]:48704)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from <jrnieder@HIDDEN>) id 1STh0L-0005zF-1X
for bug-libtool@HIDDEN; Sun, 13 May 2012 18:11:05 -0400
Received: by obbwd18 with SMTP id wd18so8105234obb.0
for <bug-libtool@HIDDEN>; Sun, 13 May 2012 15:11:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
h=date:from:to:subject:message-id:mime-version:content-type
:content-disposition:user-agent;
bh=suTepBGLm8n7VZIhOSfTKVn5Ztv5Q+LG3tWod9NQasg=;
b=H8bgnMPa4Adkl0I+WtxwGWNrRanL/UfQPL896FBPj2nIDAd96bXQfwiG0nNAMnYVnq
vlLtC7rLl5CFL2dlWe8LY8TNYwLeRR1HAUhlK7rqk3o8vf04rzGq/fkIkizH1LqLsoMo
BkCRuPzsU+ceiql1iVOcSSiv+WbOfmj1012s3LVgoA13qsF5W9XWOjYaO6dbKr9izLNU
02zP2YvfiTCjolRs/ilMPkppiQq56tFMVE2Hv5if0+DPiktfwNZ58fU/gQ7PdzkzaI50
WCKsWAJt7UIYuy1MSmxXvKkXTB88h8JDGwGvyZTnQ0NELDxil2XSwVgVg1tWdxDS8P8D
reLg==
Received: by 10.50.149.226 with SMTP id ud2mr3358422igb.74.1336947062423;
Sun, 13 May 2012 15:11:02 -0700 (PDT)
Received: from burratino (c-24-1-56-9.hsd1.il.comcast.net. [24.1.56.9])
by mx.google.com with ESMTPS id gb4sm8976555igc.1.2012.05.13.15.11.01
(version=SSLv3 cipher=OTHER); Sun, 13 May 2012 15:11:01 -0700 (PDT)
Date: Sun, 13 May 2012 17:10:45 -0500
From: Jonathan Nieder <jrnieder@HIDDEN>
Message-ID: <20120513221045.GA32244@burratino>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.21 (2010-09-15)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 208.118.235.17
X-Spam-Score: -6.1 (------)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.1 (------)
Severity: wishlist
Hi,
On Linux-based systems sometimes one wants to install basic DSOs that
need to be available before /usr is mounted to /lib. Static libraries
and the development symlink stay in /usr/lib. The usual method for
doing so is to stage an install to $(DESTDIR)/usr/lib and then move
selected files up one level:
install_using_libtool_as_usual
mv $(DESTDIR)/usr/lib/libfoo.so.* $(DESTDIR)/lib/
rm $(DESTDIR)/usr/lib/libfoo.so $(DESTDIR)/usr/lib/libfoo.la
ln -s /lib/libfoo.so.0 $(DESTDIR)/usr/lib/libfoo.so
It would be nicer if this after-the-fact tweaking could be taken
care of automatically. That is, I am imagining being able to do
libtool --destdir=$(DESTDIR) --dsodir=/lib \
--mode=install install libfoo.la $(DESTDIR)/usr/lib
Semantics:
- static library goes to /usr/lib
- shared library goes to /lib
- libtool library goes to /lib, I guess
- development symlink goes to /usr/lib
Alternatively, the syntax could be
libtool --destdir=$(DESTDIR) --develdir=/usr/lib \
--mode=install install libfoo.la $(DESTDIR)/lib
What do you think? Would this be sensible?
Thanks,
Jonathan
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Jonathan Nieder <jrnieder@HIDDEN> Subject: bug#11465: Acknowledgement (libtool --mode=install: please add an option to install DSO to /lib and development library to /usr/lib) Message-ID: <handler.11465.B.13369471144991.ack <at> debbugs.gnu.org> References: <20120513221045.GA32244@burratino> X-Gnu-PR-Message: ack 11465 X-Gnu-PR-Package: libtool Reply-To: 11465 <at> debbugs.gnu.org Date: Sun, 13 May 2012 22:12:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-libtool@HIDDEN If you wish to submit further information on this problem, please send it to 11465 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 11465: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D11465 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.