Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

wrldwzrd89

macrumors G5
Original poster
Jun 6, 2003
12,110
77
Solon, OH
Using several guides on the Internet to getting PHP and libgd to work together, I managed to get all the different libraries libgd uses to work, but when I try to do a make and make install after configuring PHP as follows:

Code:
./configure --with-apxs=/usr/sbin/apxs --with-mysql=/usr/local/mysql --with-gd-dir=/usr/local --with-png-dir=/usr/local --with-jpeg-dir=/usr/local --with-freetype2-dir=/usr/local --with-xpm-dir=/usr/local --with-zlib-dir=/usr/local

I get two error messages:
1) When I run the test script it complains about not being able to find libmysql15.so. This file is in /usr/local/mysql/lib/ but the script is looking for it in /usr/local/mysql/lib/mysql/, which doesn't exist.
2) When installing PEAR, I get a Trace/BPT trap error.
 

wrldwzrd89

macrumors G5
Original poster
Jun 6, 2003
12,110
77
Solon, OH
Finally fixed this... I had to create a symbolic link to get PHP to find the MySQL libraries. Dunno why it wants to look in /usr/local/mysql/lib/mysql instead of /usr/local/mysql/lib...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.