I've gone through and double checked... here is more on the issue:
MySQL 3.23.27-beta installed from RPM's from MySQL.com
dependency_libs=' -lnsl -lm -lz -lcrypt' (someone mentioned this in
the other thread).
MySQL libs are in /usr/lib/mysql
I must have mistakenly cut and pasted the
nm /usr/local/mysql/lib/mysql/libmysqlclient.so.6 | grep mysql
when I actually used
nm /usr/lib/mysql/libmysqlclient.so.6 | grep mysql
Another check shows that I have 2 libmysqlclient library locations one
in /usr/lib (so.10) and one in /usr/lib/mysql (so.6). Most current
libmysqlclient version is actually in /usr/lib. My system has been like
this through most incarnations of Midgard 1.4 beta 3 to current (I am
currently running 6) with this setup, so it is surprising (to me) that I
had this problem with beta7.
This last little bit bothered me, so I moved my /usr/lib/mysql to
/tmp/mysql and attempted to recompile. It worked! Compiles of
mod_midgard and midgard-php also completed with no problems. Apache
started with no problems, and Midgard rendered the page with no changes
to the config.
This discovery solves many issues I think I have been having in the past
few months, including general compiler death and memory errors during
compiles of Midgard and PHP4.. compatibility issues in running Midgard
and PHP4 together, and so on. Most likely, I will be looking at wiping
MySQL headers and libraries from my system and reinstalling from source.
Fred
Emiliano wrote:
> Fred Hirsch wrote:
>
>> FYI:
>>
>> ldd libmidgard.so
>> libexpat.so.0 => /usr/lib/libexpat.so.0 (0x40018000)
>> libmysqlclient.so.6 => /usr/lib/libmysqlclient.so.6 (0x4003d000)
>
>
> but earlier you wrote:
>
>> This actually seems to indicate that repligard is looking for the MySQL
>> references in the libmidgard.so shared library. Someone else suggested a
>> command like this:
>>
>> nm /usr/local/mysql/lib/mysql/libmysqlclient.so.6 | grep mysql
>
>
> So is the library actually present at /usr/lib/libmysqlclient.so.6?
>
> Emile
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]