emacs-devel
[Top][All Lists]
Advanced

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

Re: 23.0.60; How to make some libraries link statically via pkg-config f


From: Peter Dyballa
Subject: Re: 23.0.60; How to make some libraries link statically via pkg-config files?
Date: Tue, 19 Feb 2008 11:31:30 +0100


Am 19.02.2008 um 10:59 schrieb Dan Nicolaescu:


I never had the idea of linking two libraries of the same kind (this
sounds to me quite damaged). In the Mac OS X environment it happens

Is this in the default Mac OS X environment, or this happens in your
particular setup?

I'd say it's the standard behaviour.


that both shared libraries are presented to the application, as
recorded in the Mac OS X crash dump. I want to avoid this situation
by statically linking one of them to avoid that the application asks
for one particular shared library – and gets two presented. And by

As I said in the previous message, statically linking one version of the
library still means you are linking the same library twice.

Could you explain this? I can't understand why I am linking a library twice by linking it statically once ...


The very complex configure flags that your have posted in a previous
message seem to indicate that something is seriously strange in your
setup.

Yes: I have old and inadequate libraries that come with the OS and I have newer more adequate ones.


Does
ldd emacs
(or the equivalent of ldd on Mac OS X)
show the library twice?

No. Otool -L reports it only once. Like this:

/sw/lib/fontconfig2/lib/libfontconfig.1.dylib (compatibility version 3.0.0, current version 3.0.0) /sw/lib/freetype219/lib/libfreetype.6.dylib (compatibility version 10.0.0, current version 10.10.0) /sw/lib/libXaw3d.7.dylib (compatibility version 7.0.0, current version 7.0.0) /sw/lib/libdbus-1.3.dylib (compatibility version 6.0.0, current version 6.0.0) /sw/lib/libgdk_pixbuf-2.0.0.dylib (compatibility version 601.0.0, current version 601.10.0) /sw/lib/libgif.4.dylib (compatibility version 6.0.0, current version 6.4.0) /sw/lib/libglib-2.0.0.dylib (compatibility version 1201.0.0, current version 1201.12.0) /sw/lib/libgmodule-2.0.0.dylib (compatibility version 1201.0.0, current version 1201.12.0) /sw/lib/libgobject-2.0.0.dylib (compatibility version 1201.0.0, current version 1201.12.0) /sw/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0) /sw/lib/libintl.3.dylib (compatibility version 8.0.0, current version 8.3.0) /sw/lib/libjpeg.62.dylib (compatibility version 63.0.0, current version 63.0.0) /sw/lib/libotf.0.dylib (compatibility version 1.0.0, current version 1.0.0) /sw/lib/libpng12.0.dylib (compatibility version 19.0.0, current version 19.0.0) /sw/lib/librsvg-2.2.dylib (compatibility version 12.0.0, current version 12.5.0) /sw/lib/libtiff.3.dylib (compatibility version 12.0.0, current version 12.2.0) /sw/lib/ncurses/libncurses.5.dylib (compatibility version 5.0.0, current version 5.0.0) /usr/X11R6/lib/libICE.6.dylib (compatibility version 6.3.0, current version 6.3.0) /usr/X11R6/lib/libSM.6.dylib (compatibility version 6.0.0, current version 6.0.0) /usr/X11R6/lib/libX11.6.dylib (compatibility version 6.2.0, current version 6.2.0) /usr/X11R6/lib/libXext.6.dylib (compatibility version 6.4.0, current version 6.4.0) /usr/X11R6/lib/libXft.2.dylib (compatibility version 2.1.0, current version 2.1.0) /usr/X11R6/lib/libXmu.6.dylib (compatibility version 6.2.0, current version 6.2.0) /usr/X11R6/lib/libXpm.4.dylib (compatibility version 4.11.0, current version 4.11.0) /usr/X11R6/lib/libXt.6.dylib (compatibility version 6.0.0, current version 6.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.10) /usr/lib/libmx.A.dylib (compatibility version 1.0.0, current version 92.0.0) /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)




choosing one library I might be able to find some details that might
explain why GNU Emacs crashes.

Linking 2 versions of the same library is extremely likely to cause very
strange crashed.


Sorry, I don't have the idea of doing what you are suggesting.

--
Greetings

  Pete

These are my principles and if you don't like them... well, I have others.
                                - Groucho Marx







reply via email to

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