pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Edmund Mergl <E.Mergl@bawue.de>
To: Thomas Good <tomg@nrnet.org>
Cc: pgsql-interfaces@hub.org
Subject: Re: DBD::Pg on UnixWare
Date: Sat, 01 May 1999 21:33:32 +0200
Message-ID: <372B570C.D94F5B95@bawue.de> (raw)
References: <Pine.LNX.3.96.990501093355.19968B-100000@mailhost.nrnet.org>

Thomas Good wrote:
> 
> Vital Signs:
> ------------
> Database version:     PostgreSQL 6.3.2
> Alleged OS:           UnixWare 2.1.2
> Perl Version:         Perl 5.004_04
> DBI Module:           DBI 0.91
> DBD Driver:           DBD-Pg 0.69
> 
> Gratuitous Whining:
> ------------------
> This combination runs fine on Linux 2.0.30 (Slackware 3.4) and
> FreeBSD 2.2.7 and 2.2.8 (Perl 5.005) but, like so many other things,
> has trouble working properly on UnixWare...
> 
> Symptoms:
> ---------
> The most rudimentary report that uses DBI::DBD-Pg to return a cursor
> select is failing with:
> 
> dynamic linker: /usr/bin/perl: symbol not found: strncasecmp
> 
> Debug Attempt:
> -------------
> perl debug shows that the query is dying at line 101 of Pg.pm:
> 
> 101:  DBD::Pg::db::prepare(/opt/lib/perl5/site_perl/DBD/Pg.pm: 101):
>       DBD::Pg::st_prepare($sth, $statement, @attribs)
> 102:          or return undef;
> 
> If I comment out the PAGER simply connect to the db I can do so
> without complaint.  My $dbh->disconnect also exits without err.
> 
> Any advice most appreciated (danke sehr, Edmund)...
> Tom
> ----
>          North Richmond Community Mental Health Center
> 
>          Thomas Good   Information Systems Coordinator
>          E-Mail:       tomg@ { admin | q8 } .nrnet.org
>          Phone:        718-354-5528
>          Fax:          718-354-5056
> 
>                  Empowered by PostgreSQL 6.3.2


in Pg.xs replace strncasecmp() by strncmp(). 
The check, in which strncasecmp is used,
will not be as strict, as it should, but 
this is not critical.

Edmund

-- 
Edmund Mergl          mailto:E.Mergl@bawue.de
Im Haldenhau 9        http://www.bawue.de/~mergl
70565 Stuttgart       fon: +49 711 747503
Germany



view thread (2+ messages)

Message-ID: <372B570C.D94F5B95@bawue.de>
Permalink:  ../372B570C.D94F5B95@bawue.de/
Also on:    postgresql.org/message-id/372B570C.D94F5B95@bawue.de

 · 

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: E.Mergl@bawue.de, tomg@nrnet.org, pgsql-interfaces@hub.org
  Subject: Re: DBD::Pg on UnixWare
  In-Reply-To: <372B570C.D94F5B95@bawue.de>

* 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