View previous topic :: View next topic |
Author |
Message |
pacheco n00b
Joined: 17 Jun 2004 Posts: 4
|
Posted: Fri Jun 25, 2004 4:55 am Post subject: libgtk-1.2.so.0 is not big-endian |
|
|
well well. looks like i crashed some libs while playing with flash i think. i installed flash with qemu as they say in this topic https://forums.gentoo.org/viewtopic.php?t=117774. it was working but the flash animations dont show well so i tried to merge de netscape-flash from the portage tree even if it is for x86. but now, when i try to load xmms and mplayer (and maybe some other apps), i got the message:
xmms: error while loading shared libraries: /usr/lib/libgtk-1.2.so.0: ELF file data encoding not big-endian
i tried to re-emerge some ebuilds like gtk+ but it doesn't fix anything. from wich ebuilds is the libgtk-1.2.so.0?? well i do like to try weird things but this time i don't want to waste an entire day to re-install gentoo. please help... tanks. |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
|
Back to top |
|
|
pacheco n00b
Joined: 17 Jun 2004 Posts: 4
|
Posted: Fri Jun 25, 2004 8:40 am Post subject: |
|
|
well it looked like a great idea but... the compilation process halt with this error:
Code: | ...
/bin/sh ../libtool --mode=link gcc -mcpu=7450 -O2 -pipe -fsigned-char -maltivec -mabi=altivec -mpowerpc-gfxopt -Wall -o libgdk.la -rpath /usr/lib -version-info 9:1:9 -release 1.2 -export-dynamic -L/usr/lib -rdynamic -lgmodule -lglib -ldl -L/usr/X11R6/lib -lXi -lXext -lX11 -lm gdk.lo gdkcc.lo gdkcolor.lo gdkcursor.lo gdkdnd.lo gdkdraw.lo gdkevents.lo gdkfont.lo gdkgc.lo gdkglobals.lo gdkim.lo gdkimage.lo gdkinput.lo gdkpixmap.lo gdkproperty.lo gdkrgb.lo gdkrectangle.lo gdkregion.lo gdkselection.lo gdkvisual.lo gdkwindow.lo gdkxid.lo gxid_lib.lo
rm -fr .libs/libgdk.la .libs/libgdk.* .libs/libgdk-1.2.*
gcc -shared gdk.lo gdkcc.lo gdkcolor.lo gdkcursor.lo gdkdnd.lo gdkdraw.lo gdkevents.lo gdkfont.lo gdkgc.lo gdkglobals.lo gdkim.lo gdkimage.lo gdkinput.lo gdkpixmap.lo gdkproperty.lo gdkrgb.lo gdkrectangle.lo gdkregion.lo gdkselection.lo gdkvisual.lo gdkwindow.lo gdkxid.lo gxid_lib.lo -L/usr/lib /usr/lib/libgmodule.so /usr/lib/libglib.so -ldl -L/usr/X11R6/lib -lXi -lXext -lX11 -lm -Wl,-soname -Wl,libgdk-1.2.so.0 -o .libs/libgdk-1.2.so.0.9.1
/usr/lib/libgmodule.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [libgdk.la] Erreur 1
make[2]: Leaving directory `/var/tmp/portage/gtk+-1.2.10-r10/work/gtk+-1.2.10/gdk'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/var/tmp/portage/gtk+-1.2.10-r10/work/gtk+-1.2.10'
make: *** [all-recursive-am] Erreur 2
!!! ERROR: x11-libs/gtk+-1.2.10-r10 failed.
!!! Function src_compile, Line 54, Exitcode 2
!!! (no error message) |
i think it may not have been cause by the installation of a package from another architecture. something strange is that even after unmerging flash, wich is the package i believe could be the problem, it still seem to be present in mozilla. flash animations appear but hang after a second, even if i unmerged it... i'm really confuse...
it will teach me to try weird things like this. |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
|
Back to top |
|
|
pacheco n00b
Joined: 17 Jun 2004 Posts: 4
|
Posted: Fri Jun 25, 2004 11:52 pm Post subject: |
|
|
thaks, now it works... |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Fri Jun 25, 2004 11:57 pm Post subject: |
|
|
PPCs are big-endian, whereas Intel chips are little-endian. Somehow, you installed a glib/gtk+ with the Intel byte ordering for netscape-flash's benefit, and this broke all your native apps who have and want PPC byte ordering. _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
|