Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Hugh Caley <hughc at lombard dot babcockbrown dot com>
Subject: Re: Problems with Sybperl and Linux
Date: Jan 28 1998 9:53PM

I'm also getting a core dump when trying to use the sybperl from the 2.07 rpm
from the RedHat contrib.
This is with a complete removal and reinstall of perl, then an install of

GDB output:

[root@hughnec SYBPERL]# gdb sybperl
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (i386-redhat-linux), Copyright 1996 Free Software Foundation, Inc...

(no debugging symbols found)...
(gdb) run
Starting program: /usr/bin/sybperl
(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x400975d7 in strncmp ()

(gdb) bt
#0  0x400975d7 in strncmp ()
#1  0x8097a48 in Perl_do_sprintf ()
#2  0x40109f34 in _dl_start () at ../sysdeps/unix/sysv/linux/init-first.c:77
#3  0x40109fb1 in _init () at ../sysdeps/unix/sysv/linux/init-first.c:82
#4  0x40002135 in _dl_debug_state ()
#5  0x2 in ?? ()


Vaclav Ovsik wrote:

> On Tue, 27 Jan 1998, Hugh Caley wrote:
> > I am attempted to build and run Sybperl on RedHat Linux 5.0 i386.
> > I have the CTlib libraries from Mr. Peppler's page, an interfaces file
> > from my local Sybase server.  The sybase directory is at /usr/sybase,
> > and I have the env varibles $SYBASE=/usr/sybase and $DSQUERY=SFO (SFO is
> RH 5.0 has new glibc. Ctlib was compiled on system with libc 5.
> If you compile anything with sybase libs against glibc, it dumps core.
> You must compile sybperl on older system (RH 4.2) with libc 5.
> May be if you install libc-5.3.12-25 on your RH 5.0 (in distrib.),
> binaries of sybperl compiled on RH 4.2 will work on your system.
> For this time you can try use binaries of sybperl-2.07 from contrib on
> RedHat site.
> --
>         Vaclav OVSIK                    email:
>         Skoda Informatika               phone: +420 19 7721366

Hugh Caley, System Administrator
Babcock & Brown, Inc., San Francisco
1+512+1515x694 |