From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.devel Subject: libdbus / static linking? Date: Mon, 18 Apr 2011 08:45:49 -0400 Message-ID: <1E94683F-E44D-496C-9F7C-973DAB2C0313@gmail.com> References: <1070DDEB-5B36-4D5B-8E5D-B031B24D8E44@ed.ac.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1303130764 3539 80.91.229.12 (18 Apr 2011 12:46:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 18 Apr 2011 12:46:04 +0000 (UTC) To: Emacs-Devel devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 18 14:46:01 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QBnq3-0003dR-IA for ged-emacs-devel@m.gmane.org; Mon, 18 Apr 2011 14:45:59 +0200 Original-Received: from localhost ([::1]:54408 helo=lists2.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QBnq3-0003Kw-5M for ged-emacs-devel@m.gmane.org; Mon, 18 Apr 2011 08:45:59 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:44725) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QBnpz-0003Kg-5E for emacs-devel@gnu.org; Mon, 18 Apr 2011 08:45:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QBnpy-0008F8-2u for emacs-devel@gnu.org; Mon, 18 Apr 2011 08:45:55 -0400 Original-Received: from mail-vx0-f169.google.com ([209.85.220.169]:43503) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QBnpx-0008F3-Vi for emacs-devel@gnu.org; Mon, 18 Apr 2011 08:45:54 -0400 Original-Received: by vxk20 with SMTP id 20so4671126vxk.0 for ; Mon, 18 Apr 2011 05:45:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:content-type:content-transfer-encoding :subject:date:references:to:message-id:mime-version:x-mailer; bh=K0zjDhJRRNeOdQ1QROfVa8AQkf155IY3ihs1mP8pFjs=; b=WB4dXIdR15EgbcQCWKly6lQsAoY9Cdf5NtswrSrPqao6MHiZyxwv12ev3KUiarKh72 jklwGx17S92lu2RF5ys3tHejsBI+c4b2AdnvCzUrTbTco+fMXuZkSA7rCtDVA7Ql+9l/ rgqB3U6jJk00tf0fkvuFOaBU8OoBvU/AhpqBM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:references :to:message-id:mime-version:x-mailer; b=YT7ZGFDrel4NeVpsQD/2J/1lAITz4+8CJg3lBVNdT4T65wvXf1tKD3V8KQozQcWccC eDxo/ZqBLQJn4O3U4ShKnYOEQeSJRedqL0srzVVqFDydKw82vPed/38jfIaaBVa9r3VK jNN9pDrH62ti6kO+MNQ93elJt91FykegfRFbs= Original-Received: by 10.52.175.129 with SMTP id ca1mr389986vdc.254.1303130752577; Mon, 18 Apr 2011 05:45:52 -0700 (PDT) Original-Received: from elin.local (pool-71-182-175-78.pitbpa.east.verizon.net [71.182.175.78]) by mx.google.com with ESMTPS id z18sm649492vbx.14.2011.04.18.05.45.51 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 18 Apr 2011 05:45:51 -0700 (PDT) X-Mailer: Apple Mail (2.1084) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.220.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:138544 Archived-At: Is it possible to statically link libdbus? I tried "-static" in LDFLAGS, but that fails strangely in ./configure = (compiler can't build executables: gcc 4.0.1 on a Mac). Is this = supposed to work, and worth further investigation? The reason for this is that I'm running into problems with binary = compatibility of emacs and the dynamically linked dbus lib, when one is = compiled for X86_64, and the other for the i386 architecture. Begin forwarded message: > I just got the latest 3.x nightly, but it refuses to launch. Please = find the crash report below. It complains about not finding the libdbus = shared library for the right architecture, but I do have the latest = version (from MacPorts). > Code Type: X86 (Native) > OS Version: Mac OS X 10.6.7 (10J869) > Dyld Error Message: > Library not loaded: /opt/local/lib/libdbus-1.3.dylib > Referenced from: /Applications/Aquamacs.app/Contents/MacOS/Aquamacs > Reason: no suitable image found. Did find: > /opt/local/lib/libdbus-1.3.dylib: mach-o, but wrong architecture