pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedbuilding psqlodbc-07.03.0260 failed: "no suitable ODBC driver manager found"
4+ messages / 2 participants
[nested] [flat]
* building psqlodbc-07.03.0260 failed: "no suitable ODBC driver manager found"
@ 2006-03-06 16:36 Lee Rubao <lee.lestat@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Lee Rubao @ 2006-03-06 16:36 UTC (permalink / raw)
To: pgsql-odbc
hi,all:
I tried to build psqlodbc-07.03.0260 on FreeBSD 5.4(i386 machine) but
failed.
When I run "./configure --with-unixodbc" in the psqlodbc source dir and the
following was given:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for SQLGetPrivateProfileString in -lodbcinst... no
configure: error: unixODBC driver manager not found
I have already installed unixODBC-2.2.11 which is working well on my
machine.
But ,what is the problem of building psqlodbc and how can i fix it?
Yours,
Lestat
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: building psqlodbc-07.03.0260 failed: "no suitable ODBC driver manager found"
@ 2006-03-06 17:03 Hiroshi Saito <saito@inetrt.skcapi.co.jp>
parent: Lee Rubao <lee.lestat@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Hiroshi Saito @ 2006-03-06 17:03 UTC (permalink / raw)
To: Lee Rubao <lee.lestat@gmail.com>; +Cc: pgsql-odbc
From: "Lee Rubao"
> I have already installed unixODBC-2.2.11 which is working well on my
> machine.
>
> But ,what is the problem of building psqlodbc and how can i fix it?
Umm, Is the directory which you installed contained in path?
Although odbc_config shows the place, is there?
or place of libodbcinst.a....
configure looks for SQLGetPrivateProfileString of odbcinst.
Regards,
Hiroshi Saito
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: building psqlodbc-07.03.0260 failed: "no suitable ODBC driver manager found"
@ 2006-03-06 17:33 Hiroshi Saito <saito@inetrt.skcapi.co.jp>
parent: Hiroshi Saito <saito@inetrt.skcapi.co.jp>
0 siblings, 1 reply; 4+ messages in thread
From: Hiroshi Saito @ 2006-03-06 17:33 UTC (permalink / raw)
To: Lee Rubao <lee.lestat@gmail.com>; +Cc: pgsql-odbc
> > I have already installed unixODBC-2.2.11 which is working well on my
> > machine.
> >
> > But ,what is the problem of building psqlodbc and how can i fix it?
>
> Umm, Is the directory which you installed contained in path?
> Although odbc_config shows the place, is there?
> or place of libodbcinst.a....
> configure looks for SQLGetPrivateProfileString of odbcinst.
Ahh, Some supplement.
Please see CONFIG_sample.txt
CPPFLAGS="-I/usr/local/include -I/usr/local/pgsql/include -I/usr/include/openssl"
LDFLAGS="-L/usr/local/lib -L/usr/local/pgsql/lib"
export CPPFLAGS LDFLAGS
configure --enable-unicode --with-unixodbc --with-odbcver=0x0300 --enable-pthreads
Furthermore, Please check of LD_LIBRARY_PATH at the time of execution.
Regards,
Hiroshi Saito
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: building psqlodbc-07.03.0260 failed: "no suitable ODBC driver manager found"
@ 2006-03-06 18:07 Lee Rubao <lee.lestat@gmail.com>
parent: Hiroshi Saito <saito@inetrt.skcapi.co.jp>
0 siblings, 0 replies; 4+ messages in thread
From: Lee Rubao @ 2006-03-06 18:07 UTC (permalink / raw)
To: Hiroshi Saito <saito@inetrt.skcapi.co.jp>; +Cc: pgsql-odbc
Thank you. I finished the compilation with LDFLAGS = -L/usr/local/lib.
2006/3/7, Hiroshi Saito <saito@inetrt.skcapi.co.jp>:
>
> > > I have already installed unixODBC-2.2.11 which is working well on my
> > > machine.
> > >
> > > But ,what is the problem of building psqlodbc and how can i fix it?
> >
> > Umm, Is the directory which you installed contained in path?
> > Although odbc_config shows the place, is there?
> > or place of libodbcinst.a....
> > configure looks for SQLGetPrivateProfileString of odbcinst.
>
> Ahh, Some supplement.
> Please see CONFIG_sample.txt
>
> CPPFLAGS="-I/usr/local/include -I/usr/local/pgsql/include
> -I/usr/include/openssl"
> LDFLAGS="-L/usr/local/lib -L/usr/local/pgsql/lib"
> export CPPFLAGS LDFLAGS
> configure --enable-unicode --with-unixodbc --with-odbcver=0x0300
> --enable-pthreads
>
> Furthermore, Please check of LD_LIBRARY_PATH at the time of execution.
>
> Regards,
> Hiroshi Saito
>
>
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2006-03-06 18:07 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-03-06 16:36 building psqlodbc-07.03.0260 failed: "no suitable ODBC driver manager found" Lee Rubao <lee.lestat@gmail.com>
2006-03-06 17:03 ` Hiroshi Saito <saito@inetrt.skcapi.co.jp>
2006-03-06 17:33 ` Hiroshi Saito <saito@inetrt.skcapi.co.jp>
2006-03-06 18:07 ` Lee Rubao <lee.lestat@gmail.com>
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