Subject: Re: gnumeric installed but...
To: Adam <adam@albedo.art.pl>
From: Shigeki UNO <shigeki@mediawars.ne.jp>
List: tech-pkg
Date: 02/23/2005 22:38:31
Adam <adam@albedo.art.pl> writes:

| > | 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

Of cource it is the ideal way to install 3rd party softwares via pkgsrc under NetBSD.

---
Shigeki UNO