I am going to assume that /usr/bin/mysql is your base directory. That would
make the shared libraries in the directory /usr/bin/mysql/lib/mysql. A simple:

# ldconfig -m /usr/bin/mysql/lib/mysql

Should fix all your woes. Depending on your flavor of Unix you run, you will
want to add the above directory line to your /etc/ld.so.conf file or similar
hints file.

One other thing... you should be configuring PHP with apxs.. looking something
like:

# ./config --with-mysql=/path/to/MySQL --with-apxs=/path/to/apache/bin/apxs

Hope this helps.

Derek Steinkamp




Gabriel McAtee wrote:

> So.... I have MySQL up and working, Apache up and working, and PHP4 up and
> working... but not connecting to MySQL.  I ran
> "configure --with-mysql=/usr/bin/mysql" which apparently is not correct...
> it returned an error stating that it could not find the MySQL libraries in
> the indicated path.  Could someone give me a pointer here?  I've been
> struggling with this for a week and a half now, and not making any progress
> to speak of...   :(
>
> --
> _______________________________________
> _______________________________________
> _______________________________________
> Gabriel K. McAtee
> Consultant
> Project Leadership Associates
> 250 S. Wacker Dr., Suite 345
> Chicago, IL 60606
> _______________________________________
> _______________________________________
> _______________________________________
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to