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: Emmanuel Cerisier <ecerisier at nexgenfs dot com>
Subject: Re: Need your help with installation of Sybperl 2.18 on Linux
Date: Oct 12 2006 6:48AM




  




michael.peppler@bnpparibas.com wrote:

Hmmm.

Are you sure that you are using the correct perl binary wher you are building sybperl?
What does "file `which perl`" show?

Michael


       Hi Michael,

Here's some infos :

[root@sybtest sybperl-2.17]# which perl
/usr/local/bin/perl
[root@sybtest sybperl-2.17]# ldd `which perl`
        libnsl.so.1 => /lib64/libnsl.so.1 (0x000000315dc00000)
        libdl.so.2 => /lib64/libdl.so.2 (0x0000003158100000)
        libm.so.6 => /lib64/tls/libm.so.6 (0x0000003158600000)
        libc.so.6 => /lib64/tls/libc.so.6 (0x0000003158300000)
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x000000315d800000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003157f00000)
[root@sybtest sybperl-2.17]# perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.6.9-34.elsmp, archname=x86_64-linux
    uname='linux sybtest.fr.nexgenfs.com 2.6.9-34.elsmp #1 smp fri feb 24 16:56:28 est 2006 x86_64 x86_64 x86_64 gnulinux '
    config_args=''
    hint=previous, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-strict-aliasing   -I/usr/include/gdbm',
    optimize='-O2',
    cppflags='-fno-strict-aliasing -I/usr/include/gdbm -fno-strict-aliasing 
	-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -fno-strict-aliasing 
	-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -fno-strict-aliasing -I/usr/include/gdbm'
    ccversion='', gccversion='3.4.5 20051201 (Red Hat 3.4.5-2)', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lgdbm -ldl -lm -lc -lcrypt
    perllibs=-lnsl -ldl -lm -lc -lcrypt
    libc=/lib/libc-2.3.4.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.3.4'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: USE_LARGE_FILES
  Built under linux
  Compiled at Oct 10 2006 18:09:33
  @INC:
    /usr/local/lib/perl5/5.8.0/x86_64-linux
    /usr/local/lib/perl5/5.8.0
    /usr/local/lib/perl5/site_perl/5.8.0/x86_64-linux
    /usr/local/lib/perl5/site_perl/5.8.0
    /usr/local/lib/perl5/site_perl


Note that I'm trying to use sybperl 2.17 (not the last version I think), I'm not sure wether it's important...


Thanks anyway,

--
Emmanuel.