D:\.cpan\build\DBD-mysql-4.007-5exceq>perl Makefile.PL --testhost=127.0.0.1 --testuser=root --testpassword=sbdb "--libs=-LC:\mysql\lib -lmysqlclient -lz -lm -lcrypt -linsl" I will use the following settings for compiling and testing: cflags (guessed ) = -IC:\mysql\include embedded (guessed ) = libs (User's choice) = -LC:\mysql\lib -lmysqlclient -lz -lm -lcrypt -linsl nocatchstderr (default ) = 0 nofoundrows (default ) = 0 ssl (guessed ) = 0 testdb (default ) = test testhost (User's choice) = 127.0.0.1 testpassword (User's choice) = sbdb testsocket (default ) = testuser (User's choice) = root To change these settings, see 'perl Makefile.PL --help' and 'perldoc INSTALL'. Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lz Note (probably harmless): No library found for -lcrypt Note (probably harmless): No library found for -linsl Using DBI 1.605 (for perl 5.008008 on MSWin32-x86-multi-thread) installed in C:/perl/site/lib/auto/DBI/ Writing Makefile for DBD::mysql #### D:\.cpan\build\DBD-mysql-4.007-5exceq>dmake gcc -c -IC:\perl\site\lib\auto\DBI -IC:\mysql\include -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL _IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"4.007\" -DXS_VERSION=\" 4.007\" "-IC:\perl\lib\CORE" dbdimp.c gcc -c -IC:\perl\site\lib\auto\DBI -IC:\mysql\include -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL _IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"4.007\" -DXS_VERSION=\" 4.007\" "-IC:\perl\lib\CORE" mysql.c Running Mkbootstrap for DBD::mysql () C:\perl\bin\perl.exe -MExtUtils::Command -e chmod 644 mysql.bs dlltool --def mysql.def --output-exp dll.exp C:\perl\bin\perl.exe myld g++ -o blib\arch\auto\DBD\mysql\mysql.dll -Wl,--base-file -Wl,dll.base -mdll -s -L"c:\perl\lib\CORE" -L"C:\Mi nGW\lib" dbdimp.o mysql.o -Wl,--image-base,0x1570000 C:\perl\lib\CORE\libperl58.a C:\mysql\lib\libmysqlclient.a C:\MinGW\lib\lib m.a C:\MinGW\lib\libmsvcrt.a C:\MinGW\lib\libmoldname.a C:\MinGW\lib\libkernel32.a C:\MinGW\lib\libuser32.a C:\MinGW\lib\libgdi32.a C:\ MinGW\lib\libwinspool.a C:\MinGW\lib\libcomdlg32.a C:\MinGW\lib\libadvapi32.a C:\MinGW\lib\libshell32.a C:\MinGW\lib\libole32.a C:\MinG W\lib\liboleaut32.a C:\MinGW\lib\libnetapi32.a C:\MinGW\lib\libuuid.a C:\MinGW\lib\libws2_32.a C:\MinGW\lib\libmpr.a C:\MinGW\lib\libwi nmm.a C:\MinGW\lib\libversion.a C:\MinGW\lib\libodbc32.a C:\MinGW\lib\libodbccp32.a dll.exp dbdimp.o: In function `mysql_db_FETCH_attrib': D:/.cpan/build/DBD-mysql-4.007-5exceq/dbdimp.c:2256: undefined reference to `mysql_insert_id@4' D:/.cpan/build/DBD-mysql-4.007-5exceq/dbdimp.c:2261: undefined reference to `mysql_get_proto_info@4' D:/.cpan/build/DBD-mysql-4.007-5exceq/dbdimp.c:2294: undefined reference to `mysql_thread_id@4' D:/.cpan/build/DBD-mysql-4.007-5exceq/dbdimp.c:2242: undefined reference to `mysql_get_host_info@4' D:/.cpan/build/DBD-mysql-4.007-5exceq/dbdimp.c:2251: undefined reference to `mysql_info@4' D:/.cpan/build/DBD-mysql-4.007-5exceq/dbdimp.c:2267: undefined reference to `mysql_get_server_info@4' D:/.cpan/build/DBD-mysql-4.007-5exceq/dbdimp.c:2277: undefined reference to `mysql_stat@4' D:/.cpan/build/DBD-mysql-4.007-5exceq/dbdimp.c:2284: undefined reference to `mysql_stat@4' dbdimp.o: In function `mysql_st_free_result_sets': D:/.cpan/build/DBD-mysql-4.007-5exceq/dbdimp.c:2629: undefined reference to `mysql_free_result@4' dbdimp.o: In function `mysql_st_fetch': D:/.cpan/build/DBD-mysql-4.007-5exceq/dbdimp.c:3514: undefined reference to `mysql_fetch_row@4' D:/.cpan/build/DBD-mysql-4.007-5exceq/dbdimp.c:3533: undefined reference to `mysql_num_fields@4' D:/.cpan/build/DBD-mysql-4.007-5exceq/dbdimp.c:3534: undefined reference to `mysql_fetch_fields@4' D:/.cpan/build/DBD-mysql-4.007-5exceq/dbdimp.c:3535: undefined reference to `mysql_fetch_lengths@4' D:/.cpan/build/DBD-mysql-4.007-5exceq/dbdimp.c:3504: undefined reference to `mysql_num_fields@4' D:/.cpan/build/DBD-mysql-4.007-5exceq/dbdimp.c:3506: undefined reference to `mysql_num_rows@4' D:/.cpan/build/DBD-mysql-4.007-5exceq/dbdimp.c:3508: undefined reference to `mysql_affected_rows@4' dbdimp.o: In function `mysql_st_FETCH_internal': D:/.cpan/build/DBD-mysql-4.007-5exceq/dbdimp.c:3889: undefined reference to `mysql_field_seek@8' D:/.cpan/build/DBD-mysql-4.007-5exceq/dbdimp.c:3967: undefined reference to `mysql_fetch_field@4' D:/.cpan/build/DBD-mysql-4.007-5exceq/dbdimp.c:3967: undefined reference to `mysql_fetch_field@4' dbdimp.o: In function `mysql_st_internal_execute': D:/.cpan/build/DBD-mysql-4.007-5exceq/dbdimp.c:2889: undefined reference to `mysql_list_fields@12' D:/.cpan/build/DBD-mysql-4.007-5exceq/dbdimp.c:2917: undefined reference to `mysql_use_result@4' D:/.cpan/build/DBD-mysql-4.007-5exceq/dbdimp.c:2925: undefined reference to `mysql_affected_rows@4' D:/.cpan/build/DBD-mysql-4.007-5exceq/dbdimp.c:2917: undefined reference to `mysql_store_result@4' D:/.cpan/build/DBD-mysql-4.007-5exceq/dbdimp.c:2927: undefined reference to `mysql_num_rows@4' D:/.cpan/build/DBD-mysql-4.007-5exceq/dbdimp.c:571: undefined reference to `mysql_real_escape_string@16' dbdimp.o: In function `mysql_st_execute': D:/.cpan/build/DBD-mysql-4.007-5exceq/dbdimp.c:3140: undefined reference to `mysql_insert_id@4' D:/.cpan/build/DBD-mysql-4.007-5exceq/dbdimp.c:3144: undefined reference to `mysql_num_fields@4' dbdimp.o: In function `mysql_db_quote': D:/.cpan/build/DBD-mysql-4.007-5exceq/dbdimp.c:4562: undefined reference to `mysql_real_escape_string@16' dbdimp.o: In function `mysql_db_last_insert_id': D:/.cpan/build/DBD-mysql-4.007-5exceq/dbdimp.c:4585: undefined reference to `mysql_insert_id@4' mysql.o: In function `XS_DBD__mysql__dr__ListDBs': D:/.cpan/build/DBD-mysql-4.007-5exceq/mysql.xs:54: undefined reference to `mysql_list_dbs@8' D:/.cpan/build/DBD-mysql-4.007-5exceq/mysql.xs:61: undefined reference to `mysql_num_rows@4' D:/.cpan/build/DBD-mysql-4.007-5exceq/mysql.xs:64: undefined reference to `mysql_fetch_row@4' D:/.cpan/build/DBD-mysql-4.007-5exceq/mysql.xs:66: undefined reference to `mysql_free_result@4' D:/.cpan/build/DBD-mysql-4.007-5exceq/mysql.xs:61: undefined reference to `mysql_num_rows@4' mysql.o: In function `XS_DBD__mysql__dr__admin_internal': D:/.cpan/build/DBD-mysql-4.007-5exceq/mysql.xs:109: undefined reference to `mysql_shutdown@4' D:/.cpan/build/DBD-mysql-4.007-5exceq/mysql.xs:114: undefined reference to `mysql_refresh@8' mysql.o: In function `XS_DBD__mysql__db__ListDBs': D:/.cpan/build/DBD-mysql-4.007-5exceq/mysql.xs:204: undefined reference to `mysql_list_dbs@8' D:/.cpan/build/DBD-mysql-4.007-5exceq/mysql.xs:215: undefined reference to `mysql_num_rows@4' D:/.cpan/build/DBD-mysql-4.007-5exceq/mysql.xs:218: undefined reference to `mysql_fetch_row@4' D:/.cpan/build/DBD-mysql-4.007-5exceq/mysql.xs:220: undefined reference to `mysql_free_result@4' D:/.cpan/build/DBD-mysql-4.007-5exceq/mysql.xs:215: undefined reference to `mysql_num_rows@4' D:/.cpan/build/DBD-mysql-4.007-5exceq/mysql.xs:206: undefined reference to `mysql_list_dbs@8' mysql.o: In function `XS_DBD__mysql__db_do': D:/.cpan/build/DBD-mysql-4.007-5exceq/mysql.xs:492: undefined reference to `mysql_free_result@4' mysql.o: In function `XS_DBD__mysql__db_ping': D:/.cpan/build/DBD-mysql-4.007-5exceq/mysql.xs:513: undefined reference to `mysql_ping@4' D:/.cpan/build/DBD-mysql-4.007-5exceq/mysql.xs:516: undefined reference to `mysql_ping@4' mysql.o: In function `XS_DBD__mysql__st_dataseek': D:/.cpan/build/DBD-mysql-4.007-5exceq/mysql.xs:598: undefined reference to `mysql_data_seek@12' mysql.o: In function `XS_DBD__mysql__GetInfo_dbd_mysql_get_info': D:/.cpan/build/DBD-mysql-4.007-5exceq/mysql.xs:686: undefined reference to `mysql_get_server_info@4' D:/.cpan/build/DBD-mysql-4.007-5exceq/mysql.xs:690: undefined reference to `mysql_get_parameters@0' collect2: ld returned 1 exit status dmake: Error code 129, while making 'blib\arch\auto\DBD\mysql\mysql.dll'