Re: installing sybperl
[email protected] Fri, 26 May 2006 07:39:49 +0200
| Newsgroups | gmane.comp.lang.perl.modules.dbi.sybase |
|---|---|
| Message-ID | <[email protected]> |
From the output of the "make test" it would appear that you don't have any of the Sybase libraries installed on your system. This can be because you only have the 64bit client libraries installed and you built sybperl in 32bit mode, or because you really don't have the libraries at all. What output did you get when you ran "perl Makefile.PL", and what files do you have in $SYBASE/$SYBASE_OCS/lib ? Michael Internet [email protected]@peppler.org - 26/05/2006 06:36 Sent by: [email protected] To: sybperl-l cc: Subject: installing sybperl I know this is a simple question but any help is appreciated. My sybperl 2.18 install compiles and installs fine but make test fails completely. My system is Solaris 10 with perl 5.8.8. My system does not have a local sybase instance so my thinking is that some networking modules are needed. The error message does not say this but.... Thanks, -Ed. Here's the error: perl -le 'require Sybase::DBlib;print $Sybase::DBlib::Version;' Can't load '/usr/local/lib/perl5/site_perl/5.8.8 /sun4-solaris/auto/Sybase/DBlib/DBlib.so' for module Sybase::DBlib: ld.so.1: perl: fatal: libsybdb.so: open failed: No such file or directory at /usr/local/lib/perl5/5.8.8/sun4-solaris/DynaLoader.pm line 230. at -e line 1 Compilation failed in require at -e line 1. Here's "make test" output: make[1]: Entering directory `/var/tmp/sybperl-2.18/BCP' make[1]: Leaving directory `/var/tmp/sybperl-2.18/BCP' make[1]: Entering directory `/var/tmp/sybperl-2.18/BLK' make[1]: Leaving directory `/var/tmp/sybperl-2.18/BLK' make[1]: Entering directory `/var/tmp/sybperl-2.18/CTlib' make[1]: Leaving directory `/var/tmp/sybperl-2.18/CTlib' make[1]: Entering directory `/var/tmp/sybperl-2.18/DBlib' make[1]: Leaving directory `/var/tmp/sybperl-2.18/DBlib' make[1]: Entering directory `/var/tmp/sybperl-2.18/Sybperl' make[1]: Leaving directory `/var/tmp/sybperl-2.18/Sybperl' PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harne ss(0, 'blib/lib', 'blib/arch')" t/*.t t/1_db_dblib...........Can't load '/var/tmp/sybperl-2.18 /blib/arch/auto/Sybase/D Blib/DBlib.so' for module Sybase::DBlib: ld.so.1: perl: fatal: libsybdb.so: open failed: No such file or directory at /usr/local/lib/perl5/5.8.8 /sun4-solaris/Dy naLoader.pm line 230. at t/1_db_dblib.t line 9 Compilation failed in require at t/1_db_dblib.t line 9. BEGIN failed--compilation aborted at t/1_db_dblib.t line 9. dubious Test returned status 2 (wstat 512, 0x200) t/1_db_money...........Can't load '/var/tmp/sybperl-2.18 /blib/arch/auto/Sybase/D Blib/DBlib.so' for module Sybase::DBlib: ld.so.1: perl: fatal: libsybdb.so: open failed: No such file or directory at /usr/local/lib/perl5/5.8.8 /sun4-solaris/Dy naLoader.pm line 230. at t/1_db_money.t line 9 Compilation failed in require at t/1_db_money.t line 9. BEGIN failed--compilation aborted at t/1_db_money.t line 9. dubious Test returned status 2 (wstat 512, 0x200) t/2_ct_ctlib...........Can't load '/var/tmp/sybperl-2.18 /blib/arch/auto/Sybase/C Tlib/CTlib.so' for module Sybase::CTlib: ld.so.1: perl: fatal: libct.so: open fa iled: No such file or directory at /usr/local/lib/perl5/5.8.8 /sun4-solaris/DynaL oader.pm line 230. at t/2_ct_ctlib.t line 11 Compilation failed in require at t/2_ct_ctlib.t line 11. BEGIN failed--compilation aborted at t/2_ct_ctlib.t line 11. dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-21 Failed 21/21 tests, 0.00% okay t/3_bcp................Can't load '/var/tmp/sybperl-2.18 /blib/arch/auto/Sybase/D Blib/DBlib.so' for module Sybase::DBlib: ld.so.1: perl: fatal: libsybdb.so: open failed: No such file or directory at /usr/local/lib/perl5/5.8.8 /sun4-solaris/Dy naLoader.pm line 230. at /var/tmp/sybperl-2.18/blib/lib/Sybase/BCP.pm line 278 Compilation failed in require at /var/tmp/sybperl-2.18 /blib/lib/Sybase/BCP.pm li ne 278. BEGIN failed--compilation aborted at /var/tmp/sybperl-2.18 /blib/lib/Sybase/BCP.p m line 278. Compilation failed in require at t/3_bcp.t line 14. BEGIN failed--compilation aborted at t/3_bcp.t line 14. dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-9 Failed 9/9 tests, 0.00% okay t/4_blk................Can't load '/var/tmp/sybperl-2.18 /blib/arch/auto/Sybase/C Tlib/CTlib.so' for module Sybase::CTlib: ld.so.1: perl: fatal: libct.so: open fa iled: No such file or directory at /usr/local/lib/perl5/5.8.8 /sun4-solaris/DynaL oader.pm line 230. at /var/tmp/sybperl-2.18/blib/lib/Sybase/BLK.pm line 312 Compilation failed in require at /var/tmp/sybperl-2.18 /blib/lib/Sybase/BLK.pm li ne 312. BEGIN failed--compilation aborted at /var/tmp/sybperl-2.18 /blib/lib/Sybase/BLK.p m line 312. Compilation failed in require at t/4_blk.t line 12. BEGIN failed--compilation aborted at t/4_blk.t line 12. dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-19 Failed 19/19 tests, 0.00% okay t/5_sybperl............Can't load '/var/tmp/sybperl-2.18 /blib/arch/auto/Sybase/D Blib/DBlib.so' for module Sybase::DBlib: ld.so.1: perl: fatal: libsybdb.so: open failed: No such file or directory at /usr/local/lib/perl5/5.8.8 /sun4-solaris/Dy naLoader.pm line 230. at /var/tmp/sybperl-2.18/blib/lib/Sybase/Sybperl.pm line 79 Compilation failed in require at /var/tmp/sybperl-2.18 /blib/lib/Sybase/Sybperl.p m line 79. BEGIN failed--compilation aborted at /var/tmp/sybperl-2.18 /blib/lib/Sybase/Sybpe rl.pm line 79. Compilation failed in require at /var/tmp/sybperl-2.18/blib/lib/sybperl.pl line 17. BEGIN failed--compilation aborted at /var/tmp/sybperl-2.18 /blib/lib/sybperl.pl l ine 17. Compilation failed in require at t/5_sybperl.t line 7. dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-28 Failed 28/28 tests, 0.00% okay t/5_sybperl_dbmoney....Can't load '/var/tmp/sybperl-2.18 /blib/arch/auto/Sybase/D Blib/DBlib.so' for module Sybase::DBlib: ld.so.1: perl: fatal: libsybdb.so: open failed: No such file or directory at /usr/local/lib/perl5/5.8.8 /sun4-solaris/Dy naLoader.pm line 230. at /var/tmp/sybperl-2.18/blib/lib/Sybase/Sybperl.pm line 79 Compilation failed in require at /var/tmp/sybperl-2.18 /blib/lib/Sybase/Sybperl.p m line 79. BEGIN failed--compilation aborted at /var/tmp/sybperl-2.18 /blib/lib/Sybase/Sybpe rl.pm line 79. Compilation failed in require at /var/tmp/sybperl-2.18/blib/lib/sybperl.pl line 17. BEGIN failed--compilation aborted at /var/tmp/sybperl-2.18 /blib/lib/sybperl.pl l ine 17. Compilation failed in require at t/5_sybperl_dbmoney.t line 7. dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-32 Failed 32/32 tests, 0.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/1_db_dblib.t 2 512 ?? ?? % ?? t/1_db_money.t 2 512 ?? ?? % ?? t/2_ct_ctlib.t 2 512 30 59 196.67% 1-30 t/2_ct_cursor.t 2 512 22 43 195.45% 1-22 t/2_ct_nsql.t 2 512 4 7 175.00% 1-4 t/2_ct_prepare.t 2 512 15 29 193.33% 1-15 t/2_ct_xblk.t 2 512 21 41 195.24% 1-21 t/3_bcp.t 2 512 9 17 188.89% 1-9 t/4_blk.t 2 512 19 38 200.00% 1-19 t/5_sybperl.t 2 512 28 56 200.00% 1-28 t/5_sybperl_dbmoney.t 2 512 32 64 200.00% 1-32 Failed 11/11 test scripts, 0.00% okay. 180/180 subtests failed, 0.00% okay. make: *** [test_dynamic] Error 2 This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. --------------------------------------------- Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'integrite de ce message, BNP PARIBAS (et ses filiales) decline(nt) toute responsabilite au titre de ce message, dans l'hypothese ou il aurait ete modifie.