Re: Configuration error in psqlodbc-09.05.0100 Solaris 10

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Configuration error in psqlodbc-09.05.0100 Solaris 10
Дата
Msg-id 534c60aa-0ff3-8119-9ae1-4816c83607ac@aklaver.com
обсуждение исходный текст
Ответ на Configuration error in psqlodbc-09.05.0100 Solaris 10  ("Shinya, Araki" <saraki@pacific-systems.co.jp>)
Ответы Re: Configuration error in psqlodbc-09.05.0100 Solaris 10  ("Shinya, Araki" <saraki@pacific-systems.co.jp>)
Список pgsql-odbc
On 09/06/2016 11:42 PM, Shinya, Araki wrote:
> Hi All,
>
> I am trying to install psqlodbc-09.05.0100 in UNIX server –
> “Solaris 10 64-bit sparc”, from source and while running “./configure” , am
> getting below output and it fails with error message “configure: error:
> unixODBC library "odbcinst" not found”

Best guess, you do not have the unixODBC-devel (or its equivalent on
Solaris) libraries installed.

>
> -bash-3.00# LD=ld ./configure --with-unixodbc=/usr/local/bin/odbc_config
> --with-libpq=/opt/csw/lib/libpq.so.5
> checking for a BSD-compatible install... config/install-sh -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... config/install-sh -c -d
> checking for gawk... no
> checking for mawk... no
> checking for nawk... nawk
> checking whether make sets $(MAKE)... no
> checking whether make supports nested variables... no
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for gcc... no
> checking for cc... cc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... no
> checking whether cc accepts -g... yes
> checking for cc option to accept ISO C89... none needed
> checking whether cc understands -c and -o together... yes
> checking for style of include used by make... none
> checking dependency style of cc... none
> configure: using /usr/local/include /usr/local/lib
> checking last argument to SQLColAttribute is SQLLEN *... yes
> checking for prove... no
> checking build system type... sparc-sun-solaris2.10
> checking host system type... sparc-sun-solaris2.10
> checking how to print strings... printf
> checking for a sed that does not truncate output... /usr/bin/sed
> checking for grep that handles long lines and -e... /usr/xpg4/bin/grep
> checking for egrep... /usr/xpg4/bin/grep -E
> checking for fgrep... /usr/xpg4/bin/grep -F
> checking for non-GNU ld... ld
> checking if the linker (ld) is GNU ld... no
> checking for BSD- or MS-compatible name lister (nm)... /usr/ccs/bin/nm -p
> checking the name lister (/usr/ccs/bin/nm -p) interface... BSD nm
> checking whether ln -s works... yes
> checking the maximum length of command line arguments... 786240
> checking whether the shell understands some XSI constructs... yes
> checking whether the shell understands "+="... no
> checking how to convert sparc-sun-solaris2.10 file names to
> sparc-sun-solaris2.10 format... func_convert_file_noop
> checking how to convert sparc-sun-solaris2.10 file names to toolchain
> format... func_convert_file_noop
> checking for ld option to reload object files... -r
> checking for objdump... objdump
> checking how to recognize dependent libraries... pass_all
> checking for dlltool... dlltool
> checking how to associate runtime and link libraries... printf %s\n
> checking for ar... no
> checking for archiver @FILE support... no
> checking for strip... no
> checking for ranlib... no
> checking command to parse /usr/ccs/bin/nm -p output from cc object... failed
> checking for sysroot... no
> checking for mt... mt
> checking if mt is a manifest tool... no
> checking how to run the C preprocessor... /lib/cpp
> checking for ANSI C header files... no
> checking for sys/types.h... no
> checking for sys/stat.h... no
> checking for stdlib.h... no
> checking for string.h... no
> checking for memory.h... no
> checking for strings.h... no
> checking for inttypes.h... no
> checking for stdint.h... no
> checking for unistd.h... no
> checking for dlfcn.h... no
> checking for objdir... .libs
> checking for cc option to produce PIC... -KPIC -DPIC
> checking if cc PIC flag -KPIC -DPIC works... yes
> checking if cc static flag -Bstatic works... yes
> checking if cc supports -c -o file.o... no
> checking if cc supports -c -o file.o... (cached) no
> checking if we can lock with hard links... yes
> checking whether the cc linker (ld) supports shared libraries... yes
> checking dynamic linker characteristics... solaris2.10 ld.so
> checking how to hardcode library paths into programs... immediate
> checking for shl_load... no
> checking for shl_load in -ldld... no
> checking for dlopen... no
> checking for dlopen in -ldl... no
> checking for dlopen in -lsvld... no
> checking for dld_link in -ldld... no
> checking whether stripping libraries is possible... no
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... no
> checking for library containing SQLGetPrivateProfileString... no
> configure: error: unixODBC library "odbcinst" not found
>
>
> 【Information of cpu】
> -bash-3.00# cat /etc/release
>                    Oracle Solaris 10 9/10 s10s_u9wos_14a SPARC
>      Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
>                             Assembled 11 August 2010
>
> -bash-3.00# isainfo -v
> 64-bit sparcv9 applications
>         ima fmaf vis2 vis popc
> 32-bit sparc applications
>         ima fmaf vis2 vis popc v8plus div32 mul32
>
>
> Could anyone help me to resolve this issue?
>
> Thanks & Regards,
>
> Araki
>
>
>
> --
> View this message in context:
http://postgresql.nabble.com/Configuration-error-in-psqlodbc-09-05-0100-Solaris-10-tp5919915.html
> Sent from the PostgreSQL - odbc mailing list archive at Nabble.com.
>
>


--
Adrian Klaver
adrian.klaver@aklaver.com


В списке pgsql-odbc по дате отправления:

Предыдущее
От: "Shinya, Araki"
Дата:
Сообщение: Configuration error in psqlodbc-09.05.0100 Solaris 10
Следующее
От: "Tsunakawa, Takayuki"
Дата:
Сообщение: Re: Configuration error in psqlodbc-09.05.0100 Solaris 10