Hi
Tom Lane napisał(a):
>Marcin Giedz <marcin.giedz@eulerhermes.pl> writes:
>
>
>>I don't see any libperl.so :( But doesn't plperl use shared libperl library?
>>
>>
>
>Yeah, it's supposed to. On an FC4 machine I get
>
>$ ldd libplperl.so
> linux-gate.so.1 => (0x00682000)
> libperl.so => /usr/lib/perl5/5.8.6/i386-linux-thread-multi/CORE/libperl.so (0x00a3f000)
> libresolv.so.2 => /lib/libresolv.so.2 (0x00520000)
> libnsl.so.1 => /lib/libnsl.so.1 (0x006b5000)
> libdl.so.2 => /lib/libdl.so.2 (0x00c22000)
> libm.so.6 => /lib/libm.so.6 (0x00e9e000)
> libcrypt.so.1 => /lib/libcrypt.so.1 (0x0049c000)
> libutil.so.1 => /lib/libutil.so.1 (0x00125000)
> libpthread.so.0 => /lib/libpthread.so.0 (0x00129000)
> libc.so.6 => /lib/libc.so.6 (0x001d0000)
> /lib/ld-linux.so.2 (0x00109000)
>
>How big a plperl.so do you have? Mine's about 160K (in a debug-enabled
>build), whereas libperl.so is about 1.3M on this machine. If your
>plperl.so is over a megabyte then libperl might be statically linked
>into it.
>
>
For PostgreSQL compiled from sources, it's statically linked:
postgres@ns02:/usr/local/pgsql/lib$ ldd plpgsql.so
libc.so.6 => /lib/tls/libc.so.6 (0xb7ea5000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
Sergiusz