On Tue, Jul 29, 2003 at 04:19:44PM +0800, Autrijus Tang wrote:
> On Wed, Jul 23, 2003 at 05:10:34PM +0300, Vladimir Yu. Tereshchenko wrote:
> > Hello, community!
> > I have one question:
> > How can I make statically linked executables using PAR?
> > (in Linux)
>
> You mean that your perl was dynamically linked (as libperl.so)
> and you wish the generated binary to be deployed on machines
> without libperl.so?
Yes - I mean that - and mean something else too .. ;)
WHen I compile .pl - I get such executable:
ldd smtplogparser
libnsl.so.1 => /lib/libnsl.so.1 (0x40025000)
libdl.so.2 => /lib/libdl.so.2 (0x4003b000)
libm.so.6 => /lib/libm.so.6 (0x4003e000)
libc.so.6 => /lib/libc.so.6 (0x40061000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x40194000)
libutil.so.1 => /lib/libutil.so.1 (0x401c1000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
And when I try to use this executable on other linux box,
whith older version of libraries (for example glibc) - I
get error. The main purpose of my question was -
How can people get comletely statically linked executables,
something like that:
ldd statd
not a dynamic executable
>
> Just upgrade to PAR 0.70, released as of one minute ago. :-)
Do You plan to releaze something like PAR-0.70.tar.gz
via CPAN?
--
Best regards,
Vladimir Yu. Tereshchenko [Registered Linux UIN #198978]
TNU, Centre of Computer Technology ICQ UIN: 73046562