nowy perl
Radoslaw Zielinski
radek at karnet.pl
Sun May 9 13:50:05 CEST 2004
Jakub Bogusz <qboosh at pld-linux.org> [08-05-2004 19:27]:
> On Sat, May 08, 2004 at 07:21:16PM +0200, Jakub Bogusz wrote:
> [...]
> A tak przy okazji, to łata perl_580-use-LD_PRELOAD-for-libperl.so.patch
> coś chyba nie działa, bo i tak jest używane LD_LIBRARY_PATH.
To jeszcze kloczek dodał; nie pamiętam, po co zmieniałem nazwę...
$ cvs log perl-use-LD_PRELOAD-for-libperl.so.patch
[...]
total revisions: 1; selected revisions: 1
description:
----------------------------
revision 1.1
date: 2001/01/08 18:57:59; author: kloczek; state: Exp;
- patches from MDK.
=============================================================================
Zostawiłem na zasadzie ,,nie wiem po co to, nakłada się, nie ruszam''.
Pewnie został napisany dlatego:
$ perldoc INSTALL
[...]
There is also an potential problem with the shared perl library if you
want to have more than one "flavor" of the same version of perl (e.g.
with and without -DDEBUGGING). For example, suppose you build and
install a standard Perl 5.8.0 with a shared library. Then, suppose
you try to build Perl 5.8.0 with -DDEBUGGING enabled, but everything
else the same, including all the installation directories. How can
you ensure that your newly built perl will link with your newly built
libperl.so.8 rather with the installed libperl.so.8? The answer
is that you might not be able to. The installation directory is
encoded in the perl binary with the LD_RUN_PATH environment variable
(or equivalent ld command-line option). On Solaris, you can override
that with LD_LIBRARY_PATH; on Linux, you can only override at runtime
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
via LD_PRELOAD, specifying the exact filename you wish to be used;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
and on Digital Unix, you can override LD_LIBRARY_PATH by setting the
_RLD_ROOT environment variable to point to the perl build directory.
Zgodnie z moimi testami, to nie jest prawdą; LD_LIBRARY_PATH jak
najbardziej działa. Do wywalenia, nie?
--
Radosław Zieliński <radek at karnet.pl>
[ GPG key: http://radek.karnet.pl/ ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: </mailman/pipermail/pld-devel-pl/attachments/20040509/222179da/attachment.sig>
More information about the pld-devel-pl
mailing list