Subject: Compat_freebsd and shared library
To: None <netbsd-help@netbsd.org>
From: Daniel Eggert <eggert@macvaerk.dtu.dk>
List: netbsd-help
Date: 09/02/2005 16:59:05
Hi,

I've got a FreeBSD binary called
     fogutil.so
that I need to use with PHP on my NetBSD 2.0.2 box. If it was a  
NetBSD binary, I'd simple add
     extension=fogutil.so
to my php.ini, but it is a FreeBSD binary.

I I compiled my kernel with COMPAT_FREEBSD and installed emulators/ 
freebsd_lib from pkgsrc, but I still can not run the library and get  
this:

dl(): Unable to load dynamic library '/usr/pkg/lib/php/20020429/ 
fogutil.so' - /usr/pkg/lib/php/20020429/fogutil.so: Undefined symbol  
&quot;___runetype&quot; (symnum = 3667)

Is there any chance of getting this to work?

What should I try? Thanks in advance.

/Daniel