[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

libdbus / static linking?

From: David Reitter
Subject: libdbus / static linking?
Date: Mon, 18 Apr 2011 08:45:49 -0400

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 via email to

[Prev in Thread] Current Thread [Next in Thread]