Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Felson's Law: To steal ideas from one person is plagiarism; to steal from many is research.


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

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

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

<mailman.48.1623919857.1681.info-ingres@lists.planetingres.org>

  copy mid

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

  copy link   Newsgroups: comp.databases.ingres
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 17 Jun 2021 03:52:03 -0500
Return-Path: <martin.bowes@ndph.ox.ac.uk>
X-Original-To: info-ingres@lists.planetingres.org
Delivered-To: info-ingres@mort.croker.net
From: martin.b...@ndph.ox.ac.uk (Martin Bowes)
To: stelling <Uwe.Stelling@bgr.de>, "info-ingres@lists.planetingres.org"
<info-ingres@lists.planetingres.org>
Date: Thu, 17 Jun 2021 08:50:55 +0000
References: <8f57f2771a424e4f9de74fd6065b8c1c@ndph.ox.ac.uk>
<626b1a26-b2ad-4db4-b076-e4d502eeff88@bgr.de>
In-Reply-To: <626b1a26-b2ad-4db4-b076-e4d502eeff88@bgr.de>
Content-Language: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-WatchGuard-AntiVirus: part scanned. clean action=allow
Subject: Re: [Info-ingres] Problem compiling perl DBI
X-BeenThere: info-ingres@lists.planetingres.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <info-ingres.lists.planetingres.org>
List-Unsubscribe: <https://lists.planetingres.org/mailman/options/info-ingres>,
<mailto:info-ingres-request@lists.planetingres.org?subject=unsubscribe>
List-Archive: <https://lists.planetingres.org/pipermail/info-ingres/>
List-Post: <mailto:info-ingres@lists.planetingres.org>
List-Help: <mailto:info-ingres-request@lists.planetingres.org?subject=help>
List-Subscribe: <https://lists.planetingres.org/mailman/listinfo/info-ingres>,
<mailto:info-ingres-request@lists.planetingres.org?subject=subscribe>
Newsgroups: comp.databases.ingres
Message-ID: <mailman.48.1623919857.1681.info-ingres@lists.planetingres.org>
Lines: 92
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-cUVexvV0PKTN1vBRYYBxYYODrkU/zsII8Qib9U+7Qw0Ai0BzbaovN5tcAGOcaE3TzRIiDbeJBPbM+Ke!jzQAoYA/sPMF2VmxTHTWTXorVNPfg6KOOfKRBjJmtzIaRIOrS2Sc3CdlIsKKIVMOOZA4HT6F3IZf!XHl0ps5kJHvSjkl4UnaB9g==
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 4876
 by: Martin Bowes - Thu, 17 Jun 2021 08:50 UTC

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.Stelling@bgr.de>
Sent: 17 June 2021 09:42
To: info-ingres@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-ingres@lists.planetingres.org
> https://lists.planetingres.org/mailman/listinfo/info-ingres
>
_______________________________________________
Info-ingres mailing list
Info-ingres@lists.planetingres.org
https://lists.planetingres.org/mailman/listinfo/info-ingres

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor