[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: build problem related to libtool?
From: |
Peter O'Gorman |
Subject: |
Re: build problem related to libtool? |
Date: |
Sun, 19 Feb 2006 19:51:29 +0900 |
User-agent: |
Mozilla Thunderbird 1.0.2 (Macintosh/20050317) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Peter O'Gorman wrote:
| Axel Wernicke wrote:
| | Hi list,
| |
| | while trying to build the latest development version of GIMP on OS X I
| | got some errors. I tried to solve them with the gimp developers, but
| | they told me that my problem is rather related to libtool then to the
| | gimp itself. That is why I'd like to ask for your help.
| | The command that crashes the make is:
The problem is here:
<http://cvs.gnome.org/viewcvs/gimp/app/Makefile.am?r1=1.355&r2=1.356>
I think they want to check for gnu binutils to use -rpath $ORIGIN/../lib,
but I'm not sure. Right now they try to do this for OS != windows. Ick!
To make an app relocatable on Mac OS X, you have to do more work than this.
You need to link your libraries with an install_name (soname) of
@executable_path/../lib/libfoo.dylib, by far the easiest thing to do to make
apps relocatable is to build as normal with -Wl,-headerpad_max_install_names
~ in LDFLAGS, then you can fix things to have the @executable_path/ bit after
build using install_name_tool(1).
Not libtool's fault, sorry, now you've got to go back to the gimp developers.
Peter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)
iQCVAwUBQ/hNsLiDAg3OZTLPAQL9KgP/YYbXiH/ntdWFSPYOhYje3ZCjE8WHHRKL
2bRPn+wqEcihOWDa2tg19x0dxKWfJ2NCbtWNPLjn8zutdbR1sUx/odg0U1cjE9jH
vQEAt0/FqOQmGRo2QSNkFjxbJRF2nuF7R5VQaG7NTy6h019Ra2K7X3ubh772LNRP
xnfVEtLkPE0=
=BAJD
-----END PGP SIGNATURE-----