Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Perl / June 2007



Tip: Looking for answers? Try searching our database.

Can't Install DBD::mysql

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Enrique Terrazas - 17 Jun 2007 20:01 GMT
I installed the intel version of mysql (mysql-5.0.41-osx10.4-
i686.dmg) which went fine.  I then tried to install DBD::mysql with  
the following parameters:

perl Makefile.PL --testdb=test --testuser=testuser --
testpassword=password --libs -L/usr/local/mysql/lib --cflags -I/usr/
local/mysql/include

and got the following errors ... help!

Enrique Terrazas

------------------------------

make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"  
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base.............ok 1/5install_driver(mysql) failed: Can't load '/
Users/eterr/Desktop/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/
mysql.bundle' for module DBD::mysql: dlopen(/Users/eterr/Desktop/DBD-
mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle, 2): Symbol not  
found: _mysql_stmt_store_result
  Referenced from: /Users/eterr/Desktop/DBD-mysql-4.005/blib/arch/
auto/DBD/mysql/mysql.bundle
  Expected in: dynamic lookup
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/00base.t line 38
t/00base.............dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 4-5
        Failed 2/5 tests, 60.00% okay
t/10connect..........install_driver(mysql) failed: Can't load '/Users/
eterr/Desktop/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle'  
for module DBD::mysql: dlopen(/Users/eterr/Desktop/DBD-mysql-4.005/
blib/arch/auto/DBD/mysql/mysql.bundle, 2): Symbol not found:  
_mysql_stmt_store_result
  Referenced from: /Users/eterr/Desktop/DBD-mysql-4.005/blib/arch/
auto/DBD/mysql/mysql.bundle
  Expected in: dynamic lookup
at (eval 5) line 3
Compilation failed in require at (eval 5) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/10connect.t line 25
# Looks like your test died before it could output anything.
t/10connect..........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
        Failed 2/2 tests, 0.00% okay
t/20createdrop.......install_driver(mysql) failed: Can't load '/Users/
eterr/Desktop/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle'  
for module DBD::mysql: dlopen(/Users/eterr/Desktop/DBD-mysql-4.005/
blib/arch/auto/DBD/mysql/mysql.bundle, 2): Symbol not found:  
_mysql_stmt_store_result
  Referenced from: /Users/eterr/Desktop/DBD-mysql-4.005/blib/arch/
auto/DBD/mysql/mysql.bundle
  Expected in: dynamic lookup
at (eval 5) line 3
Compilation failed in require at (eval 5) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/20createdrop.t line 21
# Looks like your test died before it could output anything.
t/20createdrop.......dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-4
        Failed 4/4 tests, 0.00% okay
t/30insertfetch......install_driver(mysql) failed: Can't load '/Users/
eterr/Desktop/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle'  
for module DBD::mysql: dlopen(/Users/eterr/Desktop/DBD-mysql-4.005/
blib/arch/auto/DBD/mysql/mysql.bundle, 2): Symbol not found:  
_mysql_stmt_store_result
  Referenced from: /Users/eterr/Desktop/DBD-mysql-4.005/blib/arch/
auto/DBD/mysql/mysql.bundle
  Expected in: dynamic lookup
at (eval 5) line 3
Compilation failed in require at (eval 5) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/30insertfetch.t line 21
# Looks like your test died before it could output anything.
t/30insertfetch......dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-9
        Failed 9/9 tests, 0.00% okay
t/35limit............install_driver(mysql) failed: Can't load '/Users/
eterr/Desktop/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle'  
for module DBD::mysql: dlopen(/Users/eterr/Desktop/DBD-mysql-4.005/
blib/arch/auto/DBD/mysql/mysql.bundle, 2): Symbol not found:  
_mysql_stmt_store_result
  Referenced from: /Users/eterr/Desktop/DBD-mysql-4.005/blib/arch/
auto/DBD/mysql/mysql.bundle
  Expected in: dynamic lookup
at (eval 5) line 3
Compilation failed in require at (eval 5) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/35limit.t line 24
# Looks like your test died before it could output anything.
t/35limit............dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-111
        Failed 111/111 tests, 0.00% okay
t/35prepare..........install_driver(mysql) failed: Can't load '/Users/
eterr/Desktop/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle'  
for module DBD::mysql: dlopen(/Users/eterr/Desktop/DBD-mysql-4.005/
blib/arch/auto/DBD/mysql/mysql.bundle, 2): Symbol not found:  
_mysql_stmt_store_result
  Referenced from: /Users/eterr/Desktop/DBD-mysql-4.005/blib/arch/
auto/DBD/mysql/mysql.bundle
  Expected in: dynamic lookup
at (eval 5) line 3
Compilation failed in require at (eval 5) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/35prepare.t line 25
# Looks like your test died before it could output anything.
t/35prepare..........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-49
        Failed 49/49 tests, 0.00% okay
t/40bindparam........install_driver(mysql) failed: Can't load '/Users/
eterr/Desktop/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle'  
for module DBD::mysql: dlopen(/Users/eterr/Desktop/DBD-mysql-4.005/
blib/arch/auto/DBD/mysql/mysql.bundle, 2): Symbol not found:  
_mysql_stmt_store_result
  Referenced from: /Users/eterr/Desktop/DBD-mysql-4.005/blib/arch/
auto/DBD/mysql/mysql.bundle
  Expected in: dynamic lookup
at (eval 5) line 3
Compilation failed in require at (eval 5) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/40bindparam.t line 57
t/40bindparam........dubious
        Test returned status 255 (wstat 65280, 0xff00)
t/40bindparam2.......install_driver(mysql) failed: Can't load '/Users/
eterr/Desktop/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle'  
for module DBD::mysql: dlopen(/Users/eterr/Desktop/DBD-mysql-4.005/
blib/arch/auto/DBD/mysql/mysql.bundle, 2): Symbol not found:  
_mysql_stmt_store_result
  Referenced from: /Users/eterr/Desktop/DBD-mysql-4.005/blib/arch/
auto/DBD/mysql/mysql.bundle
  Expected in: dynamic lookup
at (eval 5) line 3
Compilation failed in require at (eval 5) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/40bindparam2.t line 64
t/40bindparam2.......dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-13
        Failed 13/13 tests, 0.00% okay
t/40blobs............install_driver(mysql) failed: Can't load '/Users/
eterr/Desktop/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle'  
for module DBD::mysql: dlopen(/Users/eterr/Desktop/DBD-mysql-4.005/
blib/arch/auto/DBD/mysql/mysql.bundle, 2): Symbol not found:  
_mysql_stmt_store_result
  Referenced from: /Users/eterr/Desktop/DBD-mysql-4.005/blib/arch/
auto/DBD/mysql/mysql.bundle
  Expected in: dynamic lookup
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/40blobs.t line 64
t/40blobs............dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-11
        Failed 11/11 tests, 0.00% okay
t/40catalog..........install_driver(mysql) failed: Can't load '/Users/
eterr/Desktop/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle'  
for module DBD::mysql: dlopen(/Users/eterr/Desktop/DBD-mysql-4.005/
blib/arch/auto/DBD/mysql/mysql.bundle, 2): Symbol not found:  
_mysql_stmt_store_result
  Referenced from: /Users/eterr/Desktop/DBD-mysql-4.005/blib/arch/
auto/DBD/mysql/mysql.bundle
  Expected in: dynamic lookup
at (eval 5) line 3
Compilation failed in require at (eval 5) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/40catalog.t line 23
# Looks like your test died before it could output anything.
t/40catalog..........dubious
        Test returned status 255 (wstat 65280, 0xff00)
t/40listfields.......install_driver(mysql) failed: Can't load '/Users/
eterr/Desktop/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle'  
for module DBD::mysql: dlopen(/Users/eterr/Desktop/DBD-mysql-4.005/
blib/arch/auto/DBD/mysql/mysql.bundle, 2): Symbol not found:  
_mysql_stmt_store_result
  Referenced from: /Users/eterr/Desktop/DBD-mysql-4.005/blib/arch/
auto/DBD/mysql/mysql.bundle
  Expected in: dynamic lookup
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/40listfields.t line 57
t/40listfields.......dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-19
        Failed 19/19 tests, 0.00% okay
t/40nulls............install_driver(mysql) failed: Can't load '/Users/
eterr/Desktop/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle'  
for module DBD::mysql: dlopen(/Users/eterr/Desktop/DBD-mysql-4.005/
blib/arch/auto/DBD/mysql/mysql.bundle, 2): Symbol not found:  
_mysql_stmt_store_result
  Referenced from: /Users/eterr/Desktop/DBD-mysql-4.005/blib/arch/
auto/DBD/mysql/mysql.bundle
  Expected in: dynamic lookup
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/40nulls.t line 50
t/40nulls............dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-11
        Failed 11/11 tests, 0.00% okay
t/40numrows..........install_driver(mysql) failed: Can't load '/Users/
eterr/Desktop/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle'  
for module DBD::mysql: dlopen(/Users/eterr/Desktop/DBD-mysql-4.005/
blib/arch/auto/DBD/mysql/mysql.bundle, 2): Symbol not found:  
_mysql_stmt_store_result
  Referenced from: /Users/eterr/Desktop/DBD-mysql-4.005/blib/arch/
auto/DBD/mysql/mysql.bundle
  Expected in: dynamic lookup
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/40numrows.t line 59
t/40numrows..........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-25
        Failed 25/25 tests, 0.00% okay
t/41bindparam........install_driver(mysql) failed: Can't load '/Users/
eterr/Desktop/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle'  
for module DBD::mysql: dlopen(/Users/eterr/Desktop/DBD-mysql-4.005/
blib/arch/auto/DBD/mysql/mysql.bundle, 2): Symbol not found:  
_mysql_stmt_store_result
  Referenced from: /Users/eterr/Desktop/DBD-mysql-4.005/blib/arch/
auto/DBD/mysql/mysql.bundle
  Expected in: dynamic lookup
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/41bindparam.t line 37
t/41bindparam........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-11
        Failed 11/11 tests, 0.00% okay
t/41blobs_prepare....install_driver(mysql) failed: Can't load '/Users/
eterr/Desktop/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle'  
for module DBD::mysql: dlopen(/Users/eterr/Desktop/DBD-mysql-4.005/
blib/arch/auto/DBD/mysql/mysql.bundle, 2): Symbol not found:  
_mysql_stmt_store_result
  Referenced from: /Users/eterr/Desktop/DBD-mysql-4.005/blib/arch/
auto/DBD/mysql/mysql.bundle
  Expected in: dynamic lookup
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/41blobs_prepare.t line 71
t/41blobs_prepare....dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-24
        Failed 24/24 tests, 0.00% okay
t/42bindparam........install_driver(mysql) failed: Can't load '/Users/
eterr/Desktop/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle'  
for module DBD::mysql: dlopen(/Users/eterr/Desktop/DBD-mysql-4.005/
blib/arch/auto/DBD/mysql/mysql.bundle, 2): Symbol not found:  
_mysql_stmt_store_result
  Referenced from: /Users/eterr/Desktop/DBD-mysql-4.005/blib/arch/
auto/DBD/mysql/mysql.bundle
  Expected in: dynamic lookup
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/42bindparam.t line 37
t/42bindparam........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-11
        Failed 11/11 tests, 0.00% okay
t/50chopblanks.......install_driver(mysql) failed: Can't load '/Users/
eterr/Desktop/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle'  
for module DBD::mysql: dlopen(/Users/eterr/Desktop/DBD-mysql-4.005/
blib/arch/auto/DBD/mysql/mysql.bundle, 2): Symbol not found:  
_mysql_stmt_store_result
  Referenced from: /Users/eterr/Desktop/DBD-mysql-4.005/blib/arch/
auto/DBD/mysql/mysql.bundle
  Expected in: dynamic lookup
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/50chopblanks.t line 57
t/50chopblanks.......dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-35
        Failed 35/35 tests, 0.00% okay
t/50commit...........install_driver(mysql) failed: Can't load '/Users/
eterr/Desktop/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle'  
for module DBD::mysql: dlopen(/Users/eterr/Desktop/DBD-mysql-4.005/
blib/arch/auto/DBD/mysql/mysql.bundle, 2): Symbol not found:  
_mysql_stmt_store_result
  Referenced from: /Users/eterr/Desktop/DBD-mysql-4.005/blib/arch/
auto/DBD/mysql/mysql.bundle
  Expected in: dynamic lookup
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/50commit.t line 64
t/50commit...........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-30
        Failed 30/30 tests, 0.00% okay
t/60leaks............skipped
        all skipped: $ENV{SLOW_TESTS} is not set
t/70takeimp..........skipped
        all skipped: test feature not implemented
t/75supported_sql....install_driver(mysql) failed: Can't load '/Users/
eterr/Desktop/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle'  
for module DBD::mysql: dlopen(/Users/eterr/Desktop/DBD-mysql-4.005/
blib/arch/auto/DBD/mysql/mysql.bundle, 2): Symbol not found:  
_mysql_stmt_store_result
  Referenced from: /Users/eterr/Desktop/DBD-mysql-4.005/blib/arch/
auto/DBD/mysql/mysql.bundle
  Expected in: dynamic lookup
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/75supported_sql.t line 35
t/75supported_sql....dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-16
        Failed 16/16 tests, 0.00% okay
t/80procs............install_driver(mysql) failed: Can't load '/Users/
eterr/Desktop/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle'  
for module DBD::mysql: dlopen(/Users/eterr/Desktop/DBD-mysql-4.005/
blib/arch/auto/DBD/mysql/mysql.bundle, 2): Symbol not found:  
_mysql_stmt_store_result
  Referenced from: /Users/eterr/Desktop/DBD-mysql-4.005/blib/arch/
auto/DBD/mysql/mysql.bundle
  Expected in: dynamic lookup
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/80procs.t line 32
t/80procs............dubious
        Test returned status 255 (wstat 65280, 0xff00)
t/insertid...........install_driver(mysql) failed: Can't load '/Users/
eterr/Desktop/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle'  
for module DBD::mysql: dlopen(/Users/eterr/Desktop/DBD-mysql-4.005/
blib/arch/auto/DBD/mysql/mysql.bundle, 2): Symbol not found:  
_mysql_stmt_store_result
  Referenced from: /Users/eterr/Desktop/DBD-mysql-4.005/blib/arch/
auto/DBD/mysql/mysql.bundle
  Expected in: dynamic lookup
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/insertid.t line 14
t/insertid...........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-16
        Failed 16/16 tests, 0.00% okay
t/multi_statement....install_driver(mysql) failed: Can't load '/Users/
eterr/Desktop/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle'  
for module DBD::mysql: dlopen(/Users/eterr/Desktop/DBD-mysql-4.005/
blib/arch/auto/DBD/mysql/mysql.bundle, 2): Symbol not found:  
_mysql_stmt_store_result
  Referenced from: /Users/eterr/Desktop/DBD-mysql-4.005/blib/arch/
auto/DBD/mysql/mysql.bundle
  Expected in: dynamic lookup
at (eval 5) line 3
Compilation failed in require at (eval 5) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/multi_statement.t line 21
# Looks like your test died before it could output anything.
t/multi_statement....dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-7
        Failed 7/7 tests, 0.00% okay
t/param_values.......install_driver(mysql) failed: Can't load '/Users/
eterr/Desktop/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle'  
for module DBD::mysql: dlopen(/Users/eterr/Desktop/DBD-mysql-4.005/
blib/arch/auto/DBD/mysql/mysql.bundle, 2): Symbol not found:  
_mysql_stmt_store_result
  Referenced from: /Users/eterr/Desktop/DBD-mysql-4.005/blib/arch/
auto/DBD/mysql/mysql.bundle
  Expected in: dynamic lookup
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/param_values.t line 16
t/param_values.......dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-8
        Failed 8/8 tests, 0.00% okay
t/prepare_noerror....install_driver(mysql) failed: Can't load '/Users/
eterr/Desktop/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle'  
for module DBD::mysql: dlopen(/Users/eterr/Desktop/DBD-mysql-4.005/
blib/arch/auto/DBD/mysql/mysql.bundle, 2): Symbol not found:  
_mysql_stmt_store_result
  Referenced from: /Users/eterr/Desktop/DBD-mysql-4.005/blib/arch/
auto/DBD/mysql/mysql.bundle
  Expected in: dynamic lookup
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/prepare_noerror.t line 22
t/prepare_noerror....dubious
        Test returned status 255 (wstat 65280, 0xff00)
t/texecute...........install_driver(mysql) failed: Can't load '/Users/
eterr/Desktop/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle'  
for module DBD::mysql: dlopen(/Users/eterr/Desktop/DBD-mysql-4.005/
blib/arch/auto/DBD/mysql/mysql.bundle, 2): Symbol not found:  
_mysql_stmt_store_result
  Referenced from: /Users/eterr/Desktop/DBD-mysql-4.005/blib/arch/
auto/DBD/mysql/mysql.bundle
  Expected in: dynamic lookup
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/texecute.t line 17
t/texecute...........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-9
        Failed 9/9 tests, 0.00% okay
t/utf8...............install_driver(mysql) failed: Can't load '/Users/
eterr/Desktop/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle'  
for module DBD::mysql: dlopen(/Users/eterr/Desktop/DBD-mysql-4.005/
blib/arch/auto/DBD/mysql/mysql.bundle, 2): Symbol not found:  
_mysql_stmt_store_result
  Referenced from: /Users/eterr/Desktop/DBD-mysql-4.005/blib/arch/
auto/DBD/mysql/mysql.bundle
  Expected in: dynamic lookup
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/utf8.t line 49
t/utf8...............dubious
        Test returned status 255 (wstat 65280, 0xff00)
Failed Test         Stat Wstat Total Fail  List of Failed
------------------------------------------------------------------------
-------
t/00base.t           255 65280     5    4  4-5
t/10connect.t        255 65280     2    4  1-2
t/20createdrop.t     255 65280     4    8  1-4
t/30insertfetch.t    255 65280     9   18  1-9
t/35limit.t          255 65280   111  222  1-111
t/35prepare.t        255 65280    49   98  1-49
t/40bindparam.t      255 65280    ??   ??  ??
t/40bindparam2.t     255 65280    13   26  1-13
t/40blobs.t          255 65280    11   22  1-11
t/40catalog.t        255 65280    ??   ??  ??
t/40listfields.t     255 65280    19   38  1-19
t/40nulls.t          255 65280    11   22  1-11
t/40numrows.t        255 65280    25   50  1-25
t/41bindparam.t      255 65280    11   22  1-11
t/41blobs_prepare.t  255 65280    24   48  1-24
t/42bindparam.t      255 65280    11   22  1-11
t/50chopblanks.t     255 65280    35   70  1-35
t/50commit.t         255 65280    30   60  1-30
t/75supported_sql.t  255 65280    16   32  1-16
t/80procs.t          255 65280    ??   ??  ??
t/insertid.t         255 65280    16   32  1-16
t/multi_statement.t  255 65280     7   14  1-7
t/param_values.t     255 65280     8   16  1-8
t/prepare_noerror.t  255 65280    ??   ??  ??
t/texecute.t         255 65280     9   18  1-9
t/utf8.t             255 65280    ??   ??  ??
2 tests skipped.
Failed 26/28 test scripts. 423/426 subtests failed.
Files=28, Tests=426,  2 wallclock secs ( 1.38 cusr +  0.42 csys =  
1.80 CPU)
Failed 26/28 test programs. 423/426 subtests failed.
make: *** [test_dynamic] Error 255

Signature

Enrique Terrazas, MD, MS
Director, Laboratory Medicine Residency Program
Chief, Laboratory Information Systems
HS Associate Clinical Professor
University of California, San Francisco
Clinical Laboratories, Box 0100
415.353.1375(UCSF/China Basin phone)
415.353.1620(UCSF/Parnassus phone)
415.353.4826(fax)
415.443.0913(pager)
Enrique.Terrazas@ucsf.edu

CONFIDENTIALITY NOTICE: The information contained in this  
transmission, including any enclosed files, is confidential and  
intended solely for the addressee. If you are not the intended  
recipient, you are hereby notified that any distribution, copying,  
disclosure and use of, the contents of this transmission is strictly  
prohibited. If you have received this communication in error, please  
notify the sender immediately by reply email and permanently delete  
this message, enclosures and all copies.

Lola J. Lee Beno - 17 Jun 2007 22:37 GMT
> I installed the intel version of mysql (mysql-5.0.41-osx10.4-i686.dmg)
> which went fine.  I then tried to install DBD::mysql with the
[quoted text clipped - 5 lines]
>
> and got the following errors ... help!

Yep . . . had the same problem.   Fortunately, someone sent me this info:

<http://jayallen.org/journey/2006/04/dbd-mysql-build-problems-on-mac-book-pro>

Hope this helps.  I haven't yet gotten this to work because of this -
how do you terminate a multi-line Perl comment like this:

sudo perl Makefile.PL \
--cflags="-I/usr/local/mysql/include -Os -arch i386 -fno-common" \
--libs="-L/usr/local/mysql/lib -lmysqlclient -lz -lm"

properly in Terminal?

Signature

Lola J. Lee Beno - ColdFusion Programmer/Web Designer for Hire
http://www.lolajl.net/resume | Blog at http://www.lolajl.net/blog/
"In rivers, the water that you touch is the last of what has passed
and the first of that which comes; so with present time."
- Leonardo da Vinci (1452-1519)

Enrique Terrazas - 18 Jun 2007 02:29 GMT
Thanks all!  The link below set me on the right track to get  
DBD::mysql installed.

> <http://jayallen.org/journey/2006/04/dbd-mysql-build-problems-on-
> mac-book-pro>

Signature

Enrique Terrazas, MD, MS
Director, Laboratory Medicine Residency Program
Chief, Laboratory Information Systems
HS Associate Clinical Professor
University of California, San Francisco
Clinical Laboratories, Box 0100
415.353.1375(UCSF/China Basin phone)
415.353.1620(UCSF/Parnassus phone)
415.353.4826(fax)
415.443.0913(pager)
Enrique.Terrazas@ucsf.edu

CONFIDENTIALITY NOTICE: The information contained in this  
transmission, including any enclosed files, is confidential and  
intended solely for the addressee. If you are not the intended  
recipient, you are hereby notified that any distribution, copying,  
disclosure and use of, the contents of this transmission is strictly  
prohibited. If you have received this communication in error, please  
notify the sender immediately by reply email and permanently delete  
this message, enclosures and all copies.

Joel Rees - 18 Jun 2007 13:24 GMT
>> I installed the intel version of mysql (mysql-5.0.41-osx10.4-
>> i686.dmg) which went fine.  I then tried to install DBD::mysql  
[quoted text clipped - 14 lines]
> Hope this helps.  I haven't yet gotten this to work because of this  
> - how do you terminate a multi-line Perl comment like this

Multi-line ommand?

> sudo perl Makefile.PL \
> --cflags="-I/usr/local/mysql/include -Os -arch i386 -fno-common" \
> --libs="-L/usr/local/mysql/lib -lmysqlclient -lz -lm"
>
> properly in Terminal?

I'm thinking that the lack of backslash terminates the command line.  
What's it doing (or not)?
Lola J. Lee Beno - 18 Jun 2007 21:22 GMT
> Multi-line ommand?
>
[quoted text clipped - 6 lines]
> I'm thinking that the lack of backslash terminates the command line.
> What's it doing (or not)?

I was getting ">" everytime I hit return.  Once I retyped that line
without the backslashes, it worked correctly.  Finally got the module to
install (I think) . . .

Signature

Lola J. Lee Beno - ColdFusion Programmer/Web Designer for Hire
http://www.lolajl.net/resume | Blog at http://www.lolajl.net/blog/
"In rivers, the water that you touch is the last of what has passed
and the first of that which comes; so with present time."
- Leonardo da Vinci (1452-1519)

Sherm Pendley - 18 Jun 2007 21:50 GMT
>> Multi-line ommand?
>>
[quoted text clipped - 9 lines]
> I was getting ">" everytime I hit return.  Once I retyped that line  
> without the backslashes, it worked correctly.

Unlike Perl, the command-line shell doesn't accept multi-line  
commands automagically. To use them you need to add a \ at the end of  
each line as a "continuation" character. Instead of taking what  
you've typed and running it, the shell changes the prompt to '>' and  
accepts more input. When a line is entered without a trailing \, then  
the whole series of lines is joined together and executed as one  
command.

So you can run the above command without the trailing backslashes in  
the first two lines above. That's what you'd do if you'd prefer to  
type it all on one line instead of three separate lines.

sherm--

Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
Lola J. Lee Beno - 18 Jun 2007 22:22 GMT
> So you can run the above command without the trailing backslashes in
> the first two lines above. That's what you'd do if you'd prefer to
> type it all on one line instead of three separate lines.

Ahh . . makes sense - thanks!  So, I ended up by downloading the module
directly from search.cpan.org (I didn't quite trust the download via
cpan, specially with the weird characters appended at the end) and ran
Makefile.PL and make manually.  Here's the results I got:

[05:10 PM] ~/.cpan/build/DBD-mysql-4.005 19 $ sudo perl Makefile.PL
--cflags="-I/usr/local/mysql/include -Os -arch ppc -fno-common"
--libs="-L/usr/local/mysql/lib -lmysqlclient -lz -lm"
Password:
I will use the following settings for compiling and testing:

 cflags        (User's choice) = -I/usr/local/mysql/include -Os -arch
ppc -fno-common
 embedded      (mysql_config ) =
 libs          (User's choice) = -L/usr/local/mysql/lib -lmysqlclient
-lz -lm
 mysql_config  (guessed      ) = mysql_config
 nocatchstderr (default      ) = 0
 nofoundrows   (default      ) = 0
 ssl           (guessed      ) = 0
 testdb        (default      ) = test
 testhost      (default      ) =
 testpassword  (default      ) =
 testsocket    (default      ) =
 testuser      (default      ) =

To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.

Checking if your kit is complete...
Looks good
Using DBI 1.56 (for perl 5.008006 on darwin-thread-multi-2level)
installed in /Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI/
Writing Makefile for DBD::mysql
[05:11 PM] ~/.cpan/build/DBD-mysql-4.005 20 $ sudo make
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
cc -c  -I/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI
-I/usr/local/mysql/include -Os -arch ppc -fno-common
-DDBD_MYSQL_INSERT_ID_IS_GOOD -g  -g -pipe -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -Os  
-DVERSION=\"4.005\" -DXS_VERSION=\"4.005\"  
"-I/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE"   dbdimp.c
/usr/bin/perl -p -e "s/~DRIVER~/mysql/g"
/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI/Driver.xst >
mysql.xsi
/usr/bin/perl /System/Library/Perl/5.8.6/ExtUtils/xsubpp  -typemap
/System/Library/Perl/5.8.6/ExtUtils/typemap  mysql.xs > mysql.xsc && mv
mysql.xsc mysql.c
Warning: duplicate function definition 'do' detected in mysql.xs, line 225
Warning: duplicate function definition 'rows' detected in mysql.xs, line 612
cc -c  -I/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI
-I/usr/local/mysql/include -Os -arch ppc -fno-common
-DDBD_MYSQL_INSERT_ID_IS_GOOD -g  -g -pipe -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -Os  
-DVERSION=\"4.005\" -DXS_VERSION=\"4.005\"  
"-I/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE"   mysql.c
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.bundle
LD_RUN_PATH="/usr/local/mysql/lib" /usr/bin/perl myld env
MACOSX_DEPLOYMENT_TARGET=10.3 cc  -bundle -undefined dynamic_lookup
-L/usr/local/lib dbdimp.o mysql.o  -o
blib/arch/auto/DBD/mysql/mysql.bundle   -L/usr/local/mysql/lib
-lmysqlclient -lz -lm  
chmod 755 blib/arch/auto/DBD/mysql/mysql.bundle
cp mysql.bs blib/arch/auto/DBD/mysql/mysql.bs
chmod 644 blib/arch/auto/DBD/mysql/mysql.bs
Manifying blib/man3/DBD::mysql.3pm
Manifying blib/man3/DBD::mysql::INSTALL.3pm
Manifying blib/man3/Bundle::DBD::mysql.3pm

Does this seem right to you?  It didn't seem to have gone through the
testing portion.

Signature

Lola J. Lee Beno - ColdFusion Programmer/Web Designer for Hire
http://www.lolajl.net/resume | Blog at http://www.lolajl.net/blog/
"In rivers, the water that you touch is the last of what has passed
and the first of that which comes; so with present time."
- Leonardo da Vinci (1452-1519)

Sherm Pendley - 18 Jun 2007 23:22 GMT
>> So you can run the above command without the trailing backslashes  
>> in the first two lines above. That's what you'd do if you'd prefer  
[quoted text clipped - 76 lines]
>
> Does this seem right to you?

It looks fine so far, but you've only done the first step. Does the  
user account you're using to run the tests have access to the "test"  
database? If not, you'll need to specify the database user name and  
password to use by passing the --testuser=foo and --testpassword=bar  
options to Makefile.PL.

If testing this produces errors that indicate a failure to log in to  
MySQL, do a "sudo make distclean" to start over from scratch. Rerun  
"Makefile.PL", being sure to include the database user and password  
options.

Also, only the final step needs to be run with "sudo", and that only  
if you're installing in the default location, which you are here. As  
an exception, the first "sudo perl Makefile.PL ..." may have created  
some root-owned files, so if you start over for any reason it'd be  
best to use "sudo make distclean" to make sure distclean has the  
permissions to delete those. Or just nuke the folder from orbit and  
unzip a new copy... :-)

>   It didn't seem to have gone through the testing portion.

You didn't run the other steps; the full recipe is:

perl Makefile.PL  --with-whatever-args
make
make test
sudo make install

Sorry if this sounds obvious, but you shouldn't continue with the  
next step until you're happy with the last one. If you have any  
doubts, don't hesitate to do as you've done here - post your input,  
the output, and your question.

sherm--

Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
Lola J. Lee Beno - 19 Jun 2007 14:34 GMT
> You didn't run the other steps; the full recipe is:
>
[quoted text clipped - 7 lines]
> don't hesitate to do as you've done here - post your input, the
> output, and your question.

Okay . . . I went ahead with the args that I'd set; also created a new
directory at /usr/local/mysql/include/mysql and ran the following command:

sudo ln -s /usr/local/mysql/lib /usr/local/mysql/lib/mysql ln -s
/usr/local/mysql/include /usr/local/mysql/include/mysql

Ran make test, but still got a whole bunch of errors.  here's the first
set of errors:

PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base.............ok 1/5install_driver(mysql) failed: Can't load
'/Users/lolajl/.cpan/build/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle'
for module DBD::mysql:
dlopen(/Users/lolajl/.cpan/build/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle,
2): Library not loaded: /usr/local/mysql/lib/mysql/libmysqlclient.15.dylib
 Referenced from:
/Users/lolajl/.cpan/build/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle
 Reason: image not found at
/System/Library/Perl/5.8.6/darwin-thread-multi-2level/DynaLoader.pm line
230.
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/00base.t line 38
t/00base.............dubious                                                

       Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 4-5
       Failed 2/5 tests, 60.00% okay
t/10connect..........install_driver(mysql) failed: Can't load
'/Users/lolajl/.cpan/build/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle'
for module DBD::mysql:
dlopen(/Users/lolajl/.cpan/build/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle,
2): Library not loaded: /usr/local/mysql/lib/mysql/libmysqlclient.15.dylib
 Referenced from:
/Users/lolajl/.cpan/build/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle
 Reason: image not found at
/System/Library/Perl/5.8.6/darwin-thread-multi-2level/DynaLoader.pm line
230.
at (eval 5) line 3
Compilation failed in require at (eval 5) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/10connect.t line 25
# Looks like your test died before it could output anything.
t/10connect..........dubious                                                

       Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
       Failed 2/2 tests, 0.00% okay

Signature

Lola J. Lee Beno - ColdFusion Programmer/Web Designer for Hire
http://www.lolajl.net/resume | Blog at http://www.lolajl.net/blog/
"In rivers, the water that you touch is the last of what has passed
and the first of that which comes; so with present time."
- Leonardo da Vinci (1452-1519)

Jeremiah Foster - 19 Jun 2007 14:41 GMT
> /Users/lolajl/.cpan/build/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/
> mysql.bundle

Did you install this bundle? If yes, did you install it in a non-
standard place?
Jeremiah Foster - 19 Jun 2007 14:43 GMT
You'll need more than just DBD, you'll need DBD::Mysql

> /Users/lolajl/.cpan/build/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/
> mysql.bundle
Brad Rice - 29 Jun 2007 00:34 GMT
Check out: http://www.bradrice.com/wposx/archives/84

See if it helps.

> You'll need more than just DBD, you'll need DBD::Mysql
>
>> /Users/lolajl/.cpan/build/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/
>> mysql.bundle
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.