Re: odbc_config missing

2022-07-25 Thread David Wright
On Thu 21 Jul 2022 at 11:47:58 (-0500), Igor Korot wrote: > On Thu, Jul 21, 2022 at 10:31 AM David Wright > wrote: > > On Thu 21 Jul 2022 at 10:15:43 (-0400), Greg Wooledge wrote: > > > On Thu, Jul 21, 2022 at 09:06:53AM -0500, David Wright wrote: > > > > I thought that was what the attached was

Re: odbc_config missing

2022-07-21 Thread Igor Korot
But enough this flame war. I will probably bake somethig that will identify the presence of odbc_config and put it in the configure.ac/configure... Thank you. On Fri, Jul 22, 2022 at 12:59 AM Igor Korot wrote: > > Hi > > On Fri, Jul 22, 2022 at 12:13 AM wrote: > > > > On Fri, Jul 22, 2022 at 12

Re: odbc_config missing

2022-07-21 Thread Igor Korot
Hi On Fri, Jul 22, 2022 at 12:13 AM wrote: > > On Fri, Jul 22, 2022 at 12:03:46AM -0500, Igor Korot wrote: > > Hi, > > > > On Thu, Jul 21, 2022 at 10:57 PM wrote: > > > > > > On Thu, Jul 21, 2022 at 11:47:58AM -0500, Igor Korot wrote: > > > > > > [...] > > > > > > > It still feels wrong however,

Re: odbc_config missing

2022-07-21 Thread tomas
On Fri, Jul 22, 2022 at 12:03:46AM -0500, Igor Korot wrote: > Hi, > > On Thu, Jul 21, 2022 at 10:57 PM wrote: > > > > On Thu, Jul 21, 2022 at 11:47:58AM -0500, Igor Korot wrote: > > > > [...] > > > > > It still feels wrong however, that the distro maintainers dictate > > > to upstream packages ho

Re: odbc_config missing

2022-07-21 Thread Igor Korot
Hi, On Thu, Jul 21, 2022 at 10:57 PM wrote: > > On Thu, Jul 21, 2022 at 11:47:58AM -0500, Igor Korot wrote: > > [...] > > > It still feels wrong however, that the distro maintainers dictate > > to upstream packages how to do their business. > > which is... distributing and integrating the softwar

Re: odbc_config missing

2022-07-21 Thread tomas
On Thu, Jul 21, 2022 at 11:47:58AM -0500, Igor Korot wrote: [...] > It still feels wrong however, that the distro maintainers dictate > to upstream packages how to do their business. which is... distributing and integrating the software? (after all, that's what those *-config are supposed to do,

Re: odbc_config missing

2022-07-21 Thread David Wright
On Thu 21 Jul 2022 at 10:42:41 (-0500), Igor Korot wrote: > On Thu, Jul 21, 2022 at 10:31 AM David Wright > wrote: > > On Thu 21 Jul 2022 at 10:15:43 (-0400), Greg Wooledge wrote: > > > On Thu, Jul 21, 2022 at 09:06:53AM -0500, David Wright wrote: > > > > I thought that was what the attached was

Re: odbc_config missing

2022-07-21 Thread Igor Korot
Hi, On Thu, Jul 21, 2022 at 10:31 AM David Wright wrote: > > On Thu 21 Jul 2022 at 10:15:43 (-0400), Greg Wooledge wrote: > > On Thu, Jul 21, 2022 at 09:06:53AM -0500, David Wright wrote: > > > I thought that was what the attached was (actually for Ubuntu AIUI). > > > As I originally wrote, "As i

Re: odbc_config missing

2022-07-21 Thread Igor Korot
Hi, On Thu, Jul 21, 2022 at 10:31 AM David Wright wrote: > > On Thu 21 Jul 2022 at 10:15:43 (-0400), Greg Wooledge wrote: > > On Thu, Jul 21, 2022 at 09:06:53AM -0500, David Wright wrote: > > > I thought that was what the attached was (actually for Ubuntu AIUI). > > > As I originally wrote, "As i

Re: odbc_config missing

2022-07-21 Thread David Wright
On Thu 21 Jul 2022 at 10:15:43 (-0400), Greg Wooledge wrote: > On Thu, Jul 21, 2022 at 09:06:53AM -0500, David Wright wrote: > > I thought that was what the attached was (actually for Ubuntu AIUI). > > As I originally wrote, "As if by magic, […] someone else supplies a copy." > > > > > #! /bin/sh

Re: odbc_config missing

2022-07-21 Thread Igor Korot
Hi, On Thu, Jul 21, 2022 at 9:16 AM Greg Wooledge wrote: > > On Thu, Jul 21, 2022 at 09:06:53AM -0500, David Wright wrote: > > I thought that was what the attached was (actually for Ubuntu AIUI). > > As I originally wrote, "As if by magic, […] someone else supplies a copy." > > > > Cheers, > > Da

Re: odbc_config missing

2022-07-21 Thread Greg Wooledge
On Thu, Jul 21, 2022 at 09:06:53AM -0500, David Wright wrote: > I thought that was what the attached was (actually for Ubuntu AIUI). > As I originally wrote, "As if by magic, […] someone else supplies a copy." > > Cheers, > David. > #! /bin/sh > > # This shell script saves various pieces of info

Re: odbc_config missing

2022-07-21 Thread David Wright
On Thu 21 Jul 2022 at 06:59:13 (-0400), Greg Wooledge wrote: > > > > /bin/bash ../libtool --tag=CXX --mode=link g++ -I../../dbinterface > > > > -DUNICODE -DUNIXODBC -I`odbc_config --cflags` -g -O0 -L../dbinterface > > > > -ldbinterface `odbc_config --libs` -lodbcinst -o libodbc_lib.la > > > >

Re: odbc_config missing

2022-07-21 Thread Greg Wooledge
> > > /bin/bash ../libtool --tag=CXX --mode=link g++ -I../../dbinterface > > > -DUNICODE -DUNIXODBC -I`odbc_config --cflags` -g -O0 -L../dbinterface > > > -ldbinterface `odbc_config --libs` -lodbcinst -o libodbc_lib.la > > > -rpath /usr/local/lib libodbc_lib_la-database_odbc.lo > > > /bin/bas

Re: odbc_config missing

2022-07-20 Thread Igor Korot
Hi, On Wed, Jul 20, 2022 at 9:32 PM Greg Wooledge wrote: > > On Wed, Jul 20, 2022 at 09:12:51PM -0500, Igor Korot wrote: > > And those are what was made on Debian with the same Makefile.am: > > OK! > > [...] > > /bin/bash ../libtool --tag=CXX --mode=link g++ -I../../dbinterface > > -DUNICODE -

Re: odbc_config missing

2022-07-20 Thread Greg Wooledge
On Wed, Jul 20, 2022 at 09:12:51PM -0500, Igor Korot wrote: > And those are what was made on Debian with the same Makefile.am: OK! [...] > /bin/bash ../libtool --tag=CXX --mode=link g++ -I../../dbinterface > -DUNICODE -DUNIXODBC -I`odbc_config --cflags` -g -O0 -L../dbinterface > -ldbinterface

Re: odbc_config missing

2022-07-20 Thread Igor Korot
Hi, On Wed, Jul 20, 2022 at 7:55 PM Greg Wooledge wrote: > > On Wed, Jul 20, 2022 at 07:46:43PM -0500, Igor Korot wrote: > > On Wed, Jul 20, 2022 at 7:28 PM Greg Wooledge wrote: > > > Can you show us the linker command that you ran, and its error message? > > > > This is the command generated on

Re: odbc_config missing

2022-07-20 Thread Igor Korot
And those are what was made on Debian with the same Makefile.am: /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../libodbc -I..-I../../dbinterface -DUNICODE -DUNIXODBC -I`odbc_config --cflags` -g -O0 -MT libodbc_lib_la-database_odbc.lo -MD -MP -MF .deps/libodbc_

Re: odbc_config missing

2022-07-20 Thread Greg Wooledge
On Wed, Jul 20, 2022 at 07:46:43PM -0500, Igor Korot wrote: > On Wed, Jul 20, 2022 at 7:28 PM Greg Wooledge wrote: > > Can you show us the linker command that you ran, and its error message? > > This is the command generated on Gentoo: How is that relevant to DEBIAN? > [code] > /bin/sh ../libto

Re: odbc_config missing

2022-07-20 Thread Igor Korot
Hi, On Wed, Jul 20, 2022 at 7:28 PM Greg Wooledge wrote: > > On Wed, Jul 20, 2022 at 07:05:28PM -0500, Igor Korot wrote: > > Please compare: > > > > In Gentoo: > > > > [code] > > igor@IgorReinCloud ~ $ odbc_config --libs > > -L/usr/lib64 -lodbc > > igor@IgorReinCloud ~ $ > > [/code] > > > > In De

Re: odbc_config missing

2022-07-20 Thread Greg Wooledge
On Wed, Jul 20, 2022 at 07:05:28PM -0500, Igor Korot wrote: > Please compare: > > In Gentoo: > > [code] > igor@IgorReinCloud ~ $ odbc_config --libs > -L/usr/lib64 -lodbc > igor@IgorReinCloud ~ $ > [/code] > > In Debian: > > [code] > igor@debian: ~ $ pkg-config --libs odbc > -lodbc > [/code] FI

Re: odbc_config missing

2022-07-20 Thread Igor Korot
Hi, guys, Please compare: In Gentoo: [code] igor@IgorReinCloud ~ $ odbc_config --libs -L/usr/lib64 -lodbc igor@IgorReinCloud ~ $ [/code] In Debian: [code] igor@debian: ~ $ pkg-config --libs odbc -lodbc [/code] Not good enough. ;-) When someone tries to build something on Debian and then test

Re: odbc_config missing

2022-07-20 Thread David Wright
On Wed 20 Jul 2022 at 14:33:39 (-0500), Igor Korot wrote: > On Wed, Jul 20, 2022 at 2:04 PM Greg Wooledge wrote: > > On Wed, Jul 20, 2022 at 01:48:34PM -0500, Igor Korot wrote: > > > This sentence from the OP: > > > > > > [quote] > > > I just tried to compile my program and got an error about it.

Re: odbc_config missing

2022-07-20 Thread David Wright
On Wed 20 Jul 2022 at 14:35:37 (-0500), Igor Korot wrote: > On Wed, Jul 20, 2022 at 2:24 PM Reco wrote: > > On Wed, Jul 20, 2022 at 12:41:03PM -0500, Igor Korot wrote: > > > On Wed, Jul 20, 2022 at 12:09 PM Reco wrote: > > > > On Wed, Jul 20, 2022 at 10:40:45AM -0500, Igor Korot wrote: > > > > >

Re: odbc_config missing

2022-07-20 Thread Igor Korot
Hi, On Wed, Jul 20, 2022 at 2:24 PM Reco wrote: > > On Wed, Jul 20, 2022 at 12:41:03PM -0500, Igor Korot wrote: > > Hi, > > > > On Wed, Jul 20, 2022 at 12:09 PM Reco wrote: > > > > > > Hi. > > > > > > On Wed, Jul 20, 2022 at 10:40:45AM -0500, Igor Korot wrote: > > > > I tried to run > >

Re: odbc_config missing

2022-07-20 Thread Igor Korot
Hi, On Wed, Jul 20, 2022 at 2:04 PM Greg Wooledge wrote: > > On Wed, Jul 20, 2022 at 01:48:34PM -0500, Igor Korot wrote: > > This sentence from the OP: > > > > [quote] > > I just tried to compile my program and got an error about it. > > [/quote] > > > > shows what I'm doing (it doesn't reference

Re: odbc_config missing

2022-07-20 Thread Reco
On Wed, Jul 20, 2022 at 12:41:03PM -0500, Igor Korot wrote: > Hi, > > On Wed, Jul 20, 2022 at 12:09 PM Reco wrote: > > > > Hi. > > > > On Wed, Jul 20, 2022 at 10:40:45AM -0500, Igor Korot wrote: > > > I tried to run > > > > > > pkg-config --libs unixodbc > > > > > > and it fails. > > > >

Re: odbc_config missing

2022-07-20 Thread Greg Wooledge
On Wed, Jul 20, 2022 at 01:48:34PM -0500, Igor Korot wrote: > This sentence from the OP: > > [quote] > I just tried to compile my program and got an error about it. > [/quote] > > shows what I'm doing (it doesn't reference unixODBC at all, does it?) > and the issue I'm facing. No. It does not.

Re: odbc_config missing

2022-07-20 Thread Igor Korot
Hi, David, On Wed, Jul 20, 2022 at 1:40 PM David Wright wrote: > > On Wed 20 Jul 2022 at 12:41:03 (-0500), Igor Korot wrote: > > On Wed, Jul 20, 2022 at 12:09 PM Reco wrote: > > > On Wed, Jul 20, 2022 at 10:40:45AM -0500, Igor Korot wrote: > > > > I tried to run > > > > > > > > pkg-config --libs

Re: odbc_config missing

2022-07-20 Thread David Wright
On Wed 20 Jul 2022 at 12:41:03 (-0500), Igor Korot wrote: > On Wed, Jul 20, 2022 at 12:09 PM Reco wrote: > > On Wed, Jul 20, 2022 at 10:40:45AM -0500, Igor Korot wrote: > > > I tried to run > > > > > > pkg-config --libs unixodbc >From a position of almost complete ignorance, I would have thought

Re: odbc_config missing

2022-07-20 Thread Igor Korot
Hi, On Wed, Jul 20, 2022 at 12:09 PM Reco wrote: > > Hi. > > On Wed, Jul 20, 2022 at 10:40:45AM -0500, Igor Korot wrote: > > I tried to run > > > > pkg-config --libs unixodbc > > > > and it fails. > > apt install unixodbc-dev It is installed and its the latest version... Thank you. > >

Re: odbc_config missing

2022-07-20 Thread Reco
Hi. On Wed, Jul 20, 2022 at 10:40:45AM -0500, Igor Korot wrote: > I tried to run > > pkg-config --libs unixodbc > > and it fails. apt install unixodbc-dev Reco

Re: odbc_config missing

2022-07-20 Thread Igor Korot
Hi, On Wed, Jul 20, 2022 at 10:13 AM Curt wrote: > > On 2022-07-20, Igor Korot wrote: > > > > Apparently it IS a known problem > > > > This - https://bugs.launchpad.net/ubuntu/+source/unixodbc/+bug/551701 - > > claims > > Ubuntu installs it and wants debian to follow. > > But then someone replie

Re: odbc_config missing

2022-07-20 Thread Curt
On 2022-07-20, Igor Korot wrote: > > Apparently it IS a known problem > > This - https://bugs.launchpad.net/ubuntu/+source/unixodbc/+bug/551701 - > claims > Ubuntu installs it and wants debian to follow. > But then someone replied that they made pkg-config file and ask others to > follow. I gues

Re: odbc_config missing

2022-07-20 Thread Igor Korot
Hi, On Tue, Jul 19, 2022, 10:18 PM David Wright wrote: > On Tue 19 Jul 2022 at 21:47:06 (-0500), Igor Korot wrote: > > > According to unixODBC maintainers, there is a script called odbc_config. > > > > It looks like this script is missing in Debian. > > > > I just tried to compile my program and

Re: odbc_config missing

2022-07-19 Thread David Wright
On Tue 19 Jul 2022 at 21:47:06 (-0500), Igor Korot wrote: > According to unixODBC maintainers, there is a script called odbc_config. > > It looks like this script is missing in Debian. > > I just tried to compile my program and got an error about it. > > How should I handle it? By typing the f