OpenBSD OpenSSL Lib

2010-07-06 Thread Keith
We are trying to install URLfilterDB on OpenBSD 4.7 but while doing a 
./configure we keep getting.


./configure --with-bz2-lib=/usr/local/lib --with-ssl-lib=/usr/lib/


checking for library containing pthread_create... -lpthread
checking for BZ2_bzBuffToBuffCompress in -lbz2... yes
checking for SSL_load_error_strings in -lssl... no

** The OpenSSL library is required for ufdbGuard to compile.
   Install the openssl and openssl-devel packages from the installation 
media,

   or use the --with-ssl-lib option.

   Alternatively, get OpenSSL from http://www.openssl.org
   Use --with-ssl=DIR or --with-ssl-lib=DIR to specify
   its location. (default is /usr)


We have downloaded and installed OpenSSL and have tried various paths to 
the ssl library but because we don't know what the files actually called 
we don't know if we are setting it correctly. Does anyone know exactly 
what the library would be called and where it should be or maby just 
give us a clue as to how to find out.


Thanks
Keith



Re: OpenBSD OpenSSL Lib

2010-07-06 Thread Vadim Zhukov
2010/7/6 Keith ke...@scott-land.net:
 We are trying to install URLfilterDB on OpenBSD 4.7 but while doing a
 ./configure we keep getting.

 ./configure --with-bz2-lib=/usr/local/lib --with-ssl-lib=/usr/lib/
 
 
 checking for library containing pthread_create... -lpthread
 checking for BZ2_bzBuffToBuffCompress in -lbz2... yes
 checking for SSL_load_error_strings in -lssl... no

 ** The OpenSSL library is required for ufdbGuard to compile.
   Install the openssl and openssl-devel packages from the installation
 media,
   or use the --with-ssl-lib option.

   Alternatively, get OpenSSL from http://www.openssl.org
   Use --with-ssl=DIR or --with-ssl-lib=DIR to specify
   its location. (default is /usr)


 We have downloaded and installed OpenSSL and have tried various paths to the
 ssl library but because we don't know what the files actually called we
 don't know if we are setting it correctly. Does anyone know exactly what the
 library would be called and where it should be or maby just give us a clue
 as to how to find out.

1. It's better to read system guide (FAQ) _before_ starting using
operating system, not _after_. This way you'll notice that OpenSSL
comes with OpenBSD. Even more, man SSL_load_error_strings will give
you some information.

2. Configure script is obviously wrong (-pthread should be used
intead of -lpthread, for example). Look in config.log for clues.

--
  WBR,
  Vadim Zhukov



Re: OpenBSD OpenSSL Lib

2010-07-06 Thread Bret S. Lambert
On Tue, Jul 06, 2010 at 01:21:49PM +0100, Keith wrote:
 We are trying to install URLfilterDB on OpenBSD 4.7 but while doing
 a ./configure we keep getting.
 
 ./configure --with-bz2-lib=/usr/local/lib --with-ssl-lib=/usr/lib/
 
 
 checking for library containing pthread_create... -lpthread
 checking for BZ2_bzBuffToBuffCompress in -lbz2... yes
 checking for SSL_load_error_strings in -lssl... no
 
 ** The OpenSSL library is required for ufdbGuard to compile.
Install the openssl and openssl-devel packages from the
 installation media,
or use the --with-ssl-lib option.
 
Alternatively, get OpenSSL from http://www.openssl.org
Use --with-ssl=DIR or --with-ssl-lib=DIR to specify
its location. (default is /usr)
 
 
 We have downloaded and installed OpenSSL and have tried various

OpenSSL is installed in the default OpenBSD release.

Further:

$ cd /usr/src/lib/libssl  grep -R SSL_load_error_strings * | wc -l
  42
$ ls /usr/lib/*ssl* | wc -l
   8

I'm going to go out on a limb and assume that the config script
is borked; I'd double-check the script itself, as well as the
include path.

 paths to the ssl library but because we don't know what the files
 actually called we don't know if we are setting it correctly. Does
 anyone know exactly what the library would be called and where it
 should be or maby just give us a clue as to how to find out.
 
 Thanks
 Keith