RE: How do I update ONLY GLib?
- From: Sergei Steshenko <sergstesh yahoo com>
- To: Warren's Public Email <wrfpublic charter net>, 'Tristan Van Berkom' <tvb gnome org>
- Cc: gtk-list gnome org
- Subject: RE: How do I update ONLY GLib?
- Date: Thu, 21 Dec 2006 07:49:29 -0800 (PST)
--- Warren's Public Email <wrfpublic charter net> wrote:
...
> You should be able to test your glib in /usr/local by simply
> typing "LD_LIBRARY_PATH=/usr/local/lib ./myprogram".
>
> Cheers,
> -Tristan
>
>
...
Not necessarily so - see how, for example, how 'gtk-demo' is built:
"
[197] 17:43 sergei amdam2:/maxtor5/sergei/AppsFromScratchWD> ldd
/maxtor5/sergei/AppsFromScratchWD/install/gtk+-2.10.6/bin/gtk-demo
linux-gate.so.1 => (0xffffe000)
libgdk_pixbuf-2.0.so.0 =>
/maxtor5/sergei/AppsFromScratchWD/install/gtk+-2.10.6/lib/libgdk_pixbuf-2.0.so.0 (0xb7f1f000)
libgdk-x11-2.0.so.0 =>
/maxtor5/sergei/AppsFromScratchWD/install/gtk+-2.10.6/lib/libgdk-x11-2.0.so.0 (0xb7e9e000)
libgtk-x11-2.0.so.0 =>
/maxtor5/sergei/AppsFromScratchWD/install/gtk+-2.10.6/lib/libgtk-x11-2.0.so.0 (0xb7b5f000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb7b3c000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb7b37000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb7b28000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb7b1d000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb7b17000)
libpangocairo-1.0.so.0 =>
/maxtor5/sergei/AppsFromScratchWD/install/pango-1.14.8/lib/libpangocairo-1.0.so.0 (0xb7b0e000)
libpangoft2-1.0.so.0 =>
/maxtor5/sergei/AppsFromScratchWD/install/pango-1.14.8/lib/libpangoft2-1.0.so.0 (0xb7ae2000)
libpango-1.0.so.0 =>
/maxtor5/sergei/AppsFromScratchWD/install/pango-1.14.8/lib/libpango-1.0.so.0 (0xb7aa8000)
libatk-1.0.so.0 =>
/maxtor5/sergei/AppsFromScratchWD/install/atk-1.12.1/lib/libatk-1.0.so.0 (0xb7a8d000)
libgobject-2.0.so.0 =>
/maxtor5/sergei/AppsFromScratchWD/install/glib-2.12.6/lib/libgobject-2.0.so.0 (0xb7a53000)
libgmodule-2.0.so.0 =>
/maxtor5/sergei/AppsFromScratchWD/install/glib-2.12.6/lib/libgmodule-2.0.so.0 (0xb7a4f000)
libglib-2.0.so.0 =>
/maxtor5/sergei/AppsFromScratchWD/install/glib-2.12.6/lib/libglib-2.0.so.0 (0xb79bc000)
librt.so.1 => /lib/librt.so.1 (0xb79b3000)
libcairo.so.2 => /maxtor5/sergei/AppsFromScratchWD/install/cairo-1.2.4/lib/libcairo.so.2
(0xb7950000)
libfontconfig.so.1 =>
/maxtor5/sergei/AppsFromScratchWD/install/fontconfig-2.4.1/lib/libfontconfig.so.1 (0xb7925000)
libfreetype.so.6 =>
/maxtor5/sergei/AppsFromScratchWD/install/freetype-2.2.1/lib/libfreetype.so.6 (0xb78c1000)
libexpat.so.1 => /maxtor5/sergei/AppsFromScratchWD/install/expat-2.0.0/lib/libexpat.so.1
(0xb78a0000)
libpng12.so.0 => /maxtor5/sergei/AppsFromScratchWD/install/libpng-1.2.12/lib/libpng12.so.0
(0xb787d000)
libz.so.1 => /lib/libz.so.1 (0xb7869000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb7860000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb7743000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb773f000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7739000)
libdl.so.2 => /lib/libdl.so.2 (0xb7735000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb771c000)
libm.so.6 => /lib/libm.so.6 (0xb76f6000)
libc.so.6 => /lib/libc.so.6 (0xb75c8000)
/lib/ld-linux.so.2 (0xb7f38000)
[198] 17:45 sergei amdam2:/maxtor5/sergei/AppsFromScratchWD>
"
and pay attention to
libglib-2.0.so.0 =>
/maxtor5/sergei/AppsFromScratchWD/install/glib-2.12.6/lib/libglib-2.0.so.0 (0xb79bc000)
line - in the above case I didn't set up LD_LIBRARY_PATH when I invoked 'ldd'.
By the way, my offer still stands, and my tool doesn't require to set
LD_LIBRARY_PATH manually, it automatically generates shell script wrappers
setting environment variables in a manner they are pointing to local installs.
--Sergei.
Applications From Scratch: http://appsfromscratch.berlios.de/
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]