Re: problem installing sybperl
[email protected] Mon, 14 Aug 2006 07:58:01 +0200
| Newsgroups | gmane.comp.lang.perl.modules.dbi.sybase |
|---|---|
| Message-ID | <[email protected]> |
The problem is that you are missing the libblk.a (libblk64.a) library. This is because Sybase only ships that library in the SDK package, not in the ASE run-time. You have two solutions: 1. Install the SDK 2. Disable the BLK api by setting the NO_BLK configuration option in the CONFIG file and then rebuilding. Michael Internet [email protected]@peppler.org - 11/08/2006 22:05 Sent by: [email protected] To: sybperl-l cc: Subject: problem installing sybperl Hello, I am new to my environment but have a fairly good grasp of UNIX. I am having problems installing sybperl 2.18 on our machine: Here are the details c It is when I run make test that I encounter a problem. A commonly repeated error references a not found symbol blk_drop after which I receive this message many times…referencing different line numbers, but always pointing out the not found symbol. ...........ok t/2_ct_ctlib...........Can't load '/tmp/sybperl-2.18 /blib/arch/auto/Sybase/CTlib/CTlib.so' for module Sybase::CTlib: ld.so.1: perl: fatal: relocation error: file /tmp/sybperl-2.18 /blib/arch/auto/Sybase/CTlib/CTlib.so:symbol blk_drop: referenced symbol not found at /usr/local/lib/perl5/5.8.7/sun4-solaris/DynaLoader.pm line 230. OS/Machine Information: System = SunOS Release = 5.8 KernelID = Generic_117350-30 Machine = sun4u usr/local/lib/perl5/5.8.7 Sybase OpenClient 12.5.1 found Here are the details usr/sybase Sybase OpenClient 12.5.1 found. Writing Makefile for Sybase::Sybperl Writing Makefile for Sybase cpdb4{sybase}205: make Manifying ../blib/man3/Sybase::BCP.3 Manifying ../blib/man3/Sybase::BLK.3 Skip ../blib/lib/Sybase/CTlib.pm (unchanged) gcc -B/usr/ccs/bin/ -c -I/usr/sybase/OCS-12_5/include -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"2.18\" -DXS_VERSION=\"2.18\" -fPIC "-I/usr/local/lib/perl5/5.8.7/sun4-solaris/CORE" -DCTLIBVS=100 -DSYBPLVER='"2.18"' -DDO_TIE CTlib.c Running Mkbootstrap for Sybase::CTlib () chmod 644 CTlib.bs rm -f ../blib/arch/auto/Sybase/CTlib/CTlib.so LD_RUN_PATH="/usr/sybase/OCS-12_5/lib" gcc -B/usr/ccs/bin/ -L/usr/sybase/OCS-12_5/lib -G -L/usr/local/lib CTlib.o -o ../blib/arch/auto/Sybase/CTlib/CTlib.so -L/usr/sybase/OCS-12_5/lib -lct -lcs -ltcl -lcomn -lintl -lm gcc: file path prefix `/usr/ccs/bin/' never used chmod 755 ../blib/arch/auto/Sybase/CTlib/CTlib.so cp CTlib.bs ../blib/arch/auto/Sybase/CTlib/CTlib.bs chmod 644 ../blib/arch/auto/Sybase/CTlib/CTlib.bs Manifying ../blib/man3/Sybase::CTlib.3 Skip ../blib/lib/Sybase/DBlib.pm (unchanged) gcc -B/usr/ccs/bin/ -c -I/usr/sybase/OCS-12_5/include -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"2.18\" -DXS_VERSION=\"2.18\" -fPIC "-I/usr/local/lib/perl5/5.8.7/sun4-solaris/CORE" -DDBLIBVS=1000 -DSYBPLVER='"2.18"' -DDO_TIE DBlib.c Running Mkbootstrap for Sybase::DBlib () chmod 644 DBlib.bs rm -f ../blib/arch/auto/Sybase/DBlib/DBlib.so LD_RUN_PATH="/usr/sybase/OCS-12_5/lib" gcc -B/usr/ccs/bin/ -L/usr/sybase/OCS-12_5/lib -G -L/usr/local/lib DBlib.o -o ../blib/arch/auto/Sybase/DBlib/DBlib.so -L/usr/sybase/OCS-12_5/lib -lsybdb -lm gcc: file path prefix `/usr/ccs/bin/' never used chmod 755 ../blib/arch/auto/Sybase/DBlib/DBlib.so cp DBlib.bs ../blib/arch/auto/Sybase/DBlib/DBlib.bs chmod 644 ../blib/arch/auto/Sybase/DBlib/DBlib.bs Manifying ../blib/man3/Sybase::DBlib.3 Manifying ../blib/man3/Sybase::Sybperl.3 Manifying blib/man3/sybperl.3 cpdb4{sybase}206: make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/1_db_dblib...........ok t/1_db_money...........ok t/2_ct_ctlib...........Can't load '/tmp/sybperl-2.18 /blib/arch/auto/Sybase/CTlib/CTlib.so' for module Sybase::CTlib: ld.so.1: perl: fatal: relocation error: file /tmp/sybperl-2.18 /blib/arch/auto/Sybase/CTlib/CTlib.so: symbol blk_drop: referenced symbol not found at /usr/local/lib/perl5/5.8.7/sun4-solaris/DynaLoader.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. t/2_ct_ctlib...........dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-30 Failed 30/30 tests, 0.00% okay Any assistance would be appreciated. Thank You, Dan Kavulak 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.