OVH Cloud OVH Cloud

...........dyld: /usr/bin/perl Undefined symbols:

1 réponse
Avatar
Hugo Vila
Bonjour,

MacOS X 10.2.6, Perl 5.8.0, Mysql 4.0.13

Aprés avoir installé DBI et Data-ShowTables j'obtiens ceci pour DBD-mysql:


[NeptunoP:local/src/DBD-mysql-2.9002] neptuno# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base...........dyld: /usr/bin/perl Undefined symbols:
_is_prefix
_mysql_affected_rows
_mysql_close
_mysql_create_db
_mysql_data_seek
_mysql_drop_db
_mysql_errno
_mysql_error
_mysql_fetch_field
_mysql_fetch_lengths
_mysql_fetch_row
_mysql_field_seek
_mysql_free_result
_mysql_get_host_info
_mysql_get_proto_info
_mysql_get_server_info
_mysql_info
_mysql_init
_mysql_insert_id
_mysql_list_dbs
_mysql_list_fields
_mysql_num_fields
_mysql_num_rows
_mysql_options
_mysql_ping
_mysql_real_connect
_mysql_real_escape_string
_mysql_real_query
_mysql_refresh
_mysql_shutdown
_mysql_stat
_mysql_store_result
_mysql_thread_id
_mysql_use_result
_net_buffer_length
t/00base...........dubious

Test returned status 0 (wstat 5, 0x5)
t/10dsnlist........dyld: /usr/bin/perl Undefined symbols:
_is_prefix
_mysql_affected_rows
_mysql_close


<...>


_mysql_get_host_info
_mysql_get_proto_info
_mysql_get_server_info
_mysql_info
_mysql_init
_mysql_insert_id
_mysql_list_dbs
_mysql_list_fields
_mysql_num_fields
_mysql_num_rows
_mysql_options
_mysql_ping
_mysql_real_connect
_mysql_real_escape_string
_mysql_real_query
_mysql_refresh
_mysql_shutdown
_mysql_stat
_mysql_store_result
_mysql_thread_id
_mysql_use_result
_net_buffer_length
t/mysql............dubious

Test returned status 0 (wstat 5, 0x5)
t/mysql2...........dyld: /usr/bin/perl Undefined symbols:
_is_prefix
_mysql_affected_rows
_mysql_close
_mysql_create_db
_mysql_data_seek
_mysql_drop_db
_mysql_errno
_mysql_error
_mysql_fetch_field
_mysql_fetch_lengths
_mysql_fetch_row
_mysql_field_seek
_mysql_free_result
_mysql_get_host_info
_mysql_get_proto_info
_mysql_get_server_info
_mysql_info
_mysql_init
_mysql_insert_id
_mysql_list_dbs
_mysql_list_fields
_mysql_num_fields
_mysql_num_rows
_mysql_options
_mysql_ping
_mysql_real_connect
_mysql_real_escape_string
_mysql_real_query
_mysql_refresh
_mysql_shutdown
_mysql_stat
_mysql_store_result
_mysql_thread_id
_mysql_use_result
_net_buffer_length
t/mysql2...........dubious

Test returned status 0 (wstat 5, 0x5)
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/00base.t 0 5 ?? ?? % ??
t/10dsnlist.t 0 5 ?? ?? % ??
t/20createdrop.t 0 5 ?? ?? % ??
t/30insertfetch.t 0 5 ?? ?? % ??
t/40bindparam.t 0 5 ?? ?? % ??
t/40blobs.t 0 5 ?? ?? % ??
t/40listfields.t 0 5 ?? ?? % ??
t/40nulls.t 0 5 ?? ?? % ??
t/40numrows.t 0 5 ?? ?? % ??
t/50chopblanks.t 0 5 ?? ?? % ??
t/50commit.t 0 5 ?? ?? % ??
t/ak-dbd.t 0 5 90 90 100.00% 1-90
t/akmisc.t 0 5 ?? ?? % ??
t/dbdadmin.t 0 5 21 21 100.00% 1-21
t/insertid.t 0 5 ?? ?? % ??
t/mysql.t 0 5 ?? ?? % ??
t/mysql2.t 0 5 ?? ?? % ??
1 test skipped.
Failed 17/18 test scripts, 5.56% okay. 111/111 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 2
[NeptunoP:local/src/DBD-mysql-2.9002] neptuno#


Avez-vous une idée de ce qui se passe ?

Merci

1 réponse

Avatar
Hugo Vila
Hugo Vila wrote:

L'erreur est affecté d'une mal configuration precedente:

[NeptunoP:local/src/DBD-mysql-2.9002] neptuno# perl Makefile.PL
--libs=-L'/usr/local/mysql/lib/mysql' -lmysqlclient -lz -lm
Unknown option: lmysqlclient
Unknown option: lz
Unknown option: lm
Can't exec "mysql_config": No such file or directory at Makefile.PL line
174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can't exec "mysql_config": No such file or directory at Makefile.PL line
174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can't exec "mysql_config": No such file or directory at Makefile.PL line
174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can't exec "mysql_config": No such file or directory at Makefile.PL line
174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can't exec "mysql_config": No such file or directory at Makefile.PL line
174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can't exec "mysql_config": No such file or directory at Makefile.PL line
174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can't exec "mysql_config": No such file or directory at Makefile.PL line
174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can't exec "mysql_config": No such file or directory at Makefile.PL line
174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
I will use the following settings for compiling and testing:

cflags (guessed ) = -I/usr/include/mysql
libs (Users choice) = -L/usr/local/mysql/lib/mysql
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 0
testdb (default ) = test
testhost (default ) testpassword (default ) testuser (default )
To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.

Multiple copies of Driver.xst found in: /Library/Perl/darwin/auto/DBI
/Library/Perl/darwin/auto/DBI at Makefile.PL line 295
Using DBI 1.37 installed in /Library/Perl/darwin/auto/DBI
Writing Makefile for DBD::mysql
[NeptunoP:local/src/DBD-mysql-2.9002] neptuno#

le directoir actuel . n'est-pas dans la variable path.

Merci


Bonjour,

MacOS X 10.2.6, Perl 5.8.0, Mysql 4.0.13

Aprés avoir installé DBI et Data-ShowTables j'obtiens ceci pour DBD-mysql:


[NeptunoP:local/src/DBD-mysql-2.9002] neptuno# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base...........dyld: /usr/bin/perl Undefined symbols:
_is_prefix
_mysql_affected_rows
_mysql_close
_mysql_create_db
_mysql_data_seek
_mysql_drop_db
_mysql_errno
_mysql_error
_mysql_fetch_field
_mysql_fetch_lengths
_mysql_fetch_row
_mysql_field_seek
_mysql_free_result
_mysql_get_host_info
_mysql_get_proto_info
_mysql_get_server_info
_mysql_info
_mysql_init
_mysql_insert_id
_mysql_list_dbs
_mysql_list_fields
_mysql_num_fields
_mysql_num_rows
_mysql_options
_mysql_ping
_mysql_real_connect
_mysql_real_escape_string
_mysql_real_query
_mysql_refresh
_mysql_shutdown
_mysql_stat
_mysql_store_result
_mysql_thread_id
_mysql_use_result
_net_buffer_length
t/00base...........dubious
Test returned status 0 (wstat 5, 0x5)
t/10dsnlist........dyld: /usr/bin/perl Undefined symbols:
_is_prefix
_mysql_affected_rows
_mysql_close


<...>


_mysql_get_host_info
_mysql_get_proto_info
_mysql_get_server_info
_mysql_info
_mysql_init
_mysql_insert_id
_mysql_list_dbs
_mysql_list_fields
_mysql_num_fields
_mysql_num_rows
_mysql_options
_mysql_ping
_mysql_real_connect
_mysql_real_escape_string
_mysql_real_query
_mysql_refresh
_mysql_shutdown
_mysql_stat
_mysql_store_result
_mysql_thread_id
_mysql_use_result
_net_buffer_length
t/mysql............dubious
Test returned status 0 (wstat 5, 0x5)
t/mysql2...........dyld: /usr/bin/perl Undefined symbols:
_is_prefix
_mysql_affected_rows
_mysql_close
_mysql_create_db
_mysql_data_seek
_mysql_drop_db
_mysql_errno
_mysql_error
_mysql_fetch_field
_mysql_fetch_lengths
_mysql_fetch_row
_mysql_field_seek
_mysql_free_result
_mysql_get_host_info
_mysql_get_proto_info
_mysql_get_server_info
_mysql_info
_mysql_init
_mysql_insert_id
_mysql_list_dbs
_mysql_list_fields
_mysql_num_fields
_mysql_num_rows
_mysql_options
_mysql_ping
_mysql_real_connect
_mysql_real_escape_string
_mysql_real_query
_mysql_refresh
_mysql_shutdown
_mysql_stat
_mysql_store_result
_mysql_thread_id
_mysql_use_result
_net_buffer_length
t/mysql2...........dubious
Test returned status 0 (wstat 5, 0x5)
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------

t/00base.t 0 5 ?? ?? % ??
t/10dsnlist.t 0 5 ?? ?? % ??
t/20createdrop.t 0 5 ?? ?? % ??
t/30insertfetch.t 0 5 ?? ?? % ??
t/40bindparam.t 0 5 ?? ?? % ??
t/40blobs.t 0 5 ?? ?? % ??
t/40listfields.t 0 5 ?? ?? % ??
t/40nulls.t 0 5 ?? ?? % ??
t/40numrows.t 0 5 ?? ?? % ??
t/50chopblanks.t 0 5 ?? ?? % ??
t/50commit.t 0 5 ?? ?? % ??
t/ak-dbd.t 0 5 90 90 100.00% 1-90
t/akmisc.t 0 5 ?? ?? % ??
t/dbdadmin.t 0 5 21 21 100.00% 1-21
t/insertid.t 0 5 ?? ?? % ??
t/mysql.t 0 5 ?? ?? % ??
t/mysql2.t 0 5 ?? ?? % ??
1 test skipped.
Failed 17/18 test scripts, 5.56% okay. 111/111 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 2
[NeptunoP:local/src/DBD-mysql-2.9002] neptuno#


Avez-vous une idée de ce qui se passe ?

Merci