[HPADM] summary installig DBD mysql module for Perl

From: Ernesto Freyre Ramírez (efreyre_at_isp.qnet.com.pe)
Date: 07/16/03

  • Next message: Javier Zayas: "[HPADM] mod_ssl problem"
    To: <hpux-admin@dutchworks.nl>
    Date: Wed, 16 Jul 2003 11:00:39 -0500
    
    

    Hi List, Finally I installed the DBD-Mysql module, I was getting errors such as:

    PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
    t/00base.........../usr/lib/dld.sl: Unresolved symbol: __udivdi3 (code) from /var/src/DBD-mysql-2.9002/blib/arch/auto/DBD/mysql/mysql.sl
    /usr/lib/dld.sl: Unresolved symbol: __umoddi3 (code) from /var/src/DBD-mysql-2.9002/blib/arch/auto/DBD/mysql/mysql.sl
    install_driver(mysql) failed: Can't load '/var/src/DBD-mysql-2.9002/blib/arch/auto/DBD/mysql/mysql.sl' for module DBD::mysql: Unresolved external at /opt/perl5/lib/5.8.0/PA-RISC2.0/DynaLoader.pm line 229.
     at (eval 1) line 3
    Compilation failed in require at (eval 1) 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)

    at the make test.

    This problem was because , I would need to add the place for libgcc at moment of perl Makefile.PL command.

    So I executed this with the parameters:

    perl Makefile.PL --libs="-L/usr/local/mysql/lib/mysql -lmysqlclient -lcrypt -lnsl -lm -L/usr/local/pa20_32/lib/gcc-lib/hppa2.0w-hp-hpux11.11/3.3 -lgcc"

    then

    make
    make test
    make install

    And all works!!!

    Thank you all that helped me.

    Ernesto Freyre
    Área de Operaciones
    Qnet - Servicios Internet
    Telf. 241-4122 anexos 2245/2244
    www.qnet.com.pe

    --
                 ---> Please post QUESTIONS and SUMMARIES only!! <---
            To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
           Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
     
     Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
                http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)
    

  • Next message: Javier Zayas: "[HPADM] mod_ssl problem"

    Relevant Pages

    • Using Perl DB2 driver (DBD-DB2) with DB2 UDB Version 8 64bit for AIX 5.2
      ... If you're having problems getting DBD-DB2 to work with 64-bit DB2 UDB ... Cannot load module error when using DB2 Perl driver with DB2 UDB ... Run the following command as root: ... To install the eFix, you can run the following command as root: ...
      (perl.dbi.users)
    • Digest::MD4
      ... I am a beginner at PERL, PERL modules, and UNIX. ... I installed RADIATOR on ... install several modules. ... default PERL path was by issuing the following command: ...
      (perl.beginners)
    • Problems installing DBI module on perl
      ... I'm trying to install the DBI-1.13 module on perl 5.005_03. ... but when i execute the 'make' command i get this ...
      (comp.lang.perl.misc)
    • Re: Need help on tk install via rpm
      ... You need to install Perl Tk. ... run the following at the command prompt. ... Install any modules as it tells you to do for best results. ... shell prompt, ...
      (comp.lang.perl.tk)
    • Re: Digest::MD4
      ... > have attempted to install is MD4. ... > default PERL path was by issuing the following command: ... but the normal way to install a Perl module is: ...
      (perl.beginners)