On 11/3/06, Orlarey Yann <orlarey@email-addr-hidden> wrote:
> Paul Coccoli a écrit :
> > On 11/2/06, Orlarey Yann <orlarey@email-addr-hidden> wrote:
> >> Paul Coccoli a écrit :
> >> > The alsa-gtk build does not run on my FC4 box, because it requires
> >> > libpangocairo-1.0.so.0.
> >> alsa-gtk applications are build against gtk+-2.0 which requires
> >> pangocairo-1.0. Have you gtk+-2.0 installed ?
> >
> > Yes, I have gtk+-2.0 installed, but the Fedora Core 4 version of Pango
> > doesn't (yet) have cairo support. So libpangocairo isn't there, but
> > other libpangos are.
> >
> > I'll check my FC5 box later (I don't have FC6 yet).
> >
> > On what system are the apps built? I didn't know anybody was really
> > using Cairo yet.
> Well, on my SUSE 10.1 'pkg-config --libs gtk+-2.0' returns :
> -L/usr/X11R6/lib -L/opt/gnome/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
> -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0
> -lgmodule-2.0 -ldl -lglib-2.0 -lfreetype -lfontconfig -lXrender -lX11
> -lXext -lpng12 -lz -lglitz -lm
>
> requiring explicitly pangocairo-1.0
>
> But on the Faust server (an old Mandrake 10.1) 'pkg-config --libs
> gtk+-2.0' returns :
> -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
> -lgdk_pixbuf-2.0
> -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0
> -ldl -lglib-2.0
>
> It doesn't require pangocairo explicitly. Moreover ldd doesn't show any
> dependency to libpangocairo in the generated binary on the server. 'ldd
> freeverb | grep libpango' returns
> libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0x40479000)
> libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0x4047e000)
> libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x4048b000)
> libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x40949000)
>
> It seems to be a problem of configuration of gtk+-2.0 on FC4. Could you
> try, as suggested by Albert in a previous mail, to download a source
> package and recompile it on your FC4 machine to see if you still have
> the problem ? What does 'pkg-config --libs gtk+-2.0' return on your
> machine ?
>
> Yann
>
The "volume" and "tester" apps I downloaded have different ldd output:
[pcoccoli@email-addr-hidden ~]$ ldd volume
linux-gate.so.1 => (0x0075a000)
libasound.so.2 => /lib/libasound.so.2 (0x04c4e000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00a99000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x0467a000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x00c49000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x04c28000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x00be3000)
libpangocairo-1.0.so.0 => not found
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x0631c000)
libcairo.so.2 => not found
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x04e95000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x009f8000)
libdl.so.2 => /lib/libdl.so.2 (0x008cf000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x0025b000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00ad4000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00b3e000)
libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x00bd9000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x008ea000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x00a4a000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x055a2000)
libz.so.1 => /usr/lib/libz.so.1 (0x008d5000)
libglitz.so.1 => not found
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x05468000)
libm.so.6 => /lib/libm.so.6 (0x008a8000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00525000)
libc.so.6 => /lib/libc.so.6 (0x0077d000)
/lib/ld-linux.so.2 (0x0075b000)
libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0x009f0000)
libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0x00a38000)
libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x00c43000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x00bcf000)
libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0x00a33000)
libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x00ba2000)
libXfixes.so.3 => /usr/X11R6/lib/libXfixes.so.3 (0x00c16000)
libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0x00c0a000)
libexpat.so.0 => /usr/lib/libexpat.so.0 (0x00ab3000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x063bc000)
Here's pkg-config on my FC4:
[pcoccoli@email-addr-hidden ~]$ pkg-config --libs gtk+-2.0
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
-lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0
-ldl -lglib-2.0
Unless you statically link the generated apps, I don't think you can
really expect them to run everywhere.
Received on Fri Nov 3 20:15:02 2006
This archive was generated by hypermail 2.1.8 : Fri Nov 03 2006 - 20:15:02 EET