pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Lockhart <lockhart@alumni.caltech.edu>
To: Cassandra Stinson <stinson@arch.cs.umsl.edu>
Cc: pgsql-interfaces@postgresql.org
Subject: Re:
Date: Tue, 19 Dec 2000 15:38:39 +0000
Message-ID: <3A3F80FF.ED447EA2@alumni.caltech.edu> (raw)
References: <200012181644.KAA01759@arch.umsl.edu>

> Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
>   Platform:
>     osname=solaris, osvers=2.7, archname=sun4-solaris
>     uname='sunos 5.7 generic_patch sun4u sparc sunw,ultra-1 '
>     hint=recommended, useposix=true, d_sigaction=define
>     usethreads=undef useperlio=undef d_sfio=undef
>   Compiler:
>     cc='gcc', optimize='-O', gccversion=2.8.1
>     cppflags='-I/usr/local/include'
>     ccflags ='-I/usr/local/include'
>     stdchar='char', d_stdstdio=define, usevfork=false
>     intsize=4, longsize=4, ptrsize=4, doublesize=8
>     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
>     alignbytes=8, usemymalloc=y, prototype=define
>   Linker and Libraries:
>     ld='gcc', ldflags =' -L/usr/local/lib'
>     libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
>     libs=-lsocket -lnsl -lgdbm -ldl -lm -lc -lcrypt
>     libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
>   Dynamic Linking:
>     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
>     cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'
> 
> Characteristics of this binary (from libperl):
>   Built under solaris
>   Compiled at Jun 27 1999 20:12:35
>   @INC:
>     /usr/local/lib/perl5/5.00503/sun4-solaris
>     /usr/local/lib/perl5/5.00503
>     /usr/local/lib/perl5/site_perl/5.005/sun4-solaris
>     /usr/local/lib/perl5/site_perl/5.005
>     .
> The version of postgreSQL is v 7 and the corresponding pgsql_perl5 that came
> with perl /postgreSQL.
> 
> We are getting a bus eror everytime that we run using the "use Pg;" module. In
> our log file we get the message that the script header is terminating
> prematurely. Is there a possibility of corruption? All other modules work fine
> and we have reconfigured several times to alleviate the problem. We are
> compiling origionally with gcc on a Sun system.  Would you happen to have
> heard of this problem?

I have not heard of this problem. I do notice that the version of gcc
you are running (2.8.x) -- or at least used for compiling the original
perl package -- is notorious for not being of the quality of the 2.7 and
2.9 releases. You might consider running a more modern compiler if
possible but I'm not sure if that is at all related to your symptoms.

                     - Thomas



view thread (3+ messages)  latest in thread

Message-ID: <3A3F80FF.ED447EA2@alumni.caltech.edu>
Permalink:  ../3A3F80FF.ED447EA2@alumni.caltech.edu/
Also on:    postgresql.org/message-id/3A3F80FF.ED447EA2@alumni.caltech.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: lockhart@alumni.caltech.edu, stinson@arch.cs.umsl.edu
  Subject: Re:
  In-Reply-To: <3A3F80FF.ED447EA2@alumni.caltech.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox