From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; How to make some libraries link statically via pkg-config files? Date: Tue, 19 Feb 2008 22:25:05 +0100 Message-ID: <264B33CD-5889-4A8E-A8B5-B70CC8C65CAB@freenet.de> References: <200802181932.m1IJWiu7007097@sallyv1.ics.uci.edu> <200802190010.m1J0AVpZ018954@sallyv1.ics.uci.edu> <5EFB325D-55DD-40CA-B58C-B2B5EF2C3248@freenet.de> <200802190959.m1J9xJi4026244@sallyv1.ics.uci.edu> <94E6C176-81C7-481F-B24A-012FFEC24F8D@freenet.de> <871w78y9gx.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1203456389 32035 80.91.229.12 (19 Feb 2008 21:26:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Feb 2008 21:26:29 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, Dan Nicolaescu To: Stephen J. Turnbull Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 19 22:26:53 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JRZz2-00025s-29 for ged-emacs-devel@m.gmane.org; Tue, 19 Feb 2008 22:26:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JRZyX-0007Ba-9G for ged-emacs-devel@m.gmane.org; Tue, 19 Feb 2008 16:26:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JRZxp-0006qb-GM for emacs-devel@gnu.org; Tue, 19 Feb 2008 16:25:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JRZxl-0006oO-Cd for emacs-devel@gnu.org; Tue, 19 Feb 2008 16:25:19 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JRZxl-0006oJ-4L for emacs-devel@gnu.org; Tue, 19 Feb 2008 16:25:17 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JRZxk-00082R-UM for emacs-devel@gnu.org; Tue, 19 Feb 2008 16:25:17 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JRZxk-0005vl-Gl for emacs-pretest-bug@gnu.org; Tue, 19 Feb 2008 16:25:16 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JRZxh-00081F-8f for emacs-pretest-bug@gnu.org; Tue, 19 Feb 2008 16:25:16 -0500 Original-Received: from mout5.freenet.de ([195.4.92.95]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JRZxg-00080r-Ub for emacs-pretest-bug@gnu.org; Tue, 19 Feb 2008 16:25:13 -0500 Original-Received: from [195.4.92.12] (helo=2.mx.freenet.de) by mout5.freenet.de with esmtpa (Exim 4.69) (envelope-from ) id 1JRZxe-0007lA-2R; Tue, 19 Feb 2008 22:25:10 +0100 Original-Received: from fd2f7.f.ppp-pool.de ([195.4.210.247]:53410 helo=[192.168.1.2]) by 2.mx.freenet.de with esmtpsa (ID peter_dyballa@freenet.de) (TLSv1:AES128-SHA:128) (port 25) (Exim 4.69 #10) id 1JRZxd-0004Fy-N4; Tue, 19 Feb 2008 22:25:10 +0100 In-Reply-To: <871w78y9gx.fsf@uwakimon.sk.tsukuba.ac.jp> X-Mailer: Apple Mail (2.753) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:89599 gmane.emacs.pretest.bugs:21229 Archived-At: Am 19.02.2008 um 21:31 schrieb Stephen J. Turnbull: > That's not what's happening. I don't understand the Mac OS X dylib > architecture in any depth, but I'm pretty sure that an object can > request an object from a specific location to be dynamically linked > (similar to the -rpath flag in GNU ld). This is my impression too. > FWIW, my guess is that the reason you're seeing multiple instances =20 > of libraries is not that Mac OS X "presents" them, but because > >> /usr/X11R6/lib/libXft.2.dylib (compatibility version 2.1.0, = current >> version 2.1.0) > > is specifically requesting a different version from the one you get > from /sw. Try running otool on /usr/X11R6/lib/libXft.2.dylib and see > if the output corresponds to the unwanted versions. It does show: /usr/X11R6/lib/libfontconfig.1.dylib (compatibility version =20 1.0.0, current version 1.0.0) /usr/X11R6/lib/libexpat.0.dylib (compatibility version =20 0.4.0, current version 0.4.0) /usr/X11R6/lib/libfreetype.6.dylib (compatibility version =20 6.3.0, current version 6.3.0) I was (I still am?) hoping that a statically linked library would =20 satisfy these dependencies too. -- Greetings Pete I hope to die before I *have* to use Microsoft Word. - Donald E. Knuth, 2001-10-02 in T=FCbingen.