[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#422350: sunjavaplugin.so looks for JNI_CreateJavaVM symbol in libgcj.so.71



Package: openoffice.org-core
Version: 2.2.0-4
Severity: normal

OpenOffice.org looks for JNI_CreateJavaVM symbol in libgcj.so.71 but this
symbol has now moved from libgcj.so to /usr/lib/gcj-$VERSION/libjvm.so;
here is the output when trying to save to Docbook:

[Java framework]sunjavaplugin.soJava runtime library:
file:///usr/lib/libgcj.so.71 does not export symbol JNI_CreateJavaVM !


It looks like there is a similar issue reported upstream
  http://www.openoffice.org/issues/show_bug.cgi?id=71435
but it talks about gcj 4.2 while 4.1 is installed on my system:

libgcj7-1:
  Installed: 4.1.2-4
  Candidate: 4.1.2-4
  Version table:
 *** 4.1.2-4 0
        500 http://ftp.belnet.be unstable/main Packages
        100 /var/lib/dpkg/status

Actually it is possible to fix this locally with a symlink
  `ln -s gcj-4.1-71 /usr/lib/gcj-4.1`


Nevertheless it looks like jvmfwk/plugins/sunmajor/pluginlib/gnujre.cxx
could be updated to work with current gcj; hand-written patch:

     static char const* ar[]= {
          "/lib/" JFW_PLUGIN_ARCH "/client/libjvm.so",
+          "/gcj-4.1-71/libjvm.so",
           "/gcj-4.1.1/libjvm.so",
           "/gcj-4.1/libjvm.so",
           "/libgcj.so.8",
           "/libgcj.so.70",
           "/libgcj.so.7",
           "/libgcj.so.6"
     };



Thanks,

	Frederic

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.21.1
Locale: LANG=fr_BE, LC_CTYPE=fr_BE (charmap=UTF-8) (ignored: LC_ALL set to fr_BE.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages openoffice.org-core depends on:
ii  debconf [debconf-2.0 1.5.13              Debian configuration management sy
ii  fontconfig           2.4.2-1.2           generic font configuration library
ii  libaudio2            1.9-1               The Network Audio System (NAS). (s
ii  libc6                2.5-5               GNU C Library: Shared libraries
ii  libcairo2            1.4.6-1             The Cairo 2D vector graphics libra
ii  libcurl3             7.15.5-1            Multi-protocol file transfer libra
ii  libdb4.4             4.4.20-8            Berkeley v4.4 Database Libraries [
ii  libexpat1            1.95.8-3.4          XML parsing C library - runtime li
ii  libfontconfig1       2.4.2-1.2           generic font configuration library
ii  libfreetype6         2.2.1-5             FreeType 2 font engine, shared lib
ii  libgcc1              1:4.1.2-5           GCC support library
ii  libglib2.0-0         2.12.11.svn.5439-0  The GLib library of C routines
ii  libgstreamer-plugins 0.10.12-2           GStreamer libraries from the "base
ii  libgstreamer0.10-0   0.10.12-5           Core GStreamer libraries and eleme
ii  libgtk2.0-0          2.10.12.svn.17513-0 The GTK+ graphical user interface 
ii  libhunspell-1.1-0    1.1.5-6             spell checker and morphological an
ii  libice6              1:1.0.3-2           X11 Inter-Client Exchange library
ii  libicu36             3.6-2               International Components for Unico
ii  libjpeg62            6b-13               The Independent JPEG Group's JPEG 
ii  libldap2             2.1.30-13.4         OpenLDAP libraries
ii  libneon25            0.25.5.dfsg-6       An HTTP and WebDAV client library
ii  libnss3-0d           3.11.5-3            Network Security Service libraries
ii  libpam0g             0.79-4              Pluggable Authentication Modules l
ii  libpango1.0-0        1.16.2-2            Layout and rendering of internatio
ii  libpaper1            1.1.21              Library for handling paper charact
ii  libportaudio2        19+svn20070125-1    Portable audio I/O - shared librar
ii  libsm6               1:1.0.2-2           X11 Session Management library
ii  libsndfile1          1.0.17-1            Library for reading/writing audio 
ii  libstartup-notificat 0.9-1               library for program launch feedbac
ii  libstdc++6           4.1.2-5             The GNU Standard C++ Library v3
ii  libstlport5.1        5.1.3-1             STLport C++ class library
ii  libx11-6             2:1.0.3-7           X11 client-side library
ii  libxau6              1:1.0.3-2           X11 authorisation library
ii  libxaw7              1:1.0.3-3           X11 Athena Widget library
ii  libxcursor1          1:1.1.8-2           X cursor management library
ii  libxext6             1:1.0.3-2           X11 miscellaneous extension librar
ii  libxfixes3           1:4.0.3-2           X11 miscellaneous 'fixes' extensio
ii  libxi6               1:1.0.1-4           X11 Input extension library
ii  libxinerama1         1:1.0.2-1           X11 Xinerama extension library
ii  libxml2              2.6.28.dfsg-1       GNOME XML library
ii  libxrandr2           2:1.2.1-1           X11 RandR extension library
ii  libxrender1          1:0.9.2-1           X Rendering Extension client libra
ii  libxslt1.1           1.1.20.svn.1424-0   XSLT processing library - runtime 
ii  libxt6               1:1.0.5-2           X11 toolkit intrinsics library
ii  openoffice.org-commo 2.2.0-5             OpenOffice.org office suite archit
ii  ttf-opensymbol       2.2.0-5             The OpenSymbol TrueType font
ii  zlib1g               1:1.2.3-13          compression library - runtime

Versions of packages openoffice.org-core recommends:
pn  nfs-common                    <none>     (no description available)

Versions of packages openoffice.org-common depends on:
ii  dictionaries-common [openoffi 0.80.1     Common utilities for spelling dict
ii  openoffice.org-style-andromed 2.2.0-5    Default symbol style for OpenOffic

Versions of packages openoffice.org-java-common depends on:
ii  bsh                           2.0b4-4    Java scripting environment (BeanSh
ii  libxalan2-java                2.7.0-4    XSL Transformations (XSLT) process
ii  libxerces2-java               2.8.1-2    Validating XML parser for Java wit
ii  openoffice.org-common         2.2.0-5    OpenOffice.org office suite archit

Versions of packages openoffice.org-core is related to:
pn  firefox             <none>               (no description available)
pn  iceape-browser      <none>               (no description available)
pn  icedove             <none>               (no description available)
pn  iceweasel           <none>               (no description available)
ii  imagemagick         7:6.2.4.5.dfsg1-1    Image manipulation programs
ii  libsane             1.0.19~cvs20070421-1 API library for scanners
ii  libxinerama1        1:1.0.2-1            X11 Xinerama extension library
ii  libxrender1         1:0.9.2-1            X Rendering Extension client libra
ii  openoffice.org-filt 2.2.0-4              Legacy filters (e.g. StarOffice 5.
pn  pstoedit            <none>               (no description available)

-- no debconf information



Reply to: