OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Andrew R. Baker (andrewb_at_sourcefire.com)
Date: Thu Oct 10 2002 - 17:39:35 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Randy Bey wrote:
    > I am trying to configure barnyard with mysql and the configure script is
    > complaining about not being able to find mysql_connect.
    >
    > This is the specific message I get from
    > ./configure --with-mysql-includes=/usr/local/mysql/include
    > --with-mysql-libraries=/usr/local/mysql/lib --enable-mysql :
    >
    > checking for /usr/local/mysql/include/mysql.h... yes
    > checking for mysql_connect in -lmysqlclient... no
    >
    >
    > **********************************************
    > ERROR: unable to find mysqlclient library
    > checked in the following places
    > /usr/local/mysql/lib
    > **********************************************
    >
    > Being curious, I did an ar -t on libmysqlclient.a and did not find any
    > reference to mysql_connect, either in that library or any of the others
    > in the mysql lib dir.
    >
    > Any light to be shed?

    well, `ar -t` is only going to show you the files that were compiled
    into the library file, not the symbol table where the function names
    live. `strings` works really well for that. ;)

    As for actually fixing the problem, can you send me some more info.
    Such as Operating System version/flavour and Barnyard version. Also,
    can you look in the file config.log for the line

            "checking for mysql_connect in -lmysqlclient"

    and e-mail the surrounding lines?

    Thanks,

    Andrew

    -------------------------------------------------------
    This sf.net email is sponsored by:ThinkGeek
    Welcome to geek heaven.
    http://thinkgeek.com/sf
    _______________________________________________
    Snort-users mailing list
    Snort-userslists.sourceforge.net
    Go to this URL to change user options or unsubscribe:
    https://lists.sourceforge.net/lists/listinfo/snort-users
    Snort-users list archive:
    http://www.geocrawler.com/redir-sf.php3?list=snort-users