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: Matthias Bannach <mbannach at ascend dot com>
Subject: Ain't working.
Date: Dec 2 1998 4:07PM

Hi :

I have been following the discussions for a while and already 
3 multi hour approaches to get sybperl compiled on my linux box
but - after some success I am stuck. No more ideas.

If anybody got it working on Linux who might have had similar problems
and some more ideas please drop me a line.

Matthias

Linux 2.0.35

Perl :

Summary of my perl5 (5.0 patchlevel 5 subversion 2) configuration:
  Platform:
    osname=linux, osvers=2.0.35, archname=i686-linux
    uname='linux blackmouth 2.0.35 #6 wed sep 2 19:47:52 cest 1998 i686 unknown
'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='cc', optimize='-O2', gccversion=2.7.2.1
    cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =''
    libpth=/lib /usr/lib
    libs=-ldl -lm -lc
    libc=/lib/libc.so.5.4.46, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared'


Characteristics of this binary (from libperl):
  Built under linux
  Compiled at Dec  2 1998 16:47:35
  @INC:
    /usr/lib/perl5/5.00502/i686-linux
    /usr/lib/perl5/5.00502
    /usr/lib/perl5/site_perl/5.005/i686-linux
    /usr/lib/perl5/site_perl/5.005
    .
And I got PWD and INTERFACES configured, read the FAQ and the README but still
get his error after successfull 'make' :

[...snip...]
make -f Makefile.aperl perl
make[1]: Entering directory `/sw/src/Sybase/sybperl-2.10'
cc -rdynamic -o perl -O2 ./perlmain.o 
/usr/lib/perl5/5.00502/i686-linux/auto/re/re.a
/usr/lib/perl5/5.00502/i686-linux/auto/attrs/attrs.a
/usr/lib/perl5/5.00502/i686-linux/auto/Socket/Socket.a
/usr/lib/perl5/5.00502/i686-linux/auto/SDBM_File/SDBM_File.a
/usr/lib/perl5/5.00502/i686-linux/auto/POSIX/POSIX.a
/usr/lib/perl5/5.00502/i686-linux/auto/Opcode/Opcode.a
/usr/lib/perl5/5.00502/i686-linux/auto/ODBM_File/ODBM_File.a
/usr/lib/perl5/5.00502/i686-linux/auto/NDBM_File/NDBM_File.a
/usr/lib/perl5/5.00502/i686-linux/auto/IPC/SysV/SysV.a
/usr/lib/perl5/5.00502/i686-linux/auto/IO/IO.a
/usr/lib/perl5/5.00502/i686-linux/auto/GDBM_File/GDBM_File.a
/usr/lib/perl5/5.00502/i686-linux/auto/Fcntl/Fcntl.a
/usr/lib/perl5/5.00502/i686-linux/auto/DynaLoader/DynaLoader.a
/usr/lib/perl5/5.00502/i686-linux/auto/Data/Dumper/Dumper.a
/usr/lib/perl5/5.00502/i686-linux/auto/B/B.a
/sw/src/Sybase/sybperl-2.10/blib/arch/auto/Sybase/DBlib/DBlib.a
/sw/src/Sybase/sybperl-2.10/blib/arch/auto/Sybase/CTlib/CTlib.a
/usr/lib/perl5/5.00502/i686-linux/CORE/libperl.a `cat
blib/arch/auto/Sybase/extralibs.all` -ldl -lm -lc 
/sw/src/Sybase/sybperl-2.10/blib/arch/auto/Sybase/DBlib/DBlib.a(DBlib.o): In
function `newdbh':
DBlib.o(.text+0xee2): undefined reference to `dbsetuserdata'
/sw/src/Sybase/sybperl-2.10/blib/arch/auto/Sybase/DBlib/DBlib.a(DBlib.o): In
function `to_datetime':
DBlib.o(.text+0x11df): undefined reference to `dbconvert'
/sw/src/Sybase/sybperl-2.10/blib/arch/auto/Sybase/DBlib/DBlib.a(DBlib.o): In
function `from_datetime':
DBlib.o(.text+0x124b): undefined reference to `dbconvert'
/sw/src/Sybase/sybperl-2.10/blib/arch/auto/Sybase/DBlib/DBlib.a(DBlib.o): In
function `to_money':
DBlib.o(.text+0x135f): undefined reference to `dbconvert'
/sw/src/Sybase/sybperl-2.10/blib/arch/auto/Sybase/DBlib/DBlib.a(DBlib.o): In
function `from_money':
[..more..]

Config:

DBLIBVS=1000
CTLIBVS=100
SYBASE=/opt/sybase
EXTRA_LIBS=-linsck
EXTRA_DEFS=-DDO_TIE
LINKTYPE=static