In the last episode (Nov 11), Frank Staals said:
> 
> I'm trying to run a java application which uses JNA to use the native FFTW
> libraries.  The application was given as a netbeans project which was
> configured for use in Windows.  I changed the paths to the windows
> libraries to the FreeBSD versions.  However when I try to start the
> application from within netbeans it crashes with the following error
> message:
> 
> /libexec/ld-elf.so.1: /usr/local/lib/librfftw.so: Undefined symbol 
> "fftwnd_create_plan_aux"

That symbol is defined in libfftw.so; it looks like the librfftw.so builder
forgot to add a link dependency to fftw (if you run "ldd
/usr/local/lib/librfftw.so", you can see there are dependencies on libc and
libm, but not fftw).

Depending on how jna access shared libraries, you might be able to work
around it by having jna load the fftw library before rfftw.

-- 
        Dan Nelson
        dnel...@allantgroup.com
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to