http://www.perlmonks.org?node_id=985800


in reply to Re^2: dyld: lazy symbol binding failed (was MAC OS 10.6 upgrade breaks DBD:mysql)
in thread dyld: lazy symbol binding failed (was MAC OS 10.6 upgrade breaks DBD:mysql)

This old problem is new to me since I just installed os x 10.6 and upgraded to 10.6.8. My system c2d hence 64 bit, the perl is 5.10.0 from apple, 64bit too, and I installed mysql 5.1.63 for mac 10.6 64bit from a downloaded dmg. But these didn't save me from errors:
dyld: lazy symbol binding failed: Symbol not found: _mysql_init Referenced from: /Library/Perl/5.10.0/darwin-thread-multi-2level/aut +o/DBD/mysql/mysql.bundle Expected in: flat namespace dyld: Symbol not found: _mysql_init Referenced from: /Library/Perl/5.10.0/darwin-thread-multi-2level/aut +o/DBD/mysql/mysql.bundle Expected in: flat namespace ========================
So what's the easiest fix? Thanks a lot
  • Comment on Re^3: dyld: lazy symbol binding failed (was MAC OS 10.6 upgrade breaks DBD:mysql)
  • Download Code

Replies are listed 'Best First'.
Re^4: dyld: lazy symbol binding failed (was MAC OS 10.6 upgrade breaks DBD:mysql)
by graff (Chancellor) on Aug 10, 2012 at 16:11 UTC
    Did you do "step 9" (add export VERSIONER_PERL_PREFER_32_BIT=no to your .bashrc)?
Re^4: dyld: lazy symbol binding failed (was MAC OS 10.6 upgrade breaks DBD:mysql)
by Anonymous Monk on Apr 19, 2018 at 00:56 UTC
    Did you manage to solve this? I'm having the same issue. Thanks.
      6 years ago elim was here... Are you exporting versioner as explained?