To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=65974
User jl changed the following:
What |Old value |New value
================================================================================
Assigned to|jl |pjanik
--------------------------------------------------------------------------------
------- Additional comments from [EMAIL PROTECTED] Wed Oct 18 01:41:02 -0700
2006 -------
Also assume that if the server vm is used then the client directory is the first
in the LD_LIBRARY_PATH. I bet any library in the client directory is not
intended for use with the server vm. A look into a 1.5.0_07 (linux 32bit) and
1.6.0 (linux 32bit) showed that there is only one other library which however is
a link into the parent directory.
Assuming that the LD_LIBRARY_PATH is right, that is the runtime directory,
native_threads directory, and the lib/ARCH directory are still needed, I still
recommend to make the LD_LIBRARY_PATH depend on the selected VM (similar to what
kr suggested).
That is, use the getRuntimePath as kr suggested.
Change the getLibraryPaths to something like this:
char const* const* SunInfo::getLibraryPaths(int* size)
{
#ifdef UNX
static char const * ar[] = {
#if SAL_TYPES_SIZEOFPOINTER == 8
# if SOLARIS
//probably the same as Linux, need to verify
"/lib/" JFW_PLUGIN_ARCH "/server",
"/lib/" JFW_PLUGIN_ARCH "/native_threads",
"/lib/" JFW_PLUGIN_ARCH
# elif LINUX
"/lib/" JFW_PLUGIN_ARCH "/server",
"/lib/" JFW_PLUGIN_ARCH "/native_threads",
"/lib/" JFW_PLUGIN_ARCH
#endif
#else
"/lib/" JFW_PLUGIN_ARCH "/client",
"/lib/" JFW_PLUGIN_ARCH "/native_threads",
"/lib/" JFW_PLUGIN_ARCH
#endif
};
*size = sizeof(ar) / sizeof (char*);
return ar;
#else
size = 0;
return NULL;
#endif
}
jl->pjannik: Would you like to take this over? If not set it back to me. Sooner
or later, I have to take care of it anyway, but not now :)
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]