|
|
sybperl-l Archive
Up Prev Next
From: michael dot peppler at bnpparibas dot com
Subject: Re: Need your help with installation of Sybperl 2.18 on Linux
Date: Oct 12 2006 6:58AM
Well, your perl is still 64bit...
[root@sybtest sybperl-2.17]# ldd `which perl`
libnsl.so.1 => /lib64/libnsl.so.1 (0x000000315dc00000)
------------------------------------------------------------^^^^^^^^
and
ptrsize=8
which shows that pointers are 8 bytes...
I don't have an X86-64 linux running anywhere, so I can't tell you exactly
what the incantation is to get a 32bit build.
Michael
Internet
ecerisier@nexgenfs.com@peppler.org - 12.10.2006 08:48
Sent by: owner-sybperl-l@peppler.org
To: sybperl-l
cc:
Subject: Re: Need your help with installation of Sybperl 2.18 on
Linux
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
[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 -VSummary 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.
This message and any attachments (the "message") is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified.
---------------------------------------------
Ce message et toutes les pieces jointes (ci-apres le
"message") sont etablis a l'intention exclusive de ses
destinataires et sont confidentiels. Si vous recevez ce
message par erreur, merci de le detruire et d'en avertir
immediatement l'expediteur. Toute utilisation de ce
message non conforme a sa destination, toute diffusion
ou toute publication, totale ou partielle, est interdite, sauf
autorisation expresse. L'internet ne permettant pas
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce
message, dans l'hypothese ou il aurait ete modifie.
|