On Monday, June 11, 2001, at 02:24 PM, Jarkko Hietaniemi wrote:

> Ho-hum.  On closer inspection the dynaloader error messages look much 
> like
> there's a big confusion going on: both the symbols of the newly built
> (mini)perl *AND* the operating system's already installed shared
> Perl library are visible.  This definitely smells like a dangerous
> recipe, we are mixing symbols from a 5.7.1+ executable and 5.6.0
> library together.  Now, why is the /System shared lib being pulled in?

   libperl.dylib has an install_name of 
/System/Library/Perl/CORE/darwin/libperl.dylib.  When a program links 
against it, that path is recorded in the binary.  dyld will look there 
first for the library when the program is loaded.

   You can override that with DYLD_LIBRARY_PATH.

        -Fred

Reply via email to