Re: [users@httpd] httpd-2.2.3 / MySQL 5.0.24a - buildsteps and improved error reporting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Ben,
   Thank you so much for spending time with this.

   When I do
   cd $HP_SRC/srclib/apr-util
   ldd .libs/libaprutil-1.so

   I do not see mysql in there.  How come?

Vasiliy Boulytchev




I am not sure if you actually have the  .libs/libaprutil-1.so file
if you do, and libmysqlclient_r is not being linked to, then that means that the buildconf failed to see the mysql file..

make sure it is there...

ls -l $HP_SRC/srclib/apr-util/dbd/apr_dbd_mysql.c

If not, then get it...

----------
Make sure that you have any  custom library directories mentioned in /etc/ld.so.conf 
#/etc.so.conf is like this on my box
/opt/lib
/opt/lib/mysql
/opt/httpd/apr/lib

#And use ldconfig -v to refresh it..
-----------
Alternatively it maybe that your mysql install location is not being found. This is the method i used for building mysql from source...

wget http://dev.mysql.com/get/Downloads/MySQL-5.0/mysql-5.0.24a.tar.gz/from/ftp://ftp.mirrorservice.org/sites/ftp.mysql.com/
tar -xzf mysql-5.0.24a.tar.gz
cd mysql
make clean
CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti" ./configure --prefix=/opt --with-charset=utf8 --enable-thread-safe-client --enable-threads=posix --with-ncurses
make all
make install
su
ldconfig -v
------------
Beyond that - I am not sure!!
   -b

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux