Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GTKRadiant on AMD64
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
Mekoryuk
Apprentice
Apprentice


Joined: 17 Sep 2003
Posts: 174

PostPosted: Sun Jan 09, 2005 6:57 am    Post subject: GTKRadiant on AMD64 Reply with quote

Currently doesn't run fresh off the emerge.

Quote:
./radiant.x86: error while loading shared libraries: libxml2.so.2: cannot openshared object file: No such file or directory


I do have this file installed on my system, and I've tried linking it six ways from Sunday to every rational folder I could think of, but no go.

ldd also reveals some other shtuffs missing:

Quote:
ldd radiant.x86
linux-gate.so.1 => (0xffffe000)
libdl.so.2 => /lib32/libdl.so.2 (0x55587000)
libglib-2.0.so.0 => /usr/lib32/libglib-2.0.so.0 (0x5558a000)
libxml2.so.2 => not found
libz.so.1 => /lib32/libz.so.1 (0x5560a000)
libpthread.so.0 => /lib32/libpthread.so.0 (0x5561b000)
libgtk-x11-2.0.so.0 => /usr/lib32/libgtk-x11-2.0.so.0 (0x5566e000)
libgdk-x11-2.0.so.0 => /usr/lib32/libgdk-x11-2.0.so.0 (0x55957000)
libatk-1.0.so.0 => /usr/lib32/libatk-1.0.so.0 (0x559cb000)
libgdk_pixbuf-2.0.so.0 => /usr/lib32/libgdk_pixbuf-2.0.so.0 (0x559e6000)
libm.so.6 => /lib32/libm.so.6 (0x559fd000)
libpangoxft-1.0.so.0 => /usr/lib32/libpangoxft-1.0.so.0 (0x55a1f000)
libpangox-1.0.so.0 => /usr/lib32/libpangox-1.0.so.0 (0x55a24000)
libpango-1.0.so.0 => /usr/lib32/libpango-1.0.so.0 (0x55a30000)
libgobject-2.0.so.0 => /usr/lib32/libgobject-2.0.so.0 (0x55a65000)
libgmodule-2.0.so.0 => /usr/lib32/libgmodule-2.0.so.0 (0x55aa4000)
libgtkglext-x11-1.0.so.0 => not found
libgdkglext-x11-1.0.so.0 => not found
libGLU.so.1 => /usr/lib32/libGLU.so.1 (0x55aa9000)
libGL.so.1 => /usr/lib32/opengl/nvidia/lib/libGL.so.1 (0x55b26000)
libXmu.so.6 => /usr/X11R6/lib32/libXmu.so.6 (0x55b94000)
libXt.so.6 => /usr/X11R6/lib32/libXt.so.6 (0x55baa000)
libSM.so.6 => /usr/X11R6/lib32/libSM.so.6 (0x55bfe000)
libICE.so.6 => /usr/X11R6/lib32/libICE.so.6 (0x55c07000)
libstdc++.so.5 => /usr/lib32/libstdc++.so.5 (0x55c1f000)
libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/32/libgcc_s.so.1 (0x55cd2000)
libc.so.6 => /lib32/libc.so.6 (0x55cdb000)
libX11.so.6 => /usr/X11R6/lib32/libX11.so.6 (0x55df2000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x55555000)
libXrandr.so.2 => /usr/X11R6/lib32/libXrandr.so.2 (0x55ebd000)
libXi.so.6 => /usr/X11R6/lib32/libXi.so.6 (0x55ec2000)
libXinerama.so.1 => /usr/X11R6/lib32/libXinerama.so.1 (0x55eca000)
libXft.so.2 => /usr/X11R6/lib32/libXft.so.2 (0x55ecd000)
libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0x55ee0000)
libfontconfig.so.1 => /usr/lib32/libfontconfig.so.1 (0x55f49000)
libXcursor.so.1 => /usr/X11R6/lib32/libXcursor.so.1 (0x55f70000)
libXrender.so.1 => /usr/X11R6/lib32/libXrender.so.1 (0x55f7a000)
libXext.so.6 => /usr/X11R6/lib32/libXext.so.6 (0x55f83000)
libpangoft2-1.0.so.0 => /usr/lib32/libpangoft2-1.0.so.0 (0x55f92000)
libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/32/libstdc++.so.6 (0x55fb8000)
libGLcore.so.1 => /usr/lib32/opengl/nvidia/lib/libGLcore.so.1 (0x56087000)
libnvidia-tls.so.1 => /usr/lib32/opengl/nvidia/lib/libnvidia-tls.so.1 (0x56779000)
libexpat.so.0 => /usr/lib32/libexpat.so.0 (0x5677b000)


Feel free to post your successes or failures with this app. It'd be nice to get this working decently on AMD64!
Back to top
View user's profile Send private message
2K_amd64
n00b
n00b


Joined: 26 Oct 2004
Posts: 18
Location: Ankara / TURKEY

PostPosted: Mon Jan 10, 2005 5:06 am    Post subject: Reply with quote

did you emerged compatibility libraries ? seems your radiant to be 32-bit (you can check this out with a
file /where/it/is/radiant.x86
)

and your problem should be solved with

(# emerge emul-linux-x86-glibc /* i didn`t need that */)

# emerge emul-linux-x86-compat
# emerge emul-linux-x86-gtklibs

If it works, credits go to tatsmae, special thanks to Miller
Back to top
View user's profile Send private message
rc
Apprentice
Apprentice


Joined: 16 Dec 2003
Posts: 234

PostPosted: Mon Jan 10, 2005 3:02 pm    Post subject: Reply with quote

Hi,
it would be pretty nice to get gtkradiant working on an amd64 system.
The output i get from "ldd radiant.x86" is nearly the same.
I think the following lines are important:
Code:

        libxml2.so.2 => not found
        libgtkglext-x11-1.0.so.0 => not found
        libgdkglext-x11-1.0.so.0 => not found

Looks like we need something like emul-linux-x86-libxml2 and emul-linux-x86-gtkglext.
I dont have much time atm.
Maybe compiling these libs in a 32-Bit chroot and copying these to the proper locations (/emul/lib32 or so) on the x86_64 system will work.

greetings,
rc
Back to top
View user's profile Send private message
rc
Apprentice
Apprentice


Joined: 16 Dec 2003
Posts: 234

PostPosted: Tue Jan 11, 2005 4:12 pm    Post subject: Reply with quote

Hi,
i copyed the missing files from a chroot32 enviroment.
Code:

cp /mnt/gentoo32/usr/lib/libxml2.* /emul/linux/x86/usr/lib
cp /mnt/gentoo32/usr/lib/libgdkglext* /emul/linux/x86/usr/lib
cp /mnt/gentoo32/usr/lib/libgtkglext* /emul/linux/x86/usr/lib

Code:

LD_LIBRARY_PATH="/emul/linux/x86/usr/lib" ldd radiant.x86

Executing this now shows, that all files are found but i get the following error:
Code:

(radiant.x86:558): Gdk-WARNING **: locale not supported by Xlib

(radiant.x86:558): Gdk-WARNING **: can not set locale modifiers

(radiant.x86:558): Gdk-WARNING **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not supported

(radiant.x86:558): Gdk-WARNING **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not supported
Gdk-WARNING **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not supported


(process:558): Gdk-WARNING (recursed) **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not supported
aborting...
Aborted


greetings,
rc
Back to top
View user's profile Send private message
teilo
Apprentice
Apprentice


Joined: 20 Jun 2003
Posts: 276
Location: Minneapolis, MN

PostPosted: Tue Jan 11, 2005 4:52 pm    Post subject: Reply with quote

If you have a chroot32 environment, why don't you just run it there?
_________________
Teilo who is called Teilo
Back to top
View user's profile Send private message
rc
Apprentice
Apprentice


Joined: 16 Dec 2003
Posts: 234

PostPosted: Tue Jan 11, 2005 6:36 pm    Post subject: Reply with quote

Well i think Mekoryuk wants to run gtkradiant on amd64 without the need of running it inside a chroot32 environment.
So do i. ;)
In the chroot32 gtkradiant seems to work. I didnt try much with it yet.

greetings,
rc
Back to top
View user's profile Send private message
rc
Apprentice
Apprentice


Joined: 16 Dec 2003
Posts: 234

PostPosted: Thu Jan 13, 2005 4:20 pm    Post subject: Reply with quote

Hi,
just a small "update".
I've copied the locales from the chroot to the emul-directory.
Running
Code:

LD_LIBRARY_PATH="/emul/linux/x86/usr/lib" XLOCALEDIR=/emul/linux/x86/usr/X11R6/lib/X11/locale radiant

gives me
Code:

(radiant.x86:10331): Gdk-WARNING **: Error converting from UTF-8 to STRING: Could not open converter from 'UTF-8' to 'ISO-8859-1'

(radiant.x86:10331): Gdk-WARNING **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is notsupported
Gdk-WARNING **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not supported


(process:10331): Gdk-WARNING (recursed) **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1'is not supported
aborting...
Aborted

I wonder if i'm on the right way or if this will lead me straight against the wall.
Anyway its not a great prob for me since i dont have much time atm.
I just want to let you know what i've tried so far and what results i got.

greetings,
rc
Back to top
View user's profile Send private message
breakerfall
Guru
Guru


Joined: 02 Aug 2003
Posts: 509
Location: Manchester, UK

PostPosted: Sat Feb 05, 2005 8:14 pm    Post subject: Reply with quote

Any update on this at all? Anyone get radiant successfully working under a 64 bit environment? I grabbed the RPM from the website and I have exactly the same issues, with libxml, libgtkglext and libgdkglext not being found.
Back to top
View user's profile Send private message
servo888
Apprentice
Apprentice


Joined: 22 Feb 2004
Posts: 293

PostPosted: Fri Jun 17, 2005 3:39 pm    Post subject: Reply with quote

Code:

(process:10331): Gdk-WARNING (recursed) **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1'is not supported
aborting...
Aborted


Same issue here. Also if your having library problems just download some rpms, or chroot32 the libraries, it's not that hard. Just make sure you copy over the libraries into /usr/lib32/
_________________
www.garberdesign.com
"You need a Windows PC to listen to this music." -listen.com
Back to top
View user's profile Send private message
AusGen
n00b
n00b


Joined: 31 Jul 2005
Posts: 11
Location: Jervis Bay, ACT, Australia

PostPosted: Tue Aug 30, 2005 10:57 am    Post subject: Still unresolved? Reply with quote

I'm running Gentoo x86_64 and installed gtkradiant after ID software released the Q3 source code. I'm getting the same problems described above. As best I can determine from Google and these Forums the only solution at the moment is to create a chroot environment. Is this the case or is there some other workaround for this now?
Back to top
View user's profile Send private message
bakaohki
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jul 2005
Posts: 129
Location: Hungary

PostPosted: Sat Oct 01, 2005 1:49 pm    Post subject: Reply with quote

Then how can it be marked stable on amd64? 8O Same problem here anyway...
Filed a bug report (https://bugs.gentoo.org/show_bug.cgi?id=107787).

Edit: the amd64 flag has been removed. BTW it works for me with x86 libs installed:
I downloaded the missing files from an rpm mirror and copied them to the above mentioned location,
then
Code:

export LD_LIBRARY_PATH="/emul/linux/x86/usr/lib"
radiant


It misses my x86 gtk theme though.
Back to top
View user's profile Send private message
flowolf
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2003
Posts: 143

PostPosted: Wed Dec 14, 2005 11:50 am    Post subject: Reply with quote

gtkradiant appears to be open source, why do we need to use a binary release?
_________________
Religions are like fireflies. They require darkness in order to shine.
Arthur Schopenhauer
Back to top
View user's profile Send private message
bakaohki
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jul 2005
Posts: 129
Location: Hungary

PostPosted: Wed Dec 14, 2005 6:22 pm    Post subject: Reply with quote

Hmm, I can't find the source, is it there? Could you compile it? If so, please submit an ebuild in bugzilla, they will help you there I'm sure.

Edit: yeah, it's in the SVN, but their main site has binaries, so this repository might be new. Wish I had the time to check it out...
Back to top
View user's profile Send private message
Xoalin
n00b
n00b


Joined: 11 Jun 2004
Posts: 40
Location: North Pole

PostPosted: Wed Jan 11, 2006 9:27 pm    Post subject: Reply with quote

flowolf wrote:
gtkradiant appears to be open source, why do we need to use a binary release?


It was geared for an early version of GCC 3.3 and a version of scons that is no longer in portage. As a result, it doesn't seem to want to compile as is.
_________________
Pollution is here to stay. Corporations will sell us the oil to destroy the environment, and soon they will sell us clean air. You don't believe me? Then why are they already selling us clean water?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum