Re: Compile errors on Solaris 8

From: William Osmond <william(at)supplyedge(dot)com>
To: <inoue(at)tpf(dot)co(dot)jp>
Cc: <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Compile errors on Solaris 8
Date: 2001-05-25 15:58:46
Message-ID: 200105251557.IAA24250@cyclops-e0.cogent.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

I am, and unfortunately I had tried their driver to no avail. I kept getting an invalid protocol character during authentication error message and was unable to connect with theirs, but using it with the postgresql supplied driver (once I restarted it with the -i option... heh whoops) I was able to get a SQL> prompt from isql.
So that part of things is working. But if anyone is reading this, then I'm running into one more problem. It is a problem specific to iPlanet Web Server Enterprise Edition 4.1, so if nobody knows what might be causing this then that is certainly understandable. When I fire up the SSJS (Livewire) component and use the 'dbadmin' utility that they provide with it, I get the error message "No access library for 'libnsrwodb.so'".

Thanks,
Bill Osmond

------------------------------------------
On Fri, 25 May 2001 19:12:42 +0900, Hiroshi Inoue wrote:
>William Osmond wrote:
>>
>> Yes, I am going to be running everything on the solaris 8 machine.  I have, however, answered my own question and managed get it to compile correctly.  To fix it (in case anyone posts a similar problem in the future, change the following in src/Makefile.shlibs
>> ----
>> ifeq ($(PORTNAME), solaris)
>>  shlib                 := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_
>> VERSION)
>>  LINK.shared           = $(COMPILER) -G
>>  ifeq ($(with_gnu_ld), yes)
>>   LINK.shared         += -Wl,-soname,$(soname)
>>  else
>>   LINK.shared         += -Wl,-h,$(soname)
>>  endif
>>  SHLIB_LINK            += -lm -lc -lsocket -lnsl
>> endif
>> ----
>> The SHLIB_LINK line only contained lm and lc, and lsocket and lnsl needed to be added in order for the unresolved symbols to go away.
>>
>
>Are you compiling on a PostgreSQL source tree ?
>You seem to be using unixODBC driver manager.
>unixODBC has its own source for postgres driver.
>You had better use the driver for unixODBC.
>
>> I'm now having a different problem, though.
>> When I run isql to test my configuration with the current driver, I get the following:
>
>Did you start the postmaster with -i option ?
>Did you change the pg_hba.conf to allow an access
>from localhost ?
>What message could you see in the server log ?
>
>regards,
>Hiroshi Inoue
>
>---------------------------(end of broadcast)---------------------------
>TIP 6: Have you searched our list archives?
>
>http://www.postgresql.org/search.mpl

----------------------( SupplyEdge )
William Osmond, william(at)supplyedge(dot)com
Message Sent on 05/25/2001
Phone: 800.733.3380x114
Fax: 626.585.2785

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message radius 2001-05-25 16:31:08 Wierd ODBC access issue
Previous Message Hiroshi Inoue 2001-05-25 10:12:42 Re: Compile errors on Solaris 8