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_
> LINK.shared = $(COMPILER) -G
> ifeq ($(with_gnu_ld), yes)
> LINK.shared += -Wl,-soname,$(soname)
> LINK.shared += -Wl,-h,$(soname)
> SHLIB_LINK += -lm -lc -lsocket -lnsl
> 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 ?
In response to
pgsql-odbc by date
|Next:||From: William Osmond||Date: 2001-05-25 15:58:46|
|Subject: Re: Compile errors on Solaris 8|
|Previous:||From: Hiroshi Inoue||Date: 2001-05-25 08:28:55|
|Subject: ODBC changes|