#37427 [Opn]: relocation R_X86_64_32... recompile with -fPIC...
| From: | vktechnology at uk2 dot net | Date: | Mon, 15 May 2006 18:03:59 +0000 |
| Subject: | #37427 [Opn]: relocation R_X86_64_32... recompile with -fPIC... | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-97128@lists.php.net to get a copy of this message | ||
ID: 37427
User updated by: vktechnology at uk2 dot net
Reported By: vktechnology at uk2 dot net
Status: Open
Bug Type: Compile Failure
Operating System: fedora
PHP Version: 5.1.4
New Comment:
sorry i send wrong...
and if
--with-mysql=/usr/local/mysql
cannot compile
will see this eror
"mysql configure failed. Please check config.log for more information."
Previous Comments:
------------------------------------------------------------------------
[2006-05-15 17:58:21] vktechnology at uk2 dot net
I test both lib64 and /usr/lib64
is something to do with with mysql option ?
--with-mysql-dir=/usr/local/mysql
can compile but cannot use after install
and
--with-mysql=/usr/local/mysql
cannot compile
will see this eror
"Fatal error: Call to undefined function mysql_connect() "
------------------------------------------------------------------------
[2006-05-15 17:52:59] vktechnology at uk2 dot net
I try with
--with-libdir=lib64
got error
and replace in Makefile
user/local/lib/ to /lib64
it ok
make
make install
done..
********
problem still not solve
http://202.142.221.59/info.php
no mysql enable
***
http://202.142.221.59/config.php
Fatal error: Call to undefined function mysql_connect()
------------------------------------------------------------------------
[2006-05-15 17:15:49] tony2001@php.net
>Yes I use this lib64 option --libdir=/usr/lib64
Please now try with --with-libdir=lib64 instead.
They are two _totally_ different options.
------------------------------------------------------------------------
[2006-05-15 17:00:46] vktechnology at uk2 dot net
Hello tony2001
Yes I use this lib64 option
./configure --libdir=/usr/lib64 ...
everything can past make and make install..
but after this cannot use mySQL..
i donlt know what to do now..
here my phpinfo
http://202.142.221.59/info.php
*********
this one i test to connect with mysql
http://202.142.221.59/config.php
I have this error
"Fatal error: Call to undefined function mysql_connect() "
****
I just have got new server for 2-3 days
Spec
Intel Dual Xeon 3.2GHz, Cach 2MB
Ram 4GB
If you would like to login SSH to my server to check and testing...I
can give you root access...
------------------------------------------------------------------------
[2006-05-15 14:18:59] tony2001@php.net
Did you try to use --with-libdir=lib64 option?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/37427
--
Edit this bug report at http://bugs.php.net/?id=37427&edit=1