Find the answer to your Linux question:
Results 1 to 4 of 4
Well I got MySQL installed and it is working well but when i try to fire up Apache I get error messages. I searched the forums here and also on ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2004
    Location
    VA
    Posts
    5

    libmysqlclient


    Well I got MySQL installed and it is working well but when i try to fire up Apache I get error messages. I searched the forums here and also on google.com but nothing that seems to be a solution to my problem showed up.

    The error that I got was this:
    Code:
    Syntax error on line 238 of /etc/apache/httpd.conf:
    Cannot load /usr/libexec/apache/libphp5.so into server: libmysqlclient.so.12: cannot open shared object file: No such file or directory
    /usr/sbin/apachectl start: httpd could not be started
    Now I know I have the libmysqlclient.so.12 file along with libmysqlclient.so so I'm not really sure where the problem is or where it originates. Does anyone have any suggestions?

  2. #2
    Linux Guru kkubasik's Avatar
    Join Date
    Mar 2004
    Location
    Lat: 39:03:51N Lon: 77:14:37W
    Posts
    2,396
    did you try pointing it to the .so12 as the .so? also a reinstall might help.
    Avoid the Gates of Hell. Use Linux
    A Penny for your Thoughts

    Formerly Known as qub333

  3. #3
    Just Joined!
    Join Date
    Oct 2004
    Location
    VA
    Posts
    5
    sorry for being such a noob but how would i point it to the .so12 as the .so?

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Enthusiast
    Join Date
    Jun 2002
    Location
    San Antonio
    Posts
    621
    I don't think you have MySQL installed correctly then. Try to do the following:

    udatedb
    locate libmysqlclient | grep so

    Then see if it happened to install it into a non-standard directory like /usr/local/mysql/lib/libmysqlclient.so.12 or something. If that is the case, and there is no /usr/lib/libmysqlclient.so.*, you can just put /usr/local/mysql/lib into the linker path with:

    echo "/usr/local/mysql/lib" >> /etc/ld.so.conf
    ldconfig

    You will need to do the above two as the root user.

    Best,

    Samuel
    I respectfully decline the invitation to join your delusion.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •