[rt-users] mysql-modules ak-dbd & mysql2 test fails

Paul Reilly pareilly at tcd.ie
Tue Apr 25 11:53:18 EDT 2000


Hi,

Can anyone shed any light on this? 

I'm trying to get RT working, but the msql-mysql-modules compilation is 
giving problems. I've installed mysql numerous times both by source code
and also by binary installation. However when I run make test on the
msql-mysql-modules my tests fail.

I'm running AIX 4.2.1 with perl 5.005_03 

With the precompiled AIX binary most tests pass, but the following fail:

t/ak-dbd
t/mysql2

like this:

t/50commit..........ok
t/60leaks...........skipping test on this platform
t/ak-dbd............FAILED tests 80, 87, 89
        Failed 3/90 tests, 96.67% okay
t/akmisc............ok
t/dbdadmin..........ok
t/mysql2............FAILED tests 3-32
        Failed 30/37 tests, 18.92% okay
t/mysql.............ok
Failed Test  Status Wstat Total Fail  Failed  List of failed
-------------------------------------------------------------------------------
t/ak-dbd.t                   90    3   3.33%  80, 87, 89
t/mysql2.t                   37   30  81.08%  3-32
1 test skipped.
Failed 2/17 test scripts, 88.24% okay. 33/732 subtests failed, 95.49%
okay.
make[1]: *** [test_dynamic] Error 2
make[1]: Leaving directory
`/home/admin/reilly/src/Msql-Mysql-modules-1.2209/mysql'
make: *** [test] Error 2



Any ideas what's causing this?
If I compile the source for mysql manually, none of the tests pass and I
get errors of type:


Compiling the source code myself I get 
t/00base............install_driver(mysql) failed: Can't load
'../blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: dlopen:
../blib/arch/auto/DBD/mysql/mysql.so: can't find symbol __udivdi3 /usr/support/mysql/lib/mysql/libmysqlclient
.a at /usr/support/lib/perl5/5.00503/aix/DynaLoader.pm line 169. 

which the documentation says is due to gcc not linking libgcc.a. But my
LD_RUN_PATH for make-ing mysql-modules does include reference to the
location for my libgcc file. The other solution they say is to re-compile
mysql and/or perl with the same gcc. However I've recompiled mysql with
gcc 2.9.5 which is the only gcc on our system, and I'm sure perl was
compiled with this too. I don't really want to have to recompile perl as
well. Any ideas?

Frustrated,

Paul









More information about the rt-users mailing list