Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Java and Pango
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
freedrivee
n00b
n00b


Joined: 19 Mar 2004
Posts: 7

PostPosted: Fri Mar 19, 2004 9:08 pm    Post subject: Java and Pango Reply with quote

Hi,

i recently installed Eclipse manually from elipse.org. After searching the Forum, i installed the 32bit emul packages and the sun-jdk binary for i586. But when i start eclipse i receive an error.

Code:

Cannot load module /usr/lib/pango/1.2.0/modules/pango-basic-xft.so: /usr/lib/pango/1.2.0/modules/pango-basic-xft.so: cannot open shared object file: No such file or directory
Cannot load module /usr/lib/pango/1.2.0/modules/pango-basic-xft.so: /usr/lib/pango/1.2.0/modules/pango-basic-xft.so: cannot open shared object file: No such file or directory


Eclipse starts and shows all buttons but no text is visible. The file
/usr/lib/pango/1.2.0/modules/pango-basic-xft.so
exists in my system. Any hints?

Regards,
freedrivee
Back to top
View user's profile Send private message
freedrivee
n00b
n00b


Joined: 19 Mar 2004
Posts: 7

PostPosted: Sat Mar 20, 2004 3:06 pm    Post subject: Reply with quote

The same problem with other java programs.
Do i need swt i386 libs? I think they are installed with emul-x86-gtklibs?
Back to top
View user's profile Send private message
freedrivee
n00b
n00b


Joined: 19 Mar 2004
Posts: 7

PostPosted: Mon Mar 22, 2004 11:18 pm    Post subject: Reply with quote

I have found a solution. When i link
Code:
/emul/linux/x86/usr/lib/pango/1.2.0/modules/pango-basic-xft.so

to
Code:
/usr/lib/pango/1.2.0/modules/pango-basic-xft.so

it works. How can i force an application to use the specific library? In /etc/ld.so.conf are these settings:
Code:
# ld.so.conf autogenerated by env-update; make all changes to
# contents of /etc/env.d directory
/emul/linux/x86/usr/X11R6/lib
/emul/linux/x86/usr/lib/opengl/xfree/lib
/lib32
/opt/sun-jdk-1.4.2.04/jre/lib
/usr/X11R6/lib
/usr/games/lib
/usr/kde/3.2/lib
/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3
/usr/lib/mozilla
/usr/lib/opengl/nvidia/lib
/usr/lib32
/usr/lib32/gcc-lib/i386-pc-linux-gnu/3.2.3/
/usr/local/lib
/usr/qt/3/lib


Any hints?
Back to top
View user's profile Send private message
nigelhannam
n00b
n00b


Joined: 21 Feb 2003
Posts: 70

PostPosted: Tue Mar 23, 2004 2:44 pm    Post subject: Reply with quote

Pango seems to use the /etc/pango/pango.modules file to specify the library locations.

It looks as though the version of pango installed by app-emulation/emul-linux-x86-gtklibs is using the same file as the standard pango build.

I think the best bet is to raise this as a bug against the emulation libs, and see if they can be built to use a different pango.modules file.

EDIT: Bug raised https://bugs.gentoo.org/show_bug.cgi?id=45498
Back to top
View user's profile Send private message
freedrivee
n00b
n00b


Joined: 19 Mar 2004
Posts: 7

PostPosted: Tue Mar 23, 2004 4:09 pm    Post subject: Reply with quote

Thanks.
But unfortunately there is no other workaround, then replace the file before starting java swt applications. :roll:
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