[csw-users] Openoffice - 3.1 Sun4m?

James Lee james at opencsw.org
Sun Aug 30 17:25:49 CEST 2009


On 30/08/09, 05:11:01, Bart <xc68000 at gmail.com> wrote regarding [csw-users] 
Openoffice - 3.1 Sun4m?:

> Hello, is the OpenOffice 3.1 package suppose to be sun4m compatible?  I
> receive the following error when trying to launch if so -

> $ swriter
> ld.so.1: javaldx: fatal:
> /opt/csw/openoffice.org/ure/lib/libuno_sal.so.3: bad ELF flags value: [
> EF_SPARC_32PLUS ]
> ld.so.1: javaldx: fatal: relocation error: file
> /opt/csw/openoffice.org/ure/bin/javaldx: symbol sal_detail_initialize:
> referenced symbol not found
> ld.so.1: soffice.bin: fatal:
> /opt/csw/openoffice.org/ure/lib/libuno_sal.so.3: bad ELF flags value: [
> EF_SPARC_32PLUS ]
> ld.so.1: soffice.bin: fatal: relocation error: file
> /opt/csw/openoffice.org/program/soffice.bin: symbol
> sal_detail_initialize: referenced symbol not found


It was built sun4m except for a few lines of assembler compiled into
libuno_sal.so.3 and stlport.  Download these files and copy into
/opt/csw/openoffice.org/ure/lib/ over the existing files.

http://mirror.opencsw.org/testing/libuno_sal.so.3
http://mirror.opencsw.org/testing/libstlport_sunpro.so


I can correct this but as the required Java itself isn't Sun4m
compatible so does it matter that the rest is not Sun4m compatible?

Build:
./configure
...
	--with-jdk-home=/usr/java1.2 \
...

checking the installed JDK... configure: error: JDK is too old, you need 
at least 1.5
...



Java and sun4m:
http://bugs.sun.com/view_bug.do?bug_id=6213546



All is not lost, see also:
http://wiki.services.openoffice.org/wiki/Java_and_OpenOffice.org


Although it still doesn't work for me:


$ uname -a
SunOS amsterdam 5.8 Generic_117350-38 sun4m sparc SUNW,SPARCstation-20
$ java -version
java version "1.2.2"
Solaris VM (build Solaris_JDK_1.2.2_05a, native threads, sunwjit)
$ swriter
javaldx: Could not find a Java Runtime Environment! 
The application cannot be started. 
The component manager is not available.
Segmentation Fault - core dumped




So maybe you are going to have to lay out $5 for an Ultra1 :-)





James.



More information about the users mailing list