Skip site navigation (1) Skip section navigation (2)


From: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
To: Cassandra Stinson <stinson(at)arch(dot)cs(dot)umsl(dot)edu>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re:
Date: 2000-12-19 15:38:39
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
> 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/, 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

In response to

  • at 2000-12-18 16:37:20 from Cassandra Stinson

pgsql-interfaces by date

Next:From: Michael MeskesDate: 2000-12-19 16:31:16
Subject: Re: Possible memory leak in Postgres V7.0.2/ecpg 2.7.1
Previous:From: Jimi ThompsonDate: 2000-12-19 15:16:31
Subject: Perl & Postgres

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group