On Mon, Jun 11, 2001 at 06:43:43PM -0700, Wilfredo Sanchez wrote:
> 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
Isn't this correct only if you want to replace the system Perl?
Anyway, now we are in a "funny" situation where symbols of two Perls
are competing, surely this can't be good?
> 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
>
>
--
$jhi++; # http://www.iki.fi/jhi/
# There is this special biologist word we use for 'stable'.
# It is 'dead'. -- Jack Cohen