[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl6-internals
Subject:    [perl #50056] [BUG] "Undefined symbols" on OS X
From:       "James Keenan via RT" <parrotbug-followup () parrotcode ! org>
Date:       2008-01-31 3:36:48
Message-ID: rt-3.6.HEAD-4355-1201750601-1435.50056-15-0 () perl ! org
[Download RAW message or body]

On Wed Jan 30 18:36:27 2008, allison@perl.org wrote:

> 
> Try manually adding -lreadline to the test compile in auto::readline and 
> see what happens.
> 

This is what I did:

Index: config/auto/readline.pm
===================================================================
--- config/auto/readline.pm     (revision 25380)
+++ config/auto/readline.pm     (working copy)
@@ -57,6 +57,9 @@
     # this code into a Parrot::Configure::Step::Methods method analogous to
     # _handle_darwin_for_fink().
     $self->_handle_darwin_for_macports($conf, $osname,
q{readline/readline.h});
+    if ( $osname =~ /darwin/i ) {
+        $conf->data->add( ' ', libs => '-lreadline' );
+    }
 
     $conf->cc_gen('config/auto/readline/readline.in');
     my $has_readline = 0;


... and this is what I got:

Determining if your platform supports readline...dyld: lazy symbol
binding failed: Symbol not found: _rl_get_keymap
  Referenced from: /Users/jimk/work/parrot/./test
  Expected in: dynamic lookup

dyld: Symbol not found: _rl_get_keymap
  Referenced from: /Users/jimk/work/parrot/./test
  Expected in: dynamic lookup

.......................no.

kid51

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic