On Thu, 2007-11-01 at 10:44 +0100, Stephan Bergmann wrote:
> CWS sb71 introduced osl_loadModuleRelative, used in many places, which 
> causes the additional problems with linkoo that you now stumble upon.

        Urgh.

>   I don't think you can easily make that work again with some env variable: 
>  osl_loadModuleRelative("foo") called from /resolved/path/to/bar.so 
> causes a dlopen("/resolved/path/to/foo.so").

        Sure - the env. var. can clobber / affect what loadModuleRelative does
(and un-relativeize it - or at least make it fall-back to what it used
to do on failure ? ;-)

>  (And I am sure there already are other problems with linkoo,
> anyway, like the RPATH=$ORIGIN thing.)

        Has been working for the last year or more rather well - albeit with
some black-lists for the previous offending libraries that insisted on
asking the OS where they were installed & looking only there for other
libs ;-) previously that was:

my @exceptions = ( 'cppuhelper', 'configmgr2',
                   'sunjavaplugin', 'libjvmfwk' );

        HTH,

                Michael.

-- 
 [EMAIL PROTECTED]  <><, Pseudo Engineer, itinerant idiot


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to