You are not logged in.

#1 2012-07-02 03:46:52

DrKillPatient
Member
Registered: 2011-07-28
Posts: 85

[SOLVED] Cannot build Gnash on x86_64

I would like to build a custom Gnash with changes to the renderer and media options (--enable-renderer=all and --enable-media=gst), however, I am on a 64-bit system and my builds (I've tried gnash-common through the ABS and gnash-trunk-git from the AUR) consistently abort with these errors:

/usr/bin/ld: skipping incompatible /usr/lib32/libSDL.so when searching for -lSDL
/usr/bin/ld: skipping incompatible /usr/lib32/libgobject-2.0.so when searching for -lgobject-2.0
/usr/bin/ld: skipping incompatible /usr/lib32/libgobject-2.0.a when searching for -lgobject-2.0
/usr/bin/ld: skipping incompatible /usr/lib32/libgmodule-2.0.so when searching for -lgmodule-2.0
/usr/bin/ld: skipping incompatible /usr/lib32/libgmodule-2.0.a when searching for -lgmodule-2.0
/usr/bin/ld: skipping incompatible /usr/lib32/libgthread-2.0.so when searching for -lgthread-2.0
/usr/bin/ld: skipping incompatible /usr/lib32/libgthread-2.0.a when searching for -lgthread-2.0
/usr/bin/ld: skipping incompatible /usr/lib32/libxml2.so when searching for -lxml2
/usr/bin/ld: skipping incompatible /usr/lib32/libxml2.a when searching for -lxml2
/usr/bin/ld: skipping incompatible /usr/lib32/libglib-2.0.so when searching for -lglib-2.0
/usr/bin/ld: skipping incompatible /usr/lib32/libglib-2.0.a when searching for -lglib-2.0
/usr/bin/ld: skipping incompatible /usr/lib32/libjpeg.so when searching for -ljpeg
/usr/bin/ld: skipping incompatible /usr/lib32/libjpeg.a when searching for -ljpeg
/usr/bin/ld: skipping incompatible /usr/lib32/libgif.so when searching for -lgif
/usr/bin/ld: skipping incompatible /usr/lib32/libgif.a when searching for -lgif
/usr/bin/ld: skipping incompatible /usr/lib32/libltdl.so when searching for -lltdl
/usr/bin/ld: skipping incompatible /usr/lib32/libltdl.a when searching for -lltdl
/usr/bin/ld: skipping incompatible /usr/lib32/libGL.so when searching for -lGL
/usr/bin/ld: skipping incompatible /usr/lib32/libGLU.so when searching for -lGLU
/usr/lib32/libcairo.so: could not read symbols: File in wrong format
(it aborts here)

Google turns up nothing useful, unfortunately. I recall having this issue on Debian as well, so it's not Arch-specific (but it is architecture-specific-- my Debian install was 64-bit as well). What can I do to fix this?

Last edited by DrKillPatient (2012-07-05 23:27:12)

Offline

#2 2012-07-03 02:05:16

DrKillPatient
Member
Registered: 2011-07-28
Posts: 85

Re: [SOLVED] Cannot build Gnash on x86_64

Aha, I've fixed it. Info on this error was quite hard to find, but I found something on a mailing list mentioning that if one uses a multilib system, 64-bit with both /usr/lib and /usr/lib32, Gnash will use /usr/lib32, although it shouldn't do so. In order to fix this bug, one must edit the "libslist" file at gnash-0.8.10/macros/libslist. In it, there are two entries that include "lib32". Remove those entries entirely (entries are separated by spaces), then build Gnash as normal. (Since I used the gnash package from the ABS, this required the usual 'makepkg -s', albeit with a modfied PKGBULD that replaces the default macros/libslist with a fixed version before building.) Packages for gnash-gtk and gnash-common should be generated.

I applied this fix to gnash 0.8.10 from the community repo, but I assume it works similarly with gnash-git from the AUR.


EDIT: Well, it installed... but it's just giving me a blank video area when I open a Youtube page. Running firefox from the terminal gives me no error messages...

EDIT 2: Any one of various versions of gnash (git, community repo, custom builds)  seem to give a blank video area on Youtube. Still no error messages. What can I do now?

Last edited by DrKillPatient (2012-07-03 03:17:24)

Offline

#3 2012-07-05 06:44:33

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: [SOLVED] Cannot build Gnash on x86_64

The only thing that the repo package has that your customized package doesn't is ffmpeg support. Have you installed gstreamer0.10-ffmpeg and the various plugins?


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#4 2012-07-05 23:27:01

DrKillPatient
Member
Registered: 2011-07-28
Posts: 85

Re: [SOLVED] Cannot build Gnash on x86_64

Yes, I had all the dependencies. However, looking through the Gnash mailing list, it seems a totally unrelated problem has arisen, related to youtube changing its player. Stupidly, I didn't think to use other video sites to test Gnash (although Youtube is really the only thing it works reliably on, as far as I know).  The issue isn't Arch-related in any way, so I'll mark this as solved.

Offline

Board footer

Powered by FluxBB