Port Bug Report: odbc library doesn't work on Solaris

Поиск
Список
Период
Сортировка
От Unprivileged user
Тема Port Bug Report: odbc library doesn't work on Solaris
Дата
Msg-id 199905111220.IAA08007@hub.org
обсуждение исходный текст
Список pgsql-ports
============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name               : Herve BOTERMAN
Your email address      : hboterman@dalkia.com

Category                : runtime: front-end
Severity                : serious

Summary: odbc library doesn't work on Solaris

System Configuration
--------------------
  Operating System   : Sparc Solaris 2.5.1

  PostgreSQL version : 6.4.2

  Compiler used      : gcc-2.8.1

Hardware:
---------
uname -a : SunOS pluton 5.5.1 Generic_103640-24 sun4u sparc SUNW,Ultra-250
Type: SUN E250, RAM: 256 Mo, 8Go disques

Versions of other tools:
------------------------
gmake 3.77, flex 2.5.4, GNUlibstdc++ 2.8.1.1


--------------------------------------------------------------------------

Problem Description:
--------------------
When I want to access base via odbc I've got this message:
ld.so.1: ./iodbc: fatal: relocation error: symbol not found: inet_addr: referenced in
/opt/postgres/pgsql/lib/libpsqlodbc.so
This symbol is defined in /usr/lib/libnsl.so
At compile time, configure detect that it must use that library but at runtime, ld.so.1 doesn't load it
I found a command iodbc which display this message, openlink driver manager and
openlink test program doesn't display useful message (e.g.:IM008 !)
I was compiling with gcc2.7.2.3, I switch on 2.8.1 but I've got always the same problem.
Does anyone is using Postgresql on Solaris with odbc support ?

--------------------------------------------------------------------------

Test Case:
----------
iodbc command I use that let system show the real error
is from iodbc-monitor-0.11 downloaded at:
http://www.as220.org/~bjepson/FreeODBC/iodbc-monitor-0.11.tar.gz.

--------------------------------------------------------------------------

Solution:
---------


--------------------------------------------------------------------------


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

Предыдущее
От: "michel"
Дата:
Сообщение: upgrade posgresql
Следующее
От: Andrew Merrill
Дата:
Сообщение: new SCO installation FAQ