Re: Abort compiling of gtk+ (jhbuild)



Hello.

I ran into this problem two weeks ago. I was building GLib/GTK+ combo
by hand from latest git sources when I encountered this. During my
"investigation", I found out that this problem is caused by ABI change
in glib (some macros in 2.22 were promoted to functions in 2.24 in
order to implement "insufficient memory checks" if I recall
correctly). When digging deeper, I found out that libtool scripts that
wrap executables in build tree were mangling LD_LIBRARY_PATH which
caused linker to search for libraries in /usr/lib first.

I still haven't found proper solution for this, since coding is just
my spare time activity. I was about to ask this question on some
Gentoo related irc channel or forum (I'm also using Gentoo BTW), but
my real life kicked in at that time and that is how things ended for
me.

Maybe setting LD_PRELOAD env variable before trying to compile stuff
would do the trick? Something like:

export LD_PRELOAD=/opt/GNOMELIVE/lib/linglib-2.0.so
./configure ...

Tadej


-- 
Tadej Borovšak
tadeboro.blogspot.com
tadeboro gmail com
tadej borovsak gmail com


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