Bug #35848 [Com]: Failing when including --with-mysql

From: Date: Mon, 12 Nov 2012 12:43:53 +0000
Subject: Bug #35848 [Com]: Failing when including --with-mysql
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-174639@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=35848&edit=1

 ID:                 35848
 Comment by:         varun1884 at gmail dot com
 Reported by:        shawn dot richards at ink dot ltd dot uk
 Summary:            Failing when including --with-mysql
 Status:             Not a bug
 Type:               Bug
 Package:            MySQL related
 Operating System:   Mac OS X Tiger.
 PHP Version:        5CVS-2005-12-30 (snap)
 Assigned To:        andrey
 Block user comment: N
 Private report:     N

 New Comment:

I faced the same error with following
OS    : RHEL5 64-bit
Apache: 2.4.3
PHP   : 5.4.8
MySQL : 5.5.28

I found that I had installed 32-bit MySQL instead of 64-bit. When I replaced the 
MySQL 32-bit by MySQL 64-bit the problem was solved.


Previous Comments:
------------------------------------------------------------------------
[2007-02-09 10:17:45] tony2001@php.net

.

------------------------------------------------------------------------
[2007-02-09 07:36:32] zelzel dot zsu at gmail dot com

I meet the same problem.

Why php comminity distributed this full of known bugs programs.

You even can not get a chance to install on your server.

It's really frustrated and anoying.

------------------------------------------------------------------------
[2007-02-01 10:59:18] milnivlek at gmail dot com

I think I've figured out the definitive solution for this problem (at least for most people):

If you're building PHP for an x86 server, this problem apparently always occur when you use the
'Linux (x86, glibc-2.2, "standard" is static)' binary distribution from the
MySQL download page.  Simply use the 'Linux (x86)' distribution instead, and the problem
should go away.

(The 'Intel C/C++ compiled' version doesn't seem to work either, so stick with the
regular one.)

Hope this helps.

------------------------------------------------------------------------
[2007-01-29 18:00:55] colin dot anderson at red-man dot com

You're getting this problem because the MySQL >>binaries<< do not come with certain
libraries that are created when you build from source on INTEL systems.

To resolve this problem, you need to download the appropriate libraries.

Visit >> http://dev.mysql.com/downloads/os-linux.html

And grab the appropriate library for your server.  All of the latest MySQL releases are compiled
with the ICC9 libraries; so grab those for your appropriate architecture.

This should solve your problems; as stated repeatedly above, --WITH-MYSQL-DIR[=DIR] WILL NOT WORK. 
:P

------------------------------------------------------------------------
[2007-01-09 20:14:56] dweller at devonweller dot com

I experienced this same problem on Mac OS X 10.4 with the 64 bit package of MySQL 5.0.27.

I installed the 32-bit version of MySQL 5.0.27.  After that, the php compilation worked
successfully.

------------------------------------------------------------------------


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

    https://bugs.php.net/bug.php?id=35848


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=35848&edit=1


Thread (40 messages)

« previous php.bugs (#174639) next »