LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-09-2010, 04:57 AM   #1
raggoflex
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
Centos - SYBASE


Hi there.

I'm attempting to get freetds and sybase up and running on my centos server, mainly for nagios - MSSQL checks. I've installed freetds freetds-devel ok but am having issues getting SYBASE installed. I've had a go via cpan but get a failure on the sybase environment variable. I've set it to /etc where the conf file is located as well as trying /urr/lib64 for the tds libs, but no joy. Has anyone had much luck with this on centos?

export SYBASE=/etc
[root@nagios ~]# echo $SYBASE
/etc

cpan DBD::Sybase


CPAN: Storable loaded ok (v2.15)
Going to read '/root/.cpan/Metadata'
Database was generated on Mon, 08 Mar 2010 12:44:17 GMT
Running install for module 'DBD::Sybase'
Running make for M/ME/MEWP/DBD-Sybase-1.09.tar.gz
CPAN: Digest::SHA loaded ok (v5.48)
CPAN: Compress::Zlib loaded ok (v2.024)
Checksum for /root/.cpan/sources/authors/id/M/ME/MEWP/DBD-Sybase-1.09.tar.gz ok
CPAN: Archive::Tar loaded ok (v1.58)
DBD-Sybase-1.09/
DBD-Sybase-1.09/Sybase.xs
DBD-Sybase-1.09/README
DBD-Sybase-1.09/BUGS
DBD-Sybase-1.09/PWD.factory
DBD-Sybase-1.09/Makefile.PL
DBD-Sybase-1.09/dbdimp.h
DBD-Sybase-1.09/README.vms
DBD-Sybase-1.09/dbdimp.c
DBD-Sybase-1.09/CHANGES
DBD-Sybase-1.09/Sybase.pm
DBD-Sybase-1.09/README.freetds
DBD-Sybase-1.09/eg/
DBD-Sybase-1.09/eg/README
DBD-Sybase-1.09/eg/Show.cgi
DBD-Sybase-1.09/eg/dbschema.pl
DBD-Sybase-1.09/eg/check-space.pl
DBD-Sybase-1.09/dbivport.h
DBD-Sybase-1.09/META.yml
DBD-Sybase-1.09/Sybase.h
DBD-Sybase-1.09/CONFIG
DBD-Sybase-1.09/dbd-sybase.pod
DBD-Sybase-1.09/MANIFEST
DBD-Sybase-1.09/t/
DBD-Sybase-1.09/t/main.t
DBD-Sybase-1.09/t/multi_sth.t
DBD-Sybase-1.09/t/xblk.t
DBD-Sybase-1.09/t/screen.jpg
DBD-Sybase-1.09/t/_test.pm
DBD-Sybase-1.09/t/base.t
DBD-Sybase-1.09/t/autocommit.t
DBD-Sybase-1.09/t/thread.t
DBD-Sybase-1.09/t/exec.t
DBD-Sybase-1.09/t/place.t
DBD-Sybase-1.09/t/xblob.t
DBD-Sybase-1.09/t/login.t
DBD-Sybase-1.09/t/fail.t
DBD-Sybase-1.09/t/nsql.t
CPAN: File::Temp loaded ok (v0.22)
CPAN: YAML loaded ok (v0.71)

CPAN.pm: Going to build M/ME/MEWP/DBD-Sybase-1.09.tar.gz

Can't find the lib directory under /etc! at Makefile.PL line 118, <IN> line 44.
Warning: No success on command[/usr/bin/perl Makefile.PL]
MEWP/DBD-Sybase-1.09.tar.gz
/usr/bin/perl Makefile.PL -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
 
Old 03-09-2010, 07:04 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
I doubt very much that you installed Sybase to /etc ..

Quote:
Make sure that the SYBASE environment variable points to the Sybase
installation that you want to use for this build. The easiest way
to do this is to source the SYBASE.sh/SYBASE.csh or SYBASE.bat file
in the root directory of the Sybase installation you want to use.
.. is Sybase actually installed ?
 
Old 03-09-2010, 07:32 AM   #3
raggoflex
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Well... I'm attempting to install the Sybase perl module via cpan.... I've installed freetds and attempted various locations for the sybase environment variable. The library files for freetds are in /usr/lib64, but changing the environment variable to this doesn't clear it up.

Most searches online i've found tell you to set it to /usr/local/freetds.... I've tried making symlinks to here from the library file locations. Still no joy.
 
Old 03-09-2010, 07:51 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Try the Perl gurus over at www.perlmonks.org
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing free Sybase 15.0.3 ASE on CentOS Linux 5.3 sks_kale Linux - Newbie 2 12-28-2009 02:37 PM
sybase on linux sailu_mvn Linux - Software 6 08-24-2006 04:59 AM
C + Sybase mfrick Programming 0 12-08-2005 09:45 PM
PHP and Sybase snickers Programming 2 03-02-2005 08:23 PM
sybase with perl Xris718 Programming 0 02-18-2005 02:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration