Chris wrote:
Tom Ray [Lists] wrote:
Chris wrote:
Tom Ray [Lists] wrote:
Hey-
I'm trying to install PHP5 with mysql support and I keep running
into the same problem over and over again. I run the configuration
with this: --with-mysql=/usr/local/mysql and without fail I get
this every time:
ext/mysql/php_mysql.o: In function `zif_mysql_create_db':
/home/tech/upgrades/php-5.2.5/ext/mysql/php_mysql.c:1227: undefined
reference to `mysql_create_db'
ext/mysql/php_mysql.o: In function `zif_mysql_drop_db':
/home/tech/upgrades/php-5.2.5/ext/mysql/php_mysql.c:1266: undefined
reference to `mysql_drop_db'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php-cgi] Error 1
What am I doing wrong here? I'm running mysql 5.0.45 located at
/usr/local/mysql which would my my lib directory at
/usr/local/mysql/lib I have updated my ld.so.conf file to point to
that and I'm still running into issues here.
Did you get any errors when configure ran? I'm not sure if it will
stop configure working when it can't find a library you want to
compile in or if it just ignores the error and keeps going.
No errors during the ./configure part only when I run "make"
What happens if you configure --with-mysqli not --with-mysql ?
Just wondering if it makes any diff.. it shouldn't really I don't think.
Yeah it doesn't still have issues with it. I need to upgrade to PHP5
since some of the new OpenSRS stuff needs it but this is being a damn pain,.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php