Hi, I'm running Linux RedHat, MySQL 3.22.32, PHP 3.0.12 and Apache 1.3.9
I'm trying to install Midgard 1.2.5
The problem is that after installing the libs, I run the Mod installer and it tells
me:
checking for mgd_connect in -lmidgard... no
*** You need the Midgard library for using mod_midgard. ***
I've looked for a mgd_connect lib and it isn't installed.
What is going on?
Here's everthing I did:
[root@transistor midgard-lib-1.2.5]#./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... (cached) i586-pc-linux-gnu
checking build system type... (cached) i586-pc-linux-gnu
checking for ranlib... (cached) ranlib
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for working const... (cached) yes
checking for library containing crypt... (cached) -lcrypt
checking for crypt.h... (cached) yes
checking MySQL location... /usr
checking for mysql_connect in -lmysqlclient... (cached) yes
checking for errmsg.h... (cached) yes
checking for mysql.h... (cached) yes
creating ./config.status
creating Makefile
[root@transistor midgard-lib-1.2.5]# make
make: Nothing to be done for `all'.
[root@transistor midgard-lib-1.2.5]# make install
make[1]: Entering directory `/home/httpd/html/transistor/midgard/midgard-lib-1.2.5'
/bin/sh ./mkinstalldirs /usr/local/lib
/bin/sh ./libtool --mode=install /usr/bin/install -c libmidgard.la
/usr/local/lib/libmidgard.la
/usr/bin/install -c .libs/libmidgard.so.2.1.2 /usr/local/lib/libmidgard.so.2.1.2
(cd /usr/local/lib && rm -f libmidgard.so.2 && ln -s libmidgard.so.2.1.2
libmidgard.so.2)
(cd /usr/local/lib && rm -f libmidgard.so && ln -s libmidgard.so.2.1.2 libmidgard.so)
/usr/bin/install -c .libs/libmidgard.lai /usr/local/lib/libmidgard.la
/usr/bin/install -c .libs/libmidgard.a /usr/local/lib/libmidgard.a
ranlib /usr/local/lib/libmidgard.a
chmod 644 /usr/local/lib/libmidgard.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/sh ./mkinstalldirs /usr/local/include
/usr/bin/install -c -m 644 midgard.h /usr/local/include/midgard.h
make[1]: Leaving directory `/home/httpd/html/transistor/midgard/midgard-lib-1.2.5'
[root@transistor mod_midgard-1.2.5]# ./configure
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking for apxs... apxs
checking for mgd_connect in -lmidgard... no
*** You need the Midgard library for using mod_midgard. ***
*** Use the --with-midgard option to tell ***
*** the configure script where to look for the library. ***
*** Check also that both the Midgard library and the MySQL ***
*** client library are on your dynamic library load path. ***
configure: error: Midgard library libmidgard not found
#find / -iname libmidgard
#
==
Joe Pellicer
_____________________________________________________________
Get free web mail! --> http://www.pellicer.org/
--
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]