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;
First, you don't need to append 'lib' to --with-midgard=/usr/local, configure script
will add it (as well as 'include' for include files).
> configure:685: checking for mgd_connect in -lmidgard
> 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'
> /usr/local/lib/libmidgard.so: undefined reference to `mysql_fetch_row'
> /usr/local/lib/libmidgard.so: undefined reference to `mysql_init'
> /usr/local/lib/libmidgard.so: undefined reference to `mysql_close'
> /usr/local/lib/libmidgard.so: undefined reference to `mysql_free_result'
> /usr/local/lib/libmidgard.so: undefined reference to `mysql_query'
> /usr/local/lib/libmidgard.so: undefined reference to `mysql_real_connect'
> collect2: ld returned 1 exit status
It means that your system lacks libmysqlclient.so or ld can't find it. What 'ldconfig
-p | grep mysql' says?
--
Sincerely yours, Alexander Bokovoy
// The Midgard Project // Minsk Linux Users Group // IPLabs Linux Team
\\ www.midgard-project.org \\ www.minsk-lug.net \\ linux.iplabs.ru
Being popular is important. Otherwise people might not like you.
--
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]