A call to 'readelf -d' on the Perl interpreter shows me:

    0x00000001 (NEEDED)                     Shared library: [libm.so.6]
    0x00000001 (NEEDED)                     Shared library: [libcrypt.so.1]
    0x00000001 (NEEDED)                     Shared library: [libdl.so.2]
    0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]
    0x00000001 (NEEDED)                     Shared library: [libc.so.6]
    0x00000001 (NEEDED)                     Shared library: [ld-linux.so.3]

So add the missing glibc/gcc libs as dependency.

Signed-off-by: Bernhard Walle <[email protected]>
---
 rules/perl.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/rules/perl.in b/rules/perl.in
index fc462b4..6a226de 100644
--- a/rules/perl.in
+++ b/rules/perl.in
@@ -3,6 +3,10 @@
 config PERL
        tristate
        prompt "perl"
+       select LIBC_DL
+       select LIBC_M
+       select LIBC_CRYPT
+       select GCCLIBS_GCC_S
        help
          Larry Wall's Practical Extraction and Report Language
          An interpreted scripting language, known among some as
-- 
1.8.3.2


-- 
ptxdist mailing list
[email protected]

Reply via email to