[imapfilter-devel]Building/installing imapfilter on Solaris

Per Westerlund perw at gbg.dimension.se
Thu Dec 19 16:34:01 EET 2002


I found a recipe in an earlier thread that said:

  gzcat imapfilter-0.8.4.tar.gz | tar -xvf -
  cd imapfilter-0.8.4
  make CC=gcc CFLAGS="-O -D__EXTENSIONS__ -I/usr/local/ssl/include \
  	-L/usr/local/ssl/lib" LIBS="-lsocket -lnsl -lssl -lcrypto"
  make install

It works well if you have /usr/local/ssl/lib in your LD_LIBRARY_PATH, it can
be a convenience to add the -R flag as well:

  gzcat imapfilter-0.8.4.tar.gz | tar -xvf -
  cd imapfilter-0.8.4
  make CC=gcc CFLAGS="-O -D__EXTENSIONS__ -I/usr/local/ssl/include \
  	-L/usr/local/ssl/lib -R/usr/local/ssl/lib"
LIBS="-lsocket -lnsl -lssl -lcrypto"
  make install

Now LD_LIBRARY_PATH is not needed to find /usr/local/ssl/lib.

/Per Westerlund




More information about the Imapfilter-devel mailing list