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: John Gilmore-Baldwin <john at dwx dot com>
Subject: Re: Error running Sybperl on new machine
Date: Oct 31 1997 5:35PM

Oops.  You're right. Duh! Sorry.

>So my guess is that you have a different version of perl
>(probably 5.003) on the machine you *built* the binaries with, and
>this is what's causing the problem.
>
>Michael
>
>John Gilmore-Baldwin wrote:
>>
>> I copied the binaries.  Here's the output from perl -V:
>>
>> Summary of my perl5 (5.0 patchlevel 2) configuration:
>>   Platform:
>>     osname=solaris, osver=2.5, archname=sun4-solaris
>>     uname='sunos paulton 5.5 generic sun4m sparc sunw,sparcstation-20 '
>>     hint=recommended, useposix=true
>>   Compiler:
>>     cc='gcc', optimize='-O', gccversion=2.7.2
>>     cppflags='-I/usr/local/include -I/opt/gnu/include'
>>     ccflags ='-I/usr/local/include -I/opt/gnu/include'
>>     stdchar='unsigned char', d_stdstdio=define, usevfork=false
>>     voidflags=15, castflags=0, d_casti32=define, d_castneg=define
>>     intsize=4, alignbytes=8, usemymalloc=y, randbits=15
>>   Linker and Libraries:
>>     ld='gcc', ldflags =' -L/usr/local/lib -L/opt/gnu/lib'
>>     libpth=/usr/local/lib /opt/gnu/lib /lib /usr/lib /usr/ccs/lib
>>     libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
>>     libc=/lib/libc.so, so=so
>>   Dynamic Linking:
>>     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
>>     cccdlflags='-fpic', lddlflags='-G -L/usr/local/lib -L/opt/gnu/lib'
>>
>> @INC: /opt/gnu/lib/perl5/sun4-solaris/5.002 /opt/gnu/lib/perl5
>> /opt/gnu/lib/perl5/site_perl/sun4-solaris /opt/gnu/lib/perl5/site_perl .
>>
>> >John Gilmore-Baldwin wrote:
>> >>
>> >> I recently put Sybperl on a new machine, but it just won' run.  It
>>gives me
>> >> the following error:
>> >>
>> >> Can't load
>> >>
>>'/opt/gnu/lib/perl5/site_perl/sun4-solaris/auto/Sybase/DBlib/DBlib.so' for
>> >> module Sybase::DBlib: ld.so.1: /opt/gnu/bin/perl: fatal: relocation
>>error:
>> >> symbol not found: Perl_stack_base: referenced in
>> >> /opt/gnu/lib/perl5/site_perl/sun4-solaris/auto/Sybase/DBlib/DBlib.so at
>> >> /opt/gnu/lib/perl5/DynaLoader.pm line 140.
>> >>
>> >> I'll be trying to track this down, but if anyone has any advice, I'd be
>> >> most grateful.
>> >
>> >Did you build sybperl on the same system, or did you copy the
>> >binaries (DBlib.so) from another system?
>> >
>> >Could you send the output from perl -V please?
>> >
>> >Michael
>> >--
>> >Michael Peppler       -||-  Data Migrations Inc.
>> >mpeppler@datamig.com  -||-  http://www.mbay.net/~mpeppler
>
>--
>Michael Peppler       -||-  Data Migrations Inc.
>mpeppler@datamig.com  -||-  http://www.mbay.net/~mpeppler