Subject: Re: gnumeric installed but...
To: Paul (NCC/CS). <pts@bom.gov.au>
From: Shigeki UNO <shigeki@mediawars.ne.jp>
List: tech-pkg
Date: 02/23/2005 14:42:05
"Paul (NCC/CS)." <pts@bom.gov.au> writes:

| Hi,
| 
| I have built gnumeric from source finally but I now get:
| 
| 
| 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.

Good luck!

---
Shigeki UNO