Here is my patches for libpq++ compiling by Sun C++:
--------------------------------------------------------------------------
*** ../postgresql-7.1.3.orig//src/Makefile.shlib Вс Апр 15 10:25:07
2001
--- .//src/Makefile.shlib Ср Окт 17 12:23:41 2001
***************
*** 179,185 **** ifeq ($(with_gnu_ld), yes) LINK.shared += -Wl,-soname,$(soname) else
! LINK.shared += -Wl,-h,$(soname) endif SHLIB_LINK += -lm -lc endif
--- 179,185 ---- ifeq ($(with_gnu_ld), yes) LINK.shared += -Wl,-soname,$(soname) else
! LINK.shared += -h,$(soname) endif SHLIB_LINK += -lm -lc endif
*** ../postgresql-7.1.3.orig//src/makefiles/Makefile.solaris Вс Дек 17
00:14:25 2000
--- .//src/makefiles/Makefile.solaris Ср Окт 17 11:59:33 2001
***************
*** 5,12 **** ifeq ($(with_gnu_ld), yes) export_dynamic = -Wl,-E rpath = -Wl,-rpath,$(libdir)
- else
- rpath = -Wl,-R$(libdir) endif shlib_symbolic = -Wl,-Bsymbolic
--------------------------------------------------------------------------
Regards
Denis Ustimenko