[Bioperl-l] compiling ext-1.4 on solaris 2.9

mkur at gazeta.pl mkur at gazeta.pl
Wed Jul 21 23:43:03 EDT 2004


Hi,

It seems Bioperl-ext-1.4 is not actually easy to compile on Solaris.
I must say it is a 64-bit, iThread Perl but still ;-)
Other XS modules were built with no problems.

I'm interested in Align module only. I followed the instructions and
compilation went OK. "make test" is not so easy ...


PERL_DL_NONLAZY=1 /usr/local/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
1..2
Can't load 'blib/arch/auto/Bio/Ext/Align/Align.so' for module
Bio::Ext::Align:
ld.so.1: /usr/local/bin/perl: fatal: relocation error:
file blib/arch/auto/Bio/Ext/Align/Align.so:
symbol bp_sw_error_on: referenced symbol not found
at /usr/local/lib/perl5/5.8.1/sun4-solaris-thread-multi-64/DynaLoader.pm
line 229. at test.pl line 10

My "perl -V" output is given below. (sorry for wrapped lines -
bioperl mail hub seems to refuse to accept attachments).

I hope someone has seen this before ...



Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration:
  Platform:
    osname=solaris, osvers=2.9,archname=sun4-solaris-thread-multi-64
    uname='sunos tequila 5.9 generic_112233-08 sun4usparc
sunw,sun-fire-v210 '
    config_args='-Dcc=gcc -mcpu=v9 -m64'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=define uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc -mcpu=v9 -m64', ccflags ='-D_REENTRANT
-fno-strict-aliasing -I/usr/local/include -mcpu=v9 -m64
-Wa,-xarch=v9  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O3',
    cppflags='-D_REENTRANT -fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='3.3.1', gccosandvers='solaris2.9'
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321
    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='gcc -mcpu=v9 -m64', ldflags =' -L/usr/local/lib '
    libpth=/usr/local/lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lpthread -lc
    perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc
    libc=/usr/lib/sparcv9/libc.so, so=so, useshrplib=false,
libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='  -z
ignore -z lazyload -z combreloc'
    cccdlflags='-fPIC', lddlflags=' -G  -z ignore -z lazyload -z
combreloc -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT
USE_64_BIT_ALL USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
  Built under solaris
  Compiled at Nov  4 2003 15:46:19
  @INC:
   /usr/local/lib/perl5/5.8.1/sun4-solaris-thread-multi-64
   /usr/local/lib/perl5/5.8.1
   /usr/local/lib/perl5/site_perl/5.8.1/sun4-solaris-thread-multi-64
   /usr/local/lib/perl5/site_perl/5.8.1
   /usr/local/lib/perl5/site_perl
   .







More information about the Bioperl-l mailing list