Alan Midga wrote:
> 
> Hi,
> 
> I tried to compile the mod_midgard-1.2.5 with command "./configure
> --with-apache=/usr/local/apache --with-midgard=/usr/local/lib"
> but I received the following error;
>
> configure:704: cc -o conftest   -I/usr/local/lib/include  -L/usr/local/lib/lib
> conftest.c -lmidgard   1>&5
> /usr/local/lib/libmidgard.so: undefined reference to `mysql_store_result'

If the mysql libraries are in a non-standard location you need to hint
the compiler
about it with 1.2.5:

export LDFLAGS="-L/usr/lib/mysql -L/usr/local/lib -lmysqlclient -lcrypt
-lglib -lexpat"
export LIBS=$LDFLAGS
export LIB=$LDFLAGS

Substitute the above paths appropriate to your situation

Emile

--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to