Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f6NKAQJ01029 for linux-xfs-outgoing; Mon, 23 Jul 2001 13:10:26 -0700 Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f6NKAMX01010 for ; Mon, 23 Jul 2001 13:10:23 -0700 Received: from zeus-fddi.americas.sgi.com (zeus-fddi.americas.sgi.com [128.162.8.103]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id LAA06231 for ; Mon, 23 Jul 2001 11:51:17 -0700 (PDT) mail_from (roehrich@sgi.com) Received: from daisy-e185.americas.sgi.com (daisy.americas.sgi.com [128.162.185.214]) by zeus-fddi.americas.sgi.com (8.9.3/americas-smart-nospam1.1) with ESMTP id NAA2502487 for ; Mon, 23 Jul 2001 13:52:22 -0500 (CDT) Received: from slobber.americas.sgi.com (slobber.americas.sgi.com [128.162.187.52]) by daisy-e185.americas.sgi.com (SGI-8.9.3/SGI-server-1.7) with ESMTP id NAA01970 for ; Mon, 23 Jul 2001 13:52:22 -0500 (CDT) Received: from slobber.americas.sgi.com by slobber.americas.sgi.com (SGI-8.9.3/SGI-client-1.7) via ESMTP id NAA01277; Mon, 23 Jul 2001 13:52:21 -0500 (CDT) Message-Id: <200107231852.NAA01277@slobber.americas.sgi.com> To: linux-xfs@oss.sgi.com Subject: Re: TAKE - static libs Date: Mon, 23 Jul 2001 13:52:21 -0500 From: Dean Roehrich Sender: owner-linux-xfs@oss.sgi.com Precedence: bulk >From: Nathan Scott >Installing the .la and .a files into /usr/lib, in spite of libtool, >seems to work just fine. No, it doesn't. Here's xfs_fsr, built static: /usr/bin/libtool --mode=link gcc -o xfs_fsr -static xfs_fsr.o \ /usr/lib/libhandle.la /usr/lib/libattr.la gcc -o xfs_fsr xfs_fsr.o /lib/libhandle.a /lib/libattr.a gcc: /lib/libhandle.a: No such file or directory gcc: /lib/libattr.a: No such file or directory I think for now we should leave it as you have it with your last mod, with the pieces split between /lib and /usr/lib and the rpath pointing to /lib where the shared libs are located. It's apparently rare that any of us tries to link these things with the static libs, and in that case we can do it without libtool. Add this to our growing "You've-got-to-be-kidding" list for libtool... Dean