in reply to DBD::mysql installation problem (Mac OS X 10.5.2)

Just a quick note that I've been posting about this at my blog as well. The problem is actually something a bit different.

Looking closer, I'm seeing that the .bs and .bundle files are apparently the ones that apply now. Interestingly using prove -b t/00base.t does in fact work. But make test has the same test fail...

Ignoring that issue, I move on to the next test:

prove -b t/10connect.t t/10connect......dyld: lazy symbol binding failed: Symbol not found: _ +mysql_server_init Referenced from: /Users/dhosek/.cpan/build/DBD-mysql-4.006-j5Hpiv/bl +ib/arch/auto/DBD/mysql/mysql.bundle Expected in: dynamic lookup dyld: Symbol not found: _mysql_server_init Referenced from: /Users/dhosek/.cpan/build/DBD-mysql-4.006-j5Hpiv/bl +ib/arch/auto/DBD/mysql/mysql.bundle Expected in: dynamic lookup t/10connect...... Failed 2/2 subtests Test Summary Report ------------------- t/10connect.t (Wstat: 5 Tests: 0 Failed: 0) Parse errors: Bad plan. You planned 2 tests but ran 0. Files=1, Tests=0, 0 wallclock secs ( 0.01 usr 0.00 sys + 0.04 cusr + 0.00 csys = 0.05 CPU) Result: FAIL
Donald Hosek, Tech Lead at oversee.net
L.A. perl people, we're hiring.

Replies are listed 'Best First'.
Re^2: DBD::mysql installation problem (Mac OS X 10.5.2)
by ysth (Canon) on Apr 08, 2008 at 06:19 UTC
      Sounds that way to me too. The problem is what exactly is going on... More data:
      mysql_config Usage: /usr/local/mysql/bin/mysql_config [OPTIONS] Options: --cflags [-I/usr/local/mysql/include -Os -arch x86_64 +-fno-common] --include [-I/usr/local/mysql/include] --libs [-L/usr/local/mysql/lib -lmysqlclient -lz -lm +] --libs_r [-L/usr/local/mysql/lib -lmysqlclient_r -lz - +lm] --socket [/tmp/mysql.sock] --port [3306] --version [5.0.51a] --libmysqld-libs [-L/usr/local/mysql/lib -lmysqld -lz -lm]
      I'm noticing that /usr/local/mysql/lib does not have libm.* in it although it does have libz.a and libmysqlclient.(a|dylib).

      Donald Hosek, Tech Lead at oversee.net
      L.A. perl people, we're hiring.