View previous topic :: View next topic |
Author |
Message |
freedrivee n00b
Joined: 19 Mar 2004 Posts: 7
|
Posted: Fri Mar 19, 2004 9:08 pm Post subject: Java and Pango |
|
|
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 |
|
|
freedrivee n00b
Joined: 19 Mar 2004 Posts: 7
|
Posted: Sat Mar 20, 2004 3:06 pm Post subject: |
|
|
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 |
|
|
freedrivee n00b
Joined: 19 Mar 2004 Posts: 7
|
Posted: Mon Mar 22, 2004 11:18 pm Post subject: |
|
|
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 |
|
|
nigelhannam n00b
Joined: 21 Feb 2003 Posts: 70
|
Posted: Tue Mar 23, 2004 2:44 pm Post subject: |
|
|
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 |
|
|
freedrivee n00b
Joined: 19 Mar 2004 Posts: 7
|
Posted: Tue Mar 23, 2004 4:09 pm Post subject: |
|
|
Thanks.
But unfortunately there is no other workaround, then replace the file before starting java swt applications. |
|
Back to top |
|
|
|