Ticket #919 (assigned bug)

Opened 5 years ago

Last modified 4 years ago

On Mac OS X 10.5.8, Configure.pl : lazy symbol binding failed

Reported by: jgabr Owned by: Util
Priority: normal Milestone:
Component: configure Version: 1.4.0
Severity: medium Keywords: configure dyld readline
Cc: Language:
Patch status: Platform: darwin

Description

Hi,

I'm running Mac OS X 10.5.8 with the dev tools installed.

I just downloaded parrot 1.4.0, unpacked it into my ~/opt/src directory, and ran perl Configure.pl --prefix=/Users/john/opt.

Although the configure seemed to succeed, it complained thusly:

auto::readline -      Does your platform support readline...dyld: lazy symbol binding failed: Symbol not found: _rl_get_keymap
  Referenced from: /Users/john/opt/src/parrot-1.4.0/./test_2640
  Expected in: dynamic lookup

dyld: Symbol not found: _rl_get_keymap
  Referenced from: /Users/john/opt/src/parrot-1.4.0/./test_2640
  Expected in: dynamic lookup

.............done.

At the end, it reported:

Okay, we're done!

You can now use `make' to build your Parrot.
After that, you can use `make test' to run the test suite.

Happy Hacking,
        The Parrot Team

Here is some other info that was in the output from running parrotbug:

---
osname= darwin
osvers= 9.0
arch=   darwin-thread-multi-2level
cc=     cc
---
Flags:
    category=install
    severity=medium
    ack=no
---
Summary of my parrot 1.4.0 (r0) configuration:
  configdate='Fri Aug 14 19:11:27 2009 GMT'
  Platform:
    osname=darwin, archname=darwin-2level
    jitcapable=0, jitarchname=nojit,
    jitosname=darwin, jitcpuarch=i386
    execcapable=0
    perl=perl
  Compiler:
    cc='/usr/bin/gcc-4.0', ccflags='-fno-common -I/opt/local/include -no-cpp-precomp  -pipe -I/opt/local/include -pipe -fno-common -Wno-long-double  -DHASATTRIBUTE_CONST  -DHASATTRIBUTE_DEPRECATED  -DHASATTRIBUTE_MALLOC  -DHASATTRIBUTE_
NONNULL  -DHASATTRIBUTE_NORETURN  -DHASATTRIBUTE_PURE  -DHASATTRIBUTE_UNUSED  -DHASATTRIBUTE_WARN_UNUSED_RESULT  -falign-functions=16 -fvisibility=hidden -funit-at-a-time -maccumulate-outgoing-args -W -Wall -Waggregate-return -Wcast-ali
gn -Wcast-qual -Wchar-subscripts -Wcomment -Wdisabled-optimization -Wendif-labels -Wextra -Wformat -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch -Wmissing-b
races -Wmissing-field-initializers -Wno-missing-format-attribute -Wmissing-include-dirs -Wpacked -Wparentheses -Wpointer-arith -Wreturn-type -Wsequence-point -Wno-shadow -Wsign-compare -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wsw
itch-default -Wtrigraphs -Wundef -Wunknown-pragmas -Wno-unused -Wvariadic-macros -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-declarations -Wmissing-pr
ototypes -Wnested-externs -Wnonnull',
  Linker and Libraries:
    ld='c++', ldflags='-L/opt/local/lib -L/Users/john/opt/src/parrot-1.4.0/blib/lib',
    cc_ldflags='',
    libs='-lm -lutil -lgmp -lreadline'
  Dynamic Linking:
    share_ext='.dylib', ld_share_flags='-dynamiclib -undefined dynamic_lookup',
    load_ext='.bundle', ld_load_flags='-undefined dynamic_lookup -bundle'
  Types:
    iv=long, intvalsize=4, intsize=4, opcode_t=long, opcode_t_size=4,
    ptrsize=4, ptr_alignment=1 byteorder=1234, 
    nv=double, numvalsize=8, doublesize=8, longdoublesize=16

---
Environment:
    DYLD_LIBRARY_PATH  (unset)
    HOME =/Users/john
    LANG =en_US.UTF-8
    LANGUAGE  (unset)
    LD_LIBRARY_PATH  (unset)
    LOGDIR  (unset)
    PATH =/opt/local/bin:/opt/local/sbin:/usr/local/mysql/bin:/Users/john/.cabal/bin:/Users/john/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
    SHELL =/bin/bash

Change History

in reply to: ↑ description   Changed 5 years ago by jkeenan

  • keywords readline added
  • platform changed from mac to darwin
  • component changed from install to configure

Replying to jgabr:

Hi, I'm running Mac OS X 10.5.8 with the dev tools installed.

Although the configure seemed to succeed, it complained thusly: {{{ auto::readline - Does your platform support readline...dyld: lazy symbol binding failed: Symbol not found: _rl_get_keymap Referenced from: /Users/john/opt/src/parrot-1.4.0/./test_2640 Expected in: dynamic lookup dyld: Symbol not found: _rl_get_keymap Referenced from: /Users/john/opt/src/parrot-1.4.0/./test_2640 Expected in: dynamic lookup .............done. }}} At the end, it reported: {{{ Okay, we're done!

Unfortunately, this is a recurring and unsolved problem on Mac OS X. It was reported, for instance, in  RT #52212 a year-and-a-half ago. If we had a clear understanding of what was involved, we would have solved it by now.

Setting aside this problem, were you able to make and make test successfully?

Thanks for your report.

kid51

  Changed 5 years ago by dukeleto

I have seen these errors occasionally on OS X 10.5.x, but they never prevented me from building.

  Changed 5 years ago by jgabr

Setting aside this problem, were you able to make and make test successfully?

Yes, I believe so. Though, there was a hiccup at the end of make test:

t/distro/file_metadata............Perl lib version (v5.8.9) doesn't match executable version (v5.8.8) at /opt/local/lib/perl5/5.8.9/darwin-2level/Config.pm line 46.
Compilation failed in require at /opt/local/lib/perl5/5.8.9/darwin-2level/lib.pm line 6.
BEGIN failed--compilation aborted at /opt/local/lib/perl5/5.8.9/darwin-2level/lib.pm line 6.
Compilation failed in require at /usr/bin/svk line 59.
BEGIN failed--compilation aborted at /usr/bin/svk line 59.
skipped
        all skipped: not a working copy

and

perl t/harness t/distro/*.t
t/distro/file_metadata....Perl lib version (v5.8.9) doesn't match executable version (v5.8.8) at /opt/local/lib/perl5/5.8.9/darwin-2level/Config.pm line 46.
Compilation failed in require at /opt/local/lib/perl5/5.8.9/darwin-2level/lib.pm line 6.
BEGIN failed--compilation aborted at /opt/local/lib/perl5/5.8.9/darwin-2level/lib.pm line 6.
Compilation failed in require at /usr/bin/svk line 59.
BEGIN failed--compilation aborted at /usr/bin/svk line 59.
skipped
        all skipped: not a working copy

I've got perl 5.8.9 installed:

$ port installed | grep perl
  perl5.8 @5.8.9_3 (active)

$ which perl
/opt/local/bin/perl

$ perl -v

This is perl, v5.8.9 built for darwin-2level
...

  Changed 5 years ago by jgabr

Hm.

$ /usr/bin/perl -v

This is perl, v5.8.8 built for darwin-thread-multi-2level
(with 4 registered patches, see perl -V for more detail)

follow-up: ↓ 7   Changed 5 years ago by Util

  • status changed from new to assigned
  • owner set to Util

I am working on the issue, and expect a candidate patch later today.

  Changed 4 years ago by JadeNB

This appears to still be a problem with Rakudo Star on Mac OS 10.5.8.

in reply to: ↑ 5 ; follow-up: ↓ 8   Changed 4 years ago by jkeenan

Replying to Util:

I am working on the issue, and expect a candidate patch later today.

Util, any progress?

kid51

in reply to: ↑ 7 ; follow-up: ↓ 9   Changed 4 years ago by jkeenan

Replying to jkeenan:

Replying to Util:

I am working on the issue, and expect a candidate patch later today.

Util, any progress?

Util, any progress?

kid51

in reply to: ↑ 8   Changed 4 years ago by jkeenan

Replying to jkeenan:

Replying to jkeenan:

Replying to Util:

I am working on the issue, and expect a candidate patch later today.

Util, any progress?

Util, any progress?

Repeat question.

Note: See TracTickets for help on using tickets.