List:MySQL and Perl« Previous MessageNext Message »
From:Adrian Phillips Date:February 21 2000 7:04am
Subject:Re: Linking DBD::mysql problems under AIX 4.2
View as plain text  
Thanks for answering Jochen.

>>>>> "Jochen" == Jochen Wiedmann <joe@stripped> writes:

    Jochen> Adrian Phillips wrote:
    >> 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/local/lib/mysql/libmysqlclient.a at
    >> /usr/local/lib/perl5/5.00503/aix/DynaLoader.pm line 169.
    Jochen> /usr/local/lib/mysql/libmysqlclient.a at
    Jochen> /usr/local/lib/perl5/5.00503/aix/DynaLoader.pm line 169.

    Jochen> Your problem is documented in the README, section "KNOWN
    Jochen> PROBLEMS".

Unforetunately although it seems to be the same as described in the
README as you can see from the following line (after running make)
that its not :-

LD_RUN_PATH="/lib:/usr/local/lib/gcc-lib/powerpc-ibm-aix4.2.1.0/2.95.2"
ld -o ../blib/arch/auto/DBD/mysql/mysql.so  -bhalt:4 -bM:SRE
-bI:/usr/local/lib/perl5/5.00503/aix/CORE/perl.exp -bE:mysql.exp -b
noentry -lc -L/usr/local/lib dbdimp.o mysql.o -L/usr/local/lib/mysql
/usr/local/lib/mysql/libmysqlclient.a -lm
-L/usr/local/lib/gcc-lib/powerpc-ibm-aix4.2.1.0/2.95.2 -lgcc

Note that -L... and -lgcc are included automatically. I've spent a
while trying out various combinations of changing the order, trying to
find where the udvidi3 is used and the only place I could find it was
libgcc.a !

Oh well, thanks for the help anyway,

Regards,

Adrian Phillips
Thread
Linking DBD::mysql problems under AIX 4.2Adrian Phillips7 Feb
  • Re: Linking DBD::mysql problems under AIX 4.2Adrian Phillips21 Feb
  • Re: Linking DBD::mysql problems under AIX 4.2Adrian Phillips20 Mar
  • Re: Linking DBD::mysql problems under AIX 4.2Jochen Wiedmann20 Mar
  • Re: Linking DBD::mysql problems under AIX 4.2Adrian Phillips24 Mar