all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Reitter <david.reitter@gmail.com>
To: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: libdbus / static linking?
Date: Mon, 18 Apr 2011 08:45:49 -0400	[thread overview]
Message-ID: <1E94683F-E44D-496C-9F7C-973DAB2C0313@gmail.com> (raw)
In-Reply-To: 1070DDEB-5B36-4D5B-8E5D-B031B24D8E44@ed.ac.uk

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





           reply	other threads:[~2011-04-18 12:45 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1070DDEB-5B36-4D5B-8E5D-B031B24D8E44@ed.ac.uk>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1E94683F-E44D-496C-9F7C-973DAB2C0313@gmail.com \
    --to=david.reitter@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.