version.string R version 2.15.2 (2012-10-26)

I am trying to install biOps on MacOS X 10.8.2

First, I have tiff, fftw-3, jpeg

and set paths like

cd /usr/include
sudo ln -s /usr/local/include/fftw3.h
for x in /usr/local/include/j*.h; do sudo ln -s $x; done
for x in /usr/local/include/tiff*.h; do sudo ln -s $x; done
cd /usr/lib
for x in /usr/local/lib/libfftw3.*; do sudo ln -s $x; done
for x in /usr/local/lib/libjpeg.*; do sudo ln -s $x; done
for x in /usr/local/lib/libtiff.*; do sudo ln -s $x; done

then run,

install.packages("biOps", repos="http://cran.md.tsukuba.ac.jp/", type="source")


but it gives errors like the following.
Can you tell me why ?  it looks like R cannot find the libraries..


** R
** data
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
Error in dyn.load(file, DLLpath = DLLpath, ...) :
  unable to load shared object
'/Library/Frameworks/R.framework/Versions/2.15/Resources/library/biOps/libs/i386/biOps.so':

dlopen(/Library/Frameworks/R.framework/Versions/2.15/Resources/library/biOps/libs/i386/biOps.so,
6): Symbol not found: _TIFFClose
  Referenced from:
/Library/Frameworks/R.framework/Versions/2.15/Resources/library/biOps/libs/i386/biOps.so
  Expected in: flat namespace
 in
/Library/Frameworks/R.framework/Versions/2.15/Resources/library/biOps/libs/i386/biOps.so
Error: loading failed
Execution halted
ERROR: loading failed
* removing
'/Library/Frameworks/R.framework/Versions/2.15/Resources/library/biOps'

The downloaded source packages are in
'/private/var/folders/hk/1clspzcd49d173p3pvpk1f3w0000gn/T/RtmpFpgBgP/downloaded_packages'
Warning message:
In install.packages("biOps", repos = "http://cran.md.tsukuba.ac.jp/",  :
  installation of package 'biOps' had non-zero exit status
> library(biOps)
Error in library(biOps) : there is no package called 'biOps'
>

	[[alternative HTML version deleted]]

