Subject: [Solaris] databases/db4 and libdb4_cxx-4.4.so
To: None <tech-ports@netbsd.org>
From: Krzysztof Raczkowski <raczkow@prz.edu.pl>
List: tech-ports
Date: 01/11/2006 11:09:54
Has anybody successfully compiled databases/db4 port on Solaris ?

Instalation of port failed with:
=> "Unwrapping files-to-be-installed."
===> Installing for db4-4.4.16
Installing DB include files: /usr/pkg/include/db4 ...
Installing DB library: /usr/pkg/lib ...
cp -p .libs/libdb4-4.4.so.4.0.16 /usr/pkg/lib/libdb4-4.4.so.4.0.16
(cd /usr/pkg/lib && rm -f libdb4-4.4.so.4 && ln -s libdb4-4.4.so.4.0.16
libdb4-4.4.so.4)
(cd /usr/pkg/lib && rm -f libdb4-4.4.so && ln -s libdb4-4.4.so.4.0.16
libdb4-4.4.so)
chmod +x /usr/pkg/lib/libdb4-4.4.so.4.0.16
cp -p .libs/libdb4-4.4.lai /usr/pkg/lib/libdb4-4.4.la
cp -p .libs/libdb4_cxx-4.4.so /usr/pkg/lib/libdb4_cxx-4.4.so
cp: cannot access .libs/libdb4_cxx-4.4.so
*** Error code 2

I've tried Sun Studio 11 compiler and gcc-3.4.3 (from Sun) on Solaris 10
x86_64.
I think problem appears during linking of libdb4_cxx-4.4.so

Can anyone help me with installation of this port?
-- 
Krzysztof Raczkowski
raczkow@prz.edu.pl