in reply to Re: Relocatable Perl 5.10.0 on Solaris
in thread Relocatable Perl 5.10.0 on Solaris
Thanks for your quick response...
To clarify - they are BOTH built with -Duserelocatableinc, which (according to the perl 5.10.0 docs) should make them relocatable. @INC paths reported by the -V flag are as you say fixed and relative respectively, however they are resolved to this at run time. Within the binary they are stored as .../../lib etc... So what seems to be happening is that the Linux binary resolves ... to the binary path (in this case /home/user/bin) and the Solaris binary resolves ... to the current path (.).
The Linux binary definitely is relocatable. If I rename the install dir it still works (provided it's found in the PATH of course).
Regards,
CK.