To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=88845


User lla changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |STARTED
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Wed Apr 30 13:54:16 +0000 
2008 -------
Hmmm...
testshl2 use module.c (load() function to load dynamic libraries.)

Please have a look into this URL.
http://developer.apple.com/documentation/DeveloperTools/Reference/MachOReference/Reference/reference.html#//apple_ref/c/func/dlopen

As you can read, the given library name to testshl2 is a 'pathname' due to the
fact it contains '/' so first is looked into DYLD_LIBRARY_PATH and if the
library is found by this path it will be taken. You have to change the
DYLD_LIBRARY_PATH first. BTW: I couldn't change this variable this way for me in
my env (with set DYLD_LIBRARY_PATH=...) maybe this is one of the 'security'
features of macos.

Therefore I will check if a 'simple fix' like the follows will help here.
1. Get the absolute path of the library
2. change to the absolute path by chdir()
3. remove any '/' from the library name
4. dlopen the library by sal::Module::load()
5. chdir back to the old path
6. run the rest.


---------------------------------------------------------------------
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]

Reply via email to