PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Takis Benos <benos at ebi dot ac dot uk>
Subject: Re: Problem on sybperl installation on IRIX64.
Date: Jul 21 1998 1:36PM

On Mon, 20 Jul 1998, Takis Benos wrote:

> 
> > I believe the problem is that the perl binary is built against the
> > 32bit libraries. You may want to try to rebuild the perl executable to 
> > use 64bit libraries and see if that helps.
> > 
> > Michael
> > -- 
> > Michael Peppler         -||-  Data Migrations Inc.
> > mpeppler@datamig.com    -||-  http://www.mbay.net/~mpeppler
> > Int. Sybase User Group  -||-  http://www.isug.com
> > 
> 
> I'll try it and i'll let you know.  Thanks a lot!
> 
> Cheers,
> 
> takis
> 
> 


Hello, dear Michael:

The problem in installation of sybperl solved, although in the "reverse"
way.  It was decided that would be easier to re-install a 32 byte Sybase
version instaed of a 64-byte version of Perl.

Then i re-compiled Sybperl package and this time no problem appeared
during the installation.  I only noticed two WARNINGs (which you can see
on the file below).  However, the "make test" failed in a way that is not
included in the Sybperl FAQ; moreover the failure seems awkward: the
error message says it can't somap 'libsybdb.so' under a number of
directories *although libsybdb.so exists under one of them* !!
(u/sybase/ebi/openClient32-11.1/lib/)


Have you ever meet such a case?


Thank you very much anyway,

takis


 Panayiotis (Takis) BENOS     | Tel.  : +44 (0)1223 494 424
 EMBL Outstation - The EBI    | Fax   : +44 (0)1223 494 468
 Wellcome Trust Genome Campus |
 Hinxton,                     | e-mail: benos@ebi.ac.uk
 Cambridge CB10 1SD, U.K.     | URL   : http://edgp.ebi.ac.uk/~benos

 "After sequencing the human genome there is only one thing left: 
                          the Divine one" 
                                             -- Sydney Brenner



---------------------------------------------------------------------
			MAKE TEST
---------------------------------------------------------------------

>perl Makefile.PL 
Checking if your kit is complete...
Looks good
Checking if your kit is complete...
Looks good
Writing Makefile for Sybase::BCP
Writing Makefile for Sybase::CTlib
Writing Makefile for Sybase::DBlib
Writing Makefile for Sybase::Sybperl
Writing Makefile for Sybase
>make
mkdir ./blib
mkdir ./blib/lib
mkdir ./blib/arch
mkdir ./blib/arch/auto
mkdir ./blib/arch/auto/Sybase
mkdir ./blib/lib/auto
mkdir ./blib/lib/auto/Sybase
cp config.pl ./blib/lib/config.pl
cp lib/sql.pl ./blib/lib/./sql.pl
cp lib/sybperl.pl ./blib/lib/./sybperl.pl
cp lib/sybutil.pl ./blib/lib/./sybutil.pl
cp lib/ctutil.pl ./blib/lib/./ctutil.pl
make[1]: Entering directory `/ebi/home2/benos/incoming/sybperl/sybperl-2.09_05/BCP'
mkdir .././blib/lib/Sybase
mkdir .././blib/arch/auto/Sybase/BCP
mkdir .././blib/lib/auto/Sybase/BCP
mkdir .././blib/man3
cp BCP.pm .././blib/lib/Sybase/BCP.pm
Manifying .././blib/man3/Sybase::BCP.3
make[1]: Leaving directory `/ebi/home2/benos/incoming/sybperl/sybperl-2.09_05/BCP'
make[1]: Entering directory `/ebi/home2/benos/incoming/sybperl/sybperl-2.09_05/CTlib'
mkdir .././blib/arch/auto/Sybase/CTlib
mkdir .././blib/lib/auto/Sybase/CTlib
cp CTlib.pm .././blib/lib/Sybase/CTlib.pm
AutoSplitting Sybase::CTlib (.././blib/lib/auto/Sybase/CTlib)
/ebi/supported/bin/perl -I/ebi/supported/perl-5.004.03/lib/IP25-irix/5.00403 -I/ebi/supported/perl-5.004.03/lib /ebi/supported/perl-5.004.03/lib/ExtUtils/xsubpp -prototypes -typemap /ebi/supported/perl-5.004.03/lib/ExtUtils/typemap CTlib.xs >CTlib.tc && m
v CTlib.tc CTlib.c
gcc -c -I/u/sybase/ebi/openClient32-11.1/include -D_BSD_TYPES -D_BSD_TIME -I/usr/local/include -DLANGUAGE_C -O3    -DVERSION=\"2.09_05\" -DXS_VERSION=\"2.09_05\"  -I/ebi/supported/perl-5.004.03/lib/IP25-irix/5.00403/CORE -DCTLIBVS=100 -DSYBPLVER='"2.09_05
"' -DDO_TIE CTlib.c
Running Mkbootstrap for Sybase::CTlib ()
chmod 644 CTlib.bs
LD_RUN_PATH="/u/sybase/ebi/openClient32-11.1/lib:/usr/lib32" ld -o .././blib/arch/auto/Sybase/CTlib/CTlib.so  -L/u/sybase/ebi/openClient32-11.1/lib -shared -L/usr/local/lib -L/usr/lib32 -L/lib32 CTlib.o    -L/u/sybase/ebi/openClient32-11.1/lib -lct -lcs -
ltcl -lcomn -lintl -lm 
ld: WARNING 84: /usr/lib32/libm.so is not used for resolving any symbol.
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
make[1]: Leaving directory `/ebi/home2/benos/incoming/sybperl/sybperl-2.09_05/CTlib'
make[1]: Entering directory `/ebi/home2/benos/incoming/sybperl/sybperl-2.09_05/DBlib'
mkdir .././blib/arch/auto/Sybase/DBlib
mkdir .././blib/lib/auto/Sybase/DBlib
cp DBlib.pm .././blib/lib/Sybase/DBlib.pm
AutoSplitting Sybase::DBlib (.././blib/lib/auto/Sybase/DBlib)
/ebi/supported/bin/perl -I/ebi/supported/perl-5.004.03/lib/IP25-irix/5.00403 -I/ebi/supported/perl-5.004.03/lib /ebi/supported/perl-5.004.03/lib/ExtUtils/xsubpp -prototypes -typemap /ebi/supported/perl-5.004.03/lib/ExtUtils/typemap DBlib.xs >DBlib.tc && m
v DBlib.tc DBlib.c
gcc -c -I/u/sybase/ebi/openClient32-11.1/include -D_BSD_TYPES -D_BSD_TIME -I/usr/local/include -DLANGUAGE_C -O3    -DVERSION=\"2.09_05\" -DXS_VERSION=\"2.09_05\"  -I/ebi/supported/perl-5.004.03/lib/IP25-irix/5.00403/CORE -DDBLIBVS=1000 -DSYBPLVER='"2.09_0
5"' -DDO_TIE DBlib.c
Running Mkbootstrap for Sybase::DBlib ()
chmod 644 DBlib.bs
LD_RUN_PATH="/u/sybase/ebi/openClient32-11.1/lib:/usr/lib32" ld -o .././blib/arch/auto/Sybase/DBlib/DBlib.so  -L/u/sybase/ebi/openClient32-11.1/lib -shared -L/usr/local/lib -L/usr/lib32 -L/lib32 DBlib.o    -L/u/sybase/ebi/openClient32-11.1/lib -lsybdb -lm
 
ld: WARNING 84: /usr/lib32/libm.so is not used for resolving any symbol.
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
make[1]: Leaving directory `/ebi/home2/benos/incoming/sybperl/sybperl-2.09_05/DBlib'
make[1]: Entering directory `/ebi/home2/benos/incoming/sybperl/sybperl-2.09_05/Sybperl'
mkdir .././blib/arch/auto/Sybase/Sybperl
mkdir .././blib/lib/auto/Sybase/Sybperl
cp Sybperl.pm .././blib/lib/Sybase/Sybperl.pm
AutoSplitting Sybase::Sybperl (.././blib/lib/auto/Sybase/Sybperl)
make[1]: Leaving directory `/ebi/home2/benos/incoming/sybperl/sybperl-2.09_05/Sybperl'


>
>
>make test
make[1]: Entering directory `/ebi/home2/benos/incoming/sybperl/sybperl-2.09_05/BCP'
make[1]: Leaving directory `/ebi/home2/benos/incoming/sybperl/sybperl-2.09_05/BCP'
make[1]: Entering directory `/ebi/home2/benos/incoming/sybperl/sybperl-2.09_05/CTlib'
make[1]: Leaving directory `/ebi/home2/benos/incoming/sybperl/sybperl-2.09_05/CTlib'
make[1]: Entering directory `/ebi/home2/benos/incoming/sybperl/sybperl-2.09_05/DBlib'
make[1]: Leaving directory `/ebi/home2/benos/incoming/sybperl/sybperl-2.09_05/DBlib'
make[1]: Entering directory `/ebi/home2/benos/incoming/sybperl/sybperl-2.09_05/Sybperl'
make[1]: Leaving directory `/ebi/home2/benos/incoming/sybperl/sybperl-2.09_05/Sybperl'
make[1]: Entering directory `/ebi/home2/benos/incoming/sybperl/sybperl-2.09_05/BCP'
PERL_DL_NONLAZY=1 /ebi/supported/bin/perl -I.././blib/arch -I.././blib/lib -I/ebi/supported/perl-5.004.03/lib/IP25-irix/5.00403 -I/ebi/supported/perl-5.004.03/lib -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/bcp...............Can't load '.././blib/arch/auto/Sybase/DBlib/DBlib.so' for module Sybase::DBlib: 17161:/ebi/supported/bin/perl: rld: Fatal Error: Cannot Successfully map soname 'libsybdb.so' under any of the filenames /u/sybase/ebi/openClient32-11.1/l
ib/libsybdb.so:/usr/lib/libsybdb.so:/usr/lib/internal/libsybdb.so:/lib/libsybdb.so:/lib/cmplrs/cc/libsybdb.so:/usr/lib/cmplrs/cc/libsybdb.so:/opt/lib/libsybdb.so:  at /ebi/supported/perl-5.004.03/lib/IP25-irix/5.00403/DynaLoader.pm line 155.

 at .././blib/lib/Sybase/BCP.pm line 277
BEGIN failed--compilation aborted at .././blib/lib/Sybase/BCP.pm line 277.
BEGIN failed--compilation aborted at t/bcp.t line 12.
dubious
        Test returned status 2 (wstat 512)
DIED. FAILED tests 1-9
        Failed 9/9 tests, 0.00% okay
Failed Test  Status Wstat Total Fail  Failed  List of failed
------------------------------------------------------------------------------
t/bcp.t           2   512     9    9 100.00%  1-9
Failed 1/1 test scripts, 0.00% okay. 9/9 subtests failed, 0.00% okay.
make[1]: *** [test_dynamic] Error 2
make[1]: Leaving directory `/ebi/home2/benos/incoming/sybperl/sybperl-2.09_05/BCP'
make: *** [test] Error 2
>lsp /u/sybase/ebi/openClient32-11.1/lib/libsybdb.so
-rwxr-xr-x    1 sybase   sybase   1857228 Jun  3  1997 /u/sybase/ebi/openClient32-11.1/lib/libsybdb.so*
>
>
>