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: sksharma <sksharma at inflibnet dot ernet dot in>
Subject: installation problem in sybperl
Date: Jun 24 1999 5:26AM

Hi.
i am very new for this list. sorry, if this query asked before because i didn't
have any idia about your archieved. i  am  using linux radhat 5.2 with kernel
2.0.x  , perl 5.00404. i had tryied to install sybperl-2.07 but it given
following errors. 
(Note : sybase afaptive server for linus is running without problem on the
machine. all ctlibray , dblibray exist on the /opt/sybase/lib directory)
STEPS WITH ERRORS
	1)  Untar the file sybperl-2.07 in directory /usr/local
	error : No error
	2) My CONFIG  file looks like 
		DBLIBVS=1000
		CTLIBVS=100
		SYBASE=/opt/sybase
		EXTRA_LIBS= -linsck
		EXTRA_DEFS=-DDO_TIE
		LINKTYPE = static
	run the command 'perl mkefile.PL'
	error: No error
	3) run  command 'make'
	error : No error
	4) changed the PWD file according to my need . server entry is in the
	 interfaces file .
	run the command 'make test' it given following errors.
	make[1] : Entering directory '/usr/local/sybperl-2.07/BCP'
	make[1]: Leaving directoryy '/usr/local/sybperl-2.07/BCP'
	make[1]: Entering directory '/usr/local/sybperl-2.07/CTlib'
	make[1]: Leaving directory '/usr/local/sybperl-2.07/CTlib'
	make[1]: Entering directory '/usr/local/sybperl-2.07/DBlib'
	make[1]: Leaving directory '/usr/local/sybperl-2.07/DBlib'
	make [1]: Entering directory '/usr/local/sybperl-2.07/Sybperl'
	make[1]: Leaving directory '/usr/local/syperl-2.07/Sybperl'
	make -f makefile.aperl perl
	make [1]: Entering diretory '/usr/local/sybperl-2.07'
	


	make [1] : Entering direcory '/usr/local/sybperl-2.07'
	cc -L/usr/local/lib/ -rdynamic -o perl -02 -pipe ./perlmain.o
/usr/lib/perl5/i686-linux/5.00404/CORE/libperl.a 
/usr/local/sybperl-2.07/blib/arch/auto/Sybase/DBlib/DBlib.a
/usr/local/sybperl-2.07/blib/arch/auto/Sybase/CTlib/CTlib.a
/usr/lib/perl5/site_perl/i686-linux/auto/Sybae/DBlib/Dblib.a
/usr/lib/perl5/site_perl/i686-linux/auto/Sybase/CTlib.a
/usr/lib/perl5/i686-linux/5.00404/auto/DynaLoader.a 
cat ./blib/arch/auto/Sybase/extralibs.all' -ldl -lm lc 
/usr/lib/perl5/i686-linux/5.00404/CORE/libperl.a(pp.o): in function
'Perl_pp_crypt' : pp.o(.text+ox5d41): undefined reference to 'crypt'
make[1]: ***[perl] Error 1
 make [1] : Leaving directory '/usr/local/sybperl-2.07'
make[1] : *** [perl] Error 2
i could not understand why it tryied to link dynamic.

I had writen a simple two line code

#!/usr/bin/perl

use Sybase::DBlib;

during execution it given errors as follows
Can't load '/usr/lib/perl5/site_perl/i686-linux/auto/Sybase/CTlib/CTlib.so' for
module Sybase::DBlib : file not found at
/usr/lib/perl/i686-linux/5.00404/DynaLoader.pm line 166 at line ./ab line 3
BEGIN failed -- complation aborted at ./ab line 3

any experl can solve my problem . How can i understand that the installation
completed successfully.
sk sharma



			
		
	








 --
*********************************************************			
	Name   :Surender Kumar Sharma
	Desgn. :Scientist
	Org.   :Information and Library Network Centre
	Loc    : Near Gujrat University guest house,
        	 Navrangpura,Ahmedabad (India)
	Ph.    : 6301972,6305971
	URL    : www.inflibnet.ernet.in
	E-mail :sksharma@inflibnet.ernet.in
********************************************************