To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=109214
                 Issue #|109214
                 Summary|OpenBSD porting: regcomp cannot find some java librari
                        |es because of "non-standard" path
               Component|porting
                 Version|OOO320m12
                Platform|All
                     URL|
              OS/Version|other
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|mh
             Reported by|rnagy





------- Additional comments from rn...@openoffice.org Fri Feb 12 17:57:47 +0000 
2010 -------
In testtools/source/bridgetest:

JavaVM: JNI_CreateJavaVM called _exit, caught by abort_handler in javavm.cxx
[Java framework] sunjavaplugin.soCan not create JavaVirtualMachine, abort
handler was called.

---

Turning on LD_DEBUG reveals that it can find some java libraries because they
are not in the shared library cache, and they are not in the configured search
directories:
/var/run/ld.so.hints:
        search directories: /usr/lib:/usr/X11R6/lib:/usr/local/lib

---

This can be fixed by adding the following paths to LD_LIBRARY_PATH in unx.mk.
I've attached a diff that has the modification.
Currently this is only a hack that makes it work, so I think we have to come up
with something else.

The error itself with LD_DEBUG enabled:
head /usr/local/jdk-1.5.0/jre/lib/amd64/libverify.so
obj /usr/local/jdk-1.5.0/jre/lib/amd64/libverify.so has
/usr/local/jdk-1.5.0/jre/lib/amd64/libverify.so as head
linking /usr/local/jdk-1.5.0/jre/lib/amd64/libverify.so as dlopen()ed
head [/usr/local/jdk-1.5.0/jre/lib/amd64/libverify.so]
examining: '/usr/local/jdk-1.5.0/jre/lib/amd64/libverify.so'
loading: libjvm.so required by /usr/local/jdk-1.5.0/jre/lib/amd64/libverify.so
dlopen: failed to open libjvm.so
unload_shlib called on /usr/local/jdk-1.5.0/jre/lib/amd64/libverify.so
unload_shlib unloading on /usr/local/jdk-1.5.0/jre/lib/amd64/libverify.so
dlopen: /usr/local/jdk-1.5.0/jre/lib/amd64/libverify.so: done (failed).
dlopen: loading: /usr/local/jdk-1.5.0/jre/lib/amd64/libjava.so
head /usr/local/jdk-1.5.0/jre/lib/amd64/libjava.so
obj /usr/local/jdk-1.5.0/jre/lib/amd64/libjava.so has
/usr/local/jdk-1.5.0/jre/lib/amd64/libjava.so as head
linking /usr/local/jdk-1.5.0/jre/lib/amd64/libjava.so as dlopen()ed
head [/usr/local/jdk-1.5.0/jre/lib/amd64/libjava.so]
examining: '/usr/local/jdk-1.5.0/jre/lib/amd64/libjava.so'
loading: libverify.so required by /usr/local/jdk-1.5.0/jre/lib/amd64/libjava.so
dlopen: failed to open libverify.so
unload_shlib called on /usr/local/jdk-1.5.0/jre/lib/amd64/libjava.so
unload_shlib unloading on /usr/local/jdk-1.5.0/jre/lib/amd64/libjava.so
dlopen: /usr/local/jdk-1.5.0/jre/lib/amd64/libjava.so: done (failed).
JavaVM: JNI_CreateJavaVM called _exit, caught by abort_handler in javavm.cxx
[Java framework] sunjavaplugin.soCan not create JavaVirtualMachine, abort
handler was called.
doing dtors obj 0x20f609360 @0x210a202c0:
              
[/home/pobj/openoffice-3.2.0/OOO320_m12/solver/320/unxobsd.pro/lib/sunjavaplugin.so]

LD_LIBRARY_PATH=/home/pobj/openoffice-3.2.0/OOO320_m12/solver/320/unxobsd.pro/lib:/usr/local/jdk-1.5.0/jre/lib/amd64/server:/usr/local/jdk-1.
5.0/jre/lib/amd64:.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@porting.openoffice.org
For additional commands, e-mail: issues-h...@porting.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to