[Sugar-devel] Getting sugar-jhbuild run working

Sascha Silbe sascha-ml-ui-sugar-devel at silbe.org
Mon Feb 9 11:10:22 EST 2009


On Mon, Feb 09, 2009 at 04:35:06PM +0100, Marco Pesenti Gritti wrote:

> It seem to be ignoring the LD_LIBRARY_PATH. Anyone have ideas on what
> could be the reason?
 From "info ld":

`-rpath DIR'
      Add a directory to the runtime library search path.  This is used
      when linking an ELF executable with shared objects.  All `-rpath'
      arguments are concatenated and passed to the runtime linker, which
      uses them to locate shared objects at runtime.  The `-rpath'
      option is also used when locating shared objects which are needed
      by shared objects explicitly included in the link; see the
      description of the `-rpath-link' option.  If `-rpath' is not used
      when linking an ELF executable, the contents of the environment
      variable `LD_RUN_PATH' will be used if it is defined.

I suppose python-gconf has been compiled using the -rpath option. Don't 
know how to dump the rpath setting, but the library does contain the 
string "/usr/lib" so it seems likely.

Any reason why sugar tries to use the system-supplied Python wrapper in 
combination with a locally installed gconf library? How do you ensure 
those two match exactly, given that the Python wrapper is compiled 
_before_ the library?

CU Sascha

-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: Digital signature
Url : http://lists.sugarlabs.org/archive/sugar-devel/attachments/20090209/7c2a2ec3/attachment.pgp 


More information about the Sugar-devel mailing list