[Snort-users] problems installing Barnyard on obsd 3.4 -- Fixed

Russell Fulton r.fulton at ...3809...
Mon Nov 22 16:40:01 EST 2004


On Mon, 2004-11-22 at 21:46, Senthil Prabu.S wrote:
> > configure command:
> > ./configure --enable-mysql --with-mysql-libraries=/usr/local/lib/
> > 
> > I verified that I had specified the correct dir in the parameters to
> > ./configure and then checked the config.log file where I found this:
> > 
> > configure:2559: checking for mysql_real_connect in -lmysqlclient
> > configure:2578: gcc -o conftest -g -O2 -Wall -I/usr/local/include/mysql 
> > -DENABLE_MYSQL  -L/usr/local/lib/ conftest.c -lmysqlclient   -lz -lssl
> > -lmysqlclient 1>&5
> > /usr/lib/libssl.so.8.0: undefined reference to `BIO_find_type'
> > /usr/lib/libssl.so.8.0: undefined reference to `EVP_enc_null'
> > /usr/lib/libssl.so.8.0: undefined reference to `EVP_CIPHER_CTX_init'
> > /usr/lib/libssl.so.8.0: undefined reference to `X509_NAME_dup'
> > /usr/lib/libssl.so.8.0: undefined reference to `COMP_compress_block'
> > /usr/lib/libssl.so.8.0: undefined reference to `EVP_rc2_cbc'
> > /usr/lib/libssl.so.8.0: undefined reference to `sk_new_null'
> > /usr/lib/libssl.so.8.0: undefined reference to
> > `X509_STORE_get_by_subject'
> > /usr/lib/libssl.so.8.0: undefined reference to `lh_free'
> > /usr/lib/libssl.so.8.0: undefined reference to `EVP_VerifyFinal'
> > 
> > Plus lots more of these.  I.e. the problem seems to be with the ssl
> > library???  Any ideas what the real problem is?
> > 
> 
> It seems that libcrypto library was left out.
> So search for the string "LIBS="${LIBS} -lz -lssl -lmysqlclient"
> in configrue file,add the flag "-lcrypto" there.

Bang on!  Thanks Senthil. 

I now have barnyard compile and running, but I'm not out of the woods
yet!  I'll post another note with an appropriate subject.


-- 
Russell Fulton, Information Security Officer, The University of Auckland
New Zealand





More information about the Snort-users mailing list