Re: building GNOME 2.11 on x86_64 using jhbuild
- From: Jeroen Zwartepoorte <jeroen zwartepoorte gmail com>
- To: Pat Suwalski <pat suwalski net>
- Cc: desktop-devel-list gnome org
- Subject: Re: building GNOME 2.11 on x86_64 using jhbuild
- Date: Tue, 14 Jun 2005 13:10:51 +0200
Hi Pat,
I traced my problem to "freetype-config --libs" returning something
that contains "--rpath". This causes the jhbuild binaries to use the
system libraries (/usr/lib64) instead of the ones in my homedirectory.
The runpath takes precedent over LD_LIBRARY_PATH.
I've rebuilt freetype from the fedora source rpm previously to enable
the bytecode interpreter. The freetype-devel package comes from build.
Why it contains the --rpath parameter is beyond me.
You seem to be having the same problem. Trying figuring out which
pkg-config file contains the --rpath reference and look from there how
it got there. The first module's pkg-config containing the --rpath
reference was cairo on my machine. Everything else from there on out
had problems. Removing the --rpath reference from the pkg-config file
and rebuilding from there on fixed it.
I still need to do some more work before i have a working desktop
(evolution-data-server didn't pickup mozilla-nspr-devel from
/usr/lib64 as of last night; i don't build mozilla in jhbuild), but
the "hard" stuff should be over.
HTH,
Jeroen
On 6/14/05, Pat Suwalski <pat suwalski net> wrote:
> Pat Suwalski wrote:
> > I was hoping to test your theory this evening, but I can't get very far
> > in the build, which dies at gtk because of:
> >
> > ./.libs/libgtk-x11-2.0.so: undefined reference to
> > `g_utf8_collate_key_for_filename'
>
> On further thought, this must be because it's trying to link against
> what's in /usr rather that /opt/g212. This appears the same problem you
> have, except that I cannot explain how you got past the gtk+ build.
>
> This is clearly because the libraries are explicitly specified
> ("/usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so
> /usr/lib/libglib-2.0.so"):
>
> gcc -g -O2 -g -Wall -o .libs/gtk-query-immodules-2.0 queryimmodules.o
> ./.libs/libgtk-x11-2.0.so -L/opt/g212/lib64
> /home/pat/cvs/gnome2/gtk+/gdk/.libs/libgdk-x11-2.0.so -L/usr/lib64
> /usr/lib/libatk-1.0.so ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so
> ../gdk/.libs/libgdk-x11-2.0.so -lXrandr -lXinerama
> /opt/g212/lib64/libXft.so -lXfixes -lXcursor /usr/lib/libpangoxft-1.0.so
> /opt/g212/lib64/libpangocairo-1.0.so /opt/g212/lib64/libcairo.so
> /opt/g212/lib64/libpixman.so /opt/g212/lib64/libpangoft2-1.0.so
> /opt/g212/lib64/libpango-1.0.so /opt/g212/lib64/libfontconfig.so
> /usr/lib/libcairo.so -lXext /usr/lib/libglitz.so
> /usr/lib/libfontconfig.so /usr/lib/libfreetype.so /usr/lib/libexpat.so
> /usr/lib/libpixman.so /opt/g212/lib64/libXrender.so -lX11 -lpng12 -lz
> /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so
> /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so
> /usr/lib/libglib-2.0.so
> /home/pat/cvs/gnome2/gtk+/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so
> /opt/g212/lib64/libgmodule-2.0.so -ldl /opt/g212/lib64/libgobject-2.0.so
> /opt/g212/lib64/libglib-2.0.so -lm -Wl,--rpath -Wl,/opt/g212/lib64
> -Wl,--rpath -Wl,/usr/lib
>
> --Pat
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]