comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Installation problem in Debian 7: gnatcoll-gpl-2013-src
Date: Tue, 2 Jul 2013 17:04:21 +0200
Date: 2013-07-02T17:04:21+02:00	[thread overview]
Message-ID: <s06062e1vqzo.89e34hu2se1l.dlg@40tude.net> (raw)
In-Reply-To: b61e3307-3cb0-46a0-853f-07392bf41e24@googlegroups.com

On Tue, 2 Jul 2013 07:40:12 -0700 (PDT), Multiplayer1080 wrote:

> Hi Dmitry A. Kazakov. Good Day. I'm trying to use the SIMPLE COMPONENTS
> version 3.22 by Dmitry A. Kazakov. But the compiler throw me the next message:

[...]
> /opt/gnat/bin/../libexec/gcc/i686-pc-linux-gnu/4.7.4/ld: cannot find -lodbc32
_______________________________________________________^^^^^
> collect2: error: ld returned 1 exit status
> gnatlink: error when calling /opt/gnat/bin/gcc
> gnatmake: *** link failed.
>
> The setup of my project is this: http://www.comelecinca.com/test/Screenshot.png

odbc32 is the MS ODBC driver manager. Under Linux you should use unixODBC 
instead.

When you install a prepackaged version of Simple Components on Debian or 
Fedora these come with the driver manager is preset to unixODBC.

Since you seem to use sources, you should select the corresponding project 
scenario variable "odbc" in the GPS as "unixODBC". Because the default is 
"ODBC32", which is for Windows.

BTW, the folder ./test_components contains 

   components-odbc-odbc_bindings_tests.gpr

project. It performs extensive tests of both the bindings and the 
capacities of the DBMS and its driver you want to access.

Do not forget to install unix odbc, a driver for your DBMS (e.g. for 
PostgreSQL) and configure it (e.g. set up a datasource etc).

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de


  reply	other threads:[~2013-07-02 15:04 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-27 20:16 Installation problem in Debian 7: gnatcoll-gpl-2013-src Multiplayer1080
2013-06-28 11:45 ` Multiplayer1080
2013-06-28 16:33   ` Ludovic Brenta
2013-06-28 16:35     ` Ludovic Brenta
2013-06-28 17:57       ` Multiplayer1080
2013-06-28 19:55     ` Dmitry A. Kazakov
2013-06-30 19:44       ` Multiplayer1080
2013-06-30 19:44       ` Multiplayer1080
2013-07-01  7:24         ` Dmitry A. Kazakov
2013-07-02 14:40           ` Multiplayer1080
2013-07-02 15:04             ` Dmitry A. Kazakov [this message]
2013-07-02 15:08             ` Dmitry A. Kazakov
2013-07-04 20:56               ` Multiplayer1080
2013-07-05  7:08                 ` Dmitry A. Kazakov
2013-06-29  6:26 ` Dirk Heinrichs
2013-06-29  7:04 ` Simon Wright
2013-06-29  7:54 ` Stephen Leake
2013-06-30 19:38   ` Multiplayer1080
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox