Hi,

For all of you that are seeing an undefined symbol error at apache's startup,
please make sure you don't have any old midgard library laying around.

Here is how to proceed:

if midgard-lib was compiled without --prefix, the default prefix is
/usr/local, that means that the libmidgard.* files will be in /usr/local/lib,
and the include files will be in /usr/local/include/midgard

so, in general, midgard installs these files:

$prefix/lib/libmidgard.*
$prefix/include/midgard*
$prefix/etc/repligard.conf
$prefix/bin/repligard
$prefix/share/midgard*

/path/to/apache/modules/mod_midgard.so
/path/to/apache/modules/libphp3.so # for midgard PHP3
/path/to/php/extensions/midgard.so # for midgard PHP4

now, you have to remove these files.
to find the prefix(es), you can either do:
# locate midgard; locate repligard
 and delete all but your midgard source directory
or do:
# ldconfig -p | midgard
 this will give you the prefix (before lib/libmidgard.so*), then delete every
midgard file under this prefix

after you've deleted every midgard files, check your /etc/ld.so.conf, it must
contain the path to the midgard library directory, ie. /usr/local/lib for the
default installation, $prefix/lib in general.

now run ldconfig and repeat the previous steps to check that you didn't forget
another instance of the midgard lib.

once you're sure you've got a clean system, cd into your midgard source
directory, and do:
# cd lib; make install
# cd ../mod; make clean; ./config.status; make install
# cd ../php; make clean; ./config.status; make install  <if you install PHP3>
# cd ../php4; make clean; ./config.status; make install <if you install PHP4>

Hope this helps (and please correct me if something is wrong).

-- 
Best regards,                                 David Guerizec
http://www.guerizec.net/david/       http://www.imuable.org/
http://www.midgard-project.org/ http://www.aurora-linux.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to