Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

A CONS is an object which cares. -- Bernie Greenberg.


devel / comp.databases.ingres / Re: [Info-ingres] Problem compiling perl DBI

SubjectAuthor
o Re: [Info-ingres] Problem compiling perl DBInikosv

1
Re: [Info-ingres] Problem compiling perl DBI

<c32232f5-e2c3-44bb-8212-e0dc5cdf61b5n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=93&group=comp.databases.ingres#93

  copy link   Newsgroups: comp.databases.ingres
X-Received: by 2002:a37:aec2:: with SMTP id x185mr5618001qke.294.1623961123307; Thu, 17 Jun 2021 13:18:43 -0700 (PDT)
X-Received: by 2002:aca:e156:: with SMTP id y83mr4652888oig.155.1623961123031; Thu, 17 Jun 2021 13:18:43 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!feeder1.feed.usenet.farm!feed.usenet.farm!tr3.eu1.usenetexpress.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.databases.ingres
Date: Thu, 17 Jun 2021 13:18:42 -0700 (PDT)
In-Reply-To: <mailman.49.1623921008.1681.info-ingres@lists.planetingres.org>
Injection-Info: google-groups.googlegroups.com; posting-host=46.246.235.245; posting-account=HVjXiwoAAABbMuZJSsy6aGtjsYOerfGt
NNTP-Posting-Host: 46.246.235.245
References: <AQHXY1MWpK8FsXVQwkulH3ve3QGkXasX4qwAgAACcoCAAAOdgA==> <8f57f2771a424e4f9de74fd6065b8c1c@ndph.ox.ac.uk> <626b1a26-b2ad-4db4-b076-e4d502eeff88@bgr.de> <befdfc63e3cb43da88054ea4e6d1b93d@ndph.ox.ac.uk> <mailman.49.1623921008.1681.info-ingres@lists.planetingres.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c32232f5-e2c3-44bb-8212-e0dc5cdf61b5n@googlegroups.com>
Subject: Re: [Info-ingres] Problem compiling perl DBI
From: nikos.vaggalis@gmail.com (nikosv)
Injection-Date: Thu, 17 Jun 2021 20:18:43 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 106
 by: nikosv - Thu, 17 Jun 2021 20:18 UTC

On Thursday, June 17, 2021 at 12:12:09 PM UTC+3, Václav Dohnal wrote:
> Hi Marty,
> I'm compiling DBD::IngresII quite often on Centos 7. What I have to do is to add stdc++ library to compilation. Without this library you can’t compile IngresII.so. I’ve written to the author of this module but no response. The best option is Makefile.PL:
> $opts{dynamic_lib} = { OTHERLDFLAGS => " $ld_options -lstdc++" };
> Hope this helps
> Vasek
> -----Original Message-----
> From: info-ingr...@lists.planetingres.org <info-ingr...@lists.planetingres.org> On Behalf Of Martin Bowes
> Sent: Thursday, June 17, 2021 10:51 AM
> To: stelling <Uwe.St...@bgr.de>; info-...@lists.planetingres.org
> Subject: Re: [Info-ingres] Problem compiling perl DBI
> Hi Uwe
> The Makefile has:
> OTHERLDFLAGS = -L"/dbsystem/II/ingres/lib" -lingres -lrt
> That is the correct path for this installation.
> Marty
> -----Original Message-----
> From: stelling <Uwe.St...@bgr.de>
> Sent: 17 June 2021 09:42
> To: info-...@lists.planetingres.org
> Subject: Re: [Info-ingres] Problem compiling perl DBI
> Hi,
> is a option -L missing?
> Following option -lingres the compiler search for libingres.a, libingres.so ... on a list of directories. The directory list is expanded with options -L...
> my makefiles use
> ... -L/opt/Actian/IngresII/ingres/lib -lingres ...
> Uwe
> Am 17.06.21 um 10:30 schrieb Martin Bowes:
> > Hi All,
> >
> > In response to a strange situation where my programs had connected to
> > a database, set date_format 'dmy' and then returned dates in the
> > installation default multinational4 format I decided on a fresh
> > install of Perl DBI on this platform.
> >
> > The platform is: CentOS Linux release 7.9.2009 (Core)
> >
> > Can anyone explain the following?
> >
> > perl Makefile.PL
> >
> > Configuring DBD::IngresII...
> >
> > Found Ingres at : "/dbsystem/II"
> >
> > Using DBI 1.627 (for perl 5.016003 on x86_64-linux-thread-multi)
> > installed in /usr/lib64/perl5/vendor_perl/auto/DBI/
> >
> > Checking if your kit is complete...
> >
> > Looks good
> >
> > Warning (mostly harmless): No library found for -lingres
> >
> > Writing Makefile for DBD::IngresII
> >
> > And $II_SYSTEM/ingres/lib/libingres.a is in existence on this host. So
> > that message surprised me. Nonetheless it was flagged as mostly
> > harmless so I pressed on and the compilation seemed to complete. Then
> > I ran a test program which failed at the connect, generating the following:
> >
> > install_driver(IngresII) failed: Can't load
> > '/home/ingres/DBD/auto/DBD/IngresII/IngresII.so' for module
> > DBD::IngresII: /home/ingres/DBD/auto/DBD/IngresII/IngresII.so:
> > undefined
> > symbol: __gxx_personality_v0 at /usr/lib64/perl5/DynaLoader.pm line 190..
> >
> > at (eval 4) line 3.
> >
> > Compilation failed in require at (eval 4) line 3.
> >
> > Perhaps a required shared library or dll isn't installed where
> > expected
> >
> > at /home/ingres/scripts/perl/Classes/runDBI.pm line 336.
> >
> > Anyone?
> >
> > Marty
> >
> >
> > _______________________________________________
> > Info-ingres mailing list
> > Info-...@lists.planetingres.org
> > https://lists.planetingres.org/mailman/listinfo/info-ingres
> >
> _______________________________________________
> Info-ingres mailing list
> Info-...@lists.planetingres.org
> https://lists.planetingres.org/mailman/listinfo/info-ingres
> _______________________________________________
> Info-ingres mailing list
> Info-...@lists.planetingres.org
> https://lists.planetingres.org/mailman/listinfo/info-ingres

I think that -lstdc++ is a requirement for Ingres versions > 10.2

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor