Re: Compile errors on Solaris 8 - Mailing list pgsql-odbc

From William Osmond
Subject Re: Compile errors on Solaris 8
Date
Msg-id 200105251557.IAA24250@cyclops-e0.cogent.net
Whole thread Raw
In response to Re: Compile errors on Solaris 8  (Hiroshi Inoue <Inoue@tpf.co.jp>)
List pgsql-odbc
I am, and unfortunately I had tried their driver to no avail. I kept getting an invalid protocol character during
authenticationerror message and was unable to connect with theirs, but using it with the postgresql supplied driver
(onceI 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
problemspecific to iPlanet Web Server Enterprise Edition 4.1, so if nobody knows what might be causing this then that
iscertainly understandable.  When I fire up the SSJS (Livewire) component and use the 'dbadmin' utility that they
providewith 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
managedget it to compile correctly.  To fix it (in case anyone posts a similar problem in the future, change the
followingin 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
symbolsto 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@supplyedge.com
Message Sent on 05/25/2001
Phone:  800.733.3380x114
Fax:    626.585.2785


pgsql-odbc by date:

Previous
From: Hiroshi Inoue
Date:
Subject: Re: Compile errors on Solaris 8
Next
From: radius
Date:
Subject: Wierd ODBC access issue