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: Michael Peppler <mpeppler at mbay dot net>
Subject: Re: DBD::Sybase Installation on Solaris 2.5
Date: Aug 5 1998 1:05PM

> 
> I am trying to install DBI and DBD:Sybase on a Solaris 2.5 sparc
> station. The Sybase directory on the
> system is NFS mounted from a machine running Digital UNIX  3.2G. Is it
> possible to do such an install ?
> If so should the EXTRA_LIBS in CONFIG be set to the extra libraries
> needed by Solaris or by Digital
> unix?

THis will not work. You need the solaris versions of the OpenClient
libraries, at the very least.

Michael

> 
> DBD::Sybase installation fails as below.
> (EXTRA_LIBS=-linsck, similar failure with EXTRA_LIBS=-ldnet_stub -linsck
> 
> -lsdna)
> The gcc compiler version used is 2.5.6
> /net/devo/usr/sybase/11.0.2 is the root directory of the Sybase install
> (devo is the Digital machine)
> 
> 
> make
> gcc -c -I/net/devo/usr/sybase/11.0.2/include
> -I/export/opt1/perl5.004_04/lib/site_perl/sun4-solaris/auto/DBI  -O
> -DVERSION=\"0.08\"  -DXS_VERSION=\"0.08\" -fpic
> -I/export/opt1/perl5.004_04/lib/sun4-solaris/5.00404/CORE  Sybase.c
> gcc -c -I/net/devo/usr/sybase/11.0.2/include
> -I/export/opt1/perl5.004_04/lib/site_perl/sun4-solaris/auto/DBI  -O
> -DVERSION=\"0.08\"  -DXS_VERSION=\"0.08\" -fpic
> -I/export/opt1/perl5.004_04/lib/sun4-solaris/5.00404/CORE  dbdimp.c
> Running Mkbootstrap for DBD::Sybase ()
> chmod 644 Sybase.bs
> LD_RUN_PATH="/net/devo/usr/sybase/11.0.2/lib:/lib" gcc -o
> blib/arch/auto/DBD/Sybase/Sybase.so -R/net/devo/usr/sybase/11.0.2/lib
> -R/lib -L/net/devo/usr/sybase/11.0.2/lib -G -L/opt/gnu/lib Sybase.o
> dbdimp.o    -L/net/devo/usr/sybase/11.0.2/lib -lct -lcs -ltcl -lcomn
> -lintl -linsck -lm
> ld: fatal: file /net/devo/usr/sybase/11.0.2/lib/libct.so: unknown type,
> unable to process using elf(3E) libraries
> ld: fatal: file /net/devo/usr/sybase/11.0.2/lib/libct.so: unknown type,
> unable to process using elf(3E) libraries
> ld: fatal: library -lct: not found
> ld: fatal: file /net/devo/usr/sybase/11.0.2/lib/libcs.so: unknown type,
> unable to process using elf(3E) libraries
> ld: fatal: file /net/devo/usr/sybase/11.0.2/lib/libcs.so: unknown type,
> unable to process using elf(3E) libraries
> ld: fatal: library -lcs: not found
> ld: fatal: file /net/devo/usr/sybase/11.0.2/lib/libtcl.so: unknown type,
> 
> unable to process using elf(3E) libraries
> ld: fatal: file /net/devo/usr/sybase/11.0.2/lib/libtcl.so: unknown type,
> 
> unable to process using elf(3E) libraries
> ld: fatal: library -ltcl: not found
> ld: fatal: file /net/devo/usr/sybase/11.0.2/lib/libcomn.so: unknown
> type, unable to process using elf(3E) libraries
> ld: fatal: file /net/devo/usr/sybase/11.0.2/lib/libcomn.so: unknown
> type, unable to process using elf(3E) libraries
> ld: fatal: library -lcomn: not found
> ld: fatal: file /net/devo/usr/sybase/11.0.2/lib/libintl.so: unknown
> type, unable to process using elf(3E) libraries
> ld: fatal: file /net/devo/usr/sybase/11.0.2/lib/libintl.so: unknown
> type, unable to process using elf(3E) libraries
> ld: fatal: file /net/devo/usr/sybase/11.0.2/lib/libinsck.so: unknown
> type, unable to process using elf(3E) libraries
> ld: fatal: file /net/devo/usr/sybase/11.0.2/lib/libinsck.so: unknown
> type, unable to process using elf(3E) libraries
> ld: fatal: library -linsck: not found
> ld: fatal: File processing errors.  No output written to
> blib/arch/auto/DBD/Sybase/Sybase.so
> *** Error code 1
> make: Fatal error: Command failed for target
> `blib/arch/auto/DBD/Sybase/Sybase.so'
> 
> 
> I would appreciate any comments/suggestions you might have.
> 
> Thanks
> 
> aravind
> 
>