Subject: Re: gnumeric installed but...
To: None <tech-pkg@NetBSD.org>
From: Adam <adam@albedo.art.pl>
List: tech-pkg
Date: 02/23/2005 07:40:19
> | su% gnumeric
> | Shared object "libxml2.so.8" not found
> | su%
> |
> |
> | any ideas folks?
>
>  No sweat.
>
>  Assuming that you have already installed dependencies of Gnumeric via 
> pkgsrc, and
> you want to install Gnumeric from source by hand.
>
>   % cd Gnumeric-$VERSION
>   % env LDFLAGS="-Wl,-R/usr/pkg/lib -L/usr/pkg/lib" ./configure option
>   % make
>   # make install
>
>  This will do the trick.
>
>  Read NetBSD FAQ.
>
>       http://www.netbsd.org/Documentation/elf.html
>
>       ---> My program can't find its shared library
>
>  When you have another error that does not find shared libraries in 
> other directories,
> "-Wl,-R/usr/pkg/lib,/PATH/to/lib,/PATH/to/lib" will be needed.

Isn't it the problem with buildlng packages which build their 
dependencies, and shared libraries of the dependent packages are not 
linked correctly?  I had that once. :)

I suggest:
pkg_delete libxml2
cd pkgsrc/textproc/libxml2
make install
cd pkgsrc/math/gnumeric
make install

Kind regards,
Adam