473,809 Members | 2,731 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

php/mysqlclient compile problems.

when I try to compile php-5.2.1 it gives an error about not being able
to find mysqlclient and that it isn't included with mysql anymore.
I've checked on the system and indeed they do not exist. Ok, I
understand that it isn't included any longer, but what do I need to
install in order to get the header files? I thought I was onto
something on the mysql site when i saw mention of mysqlclient and C-
header files, but it ultimately took me to the download of what I had
already gotten.
solaris 9
php 5.2.1
mysql 5.0.33 with: "./configure --prefix=/opt/itools"

Regards,

-Inet

Mar 12 '07 #1
5 1501
in <mysql source dir>/include I see some header files.

Are these the ones which php is looking for?

If so why wouldn't they be copied over to the mysql/include or /usr/
local/include directory upon installation of mysql?

-Inet

On Mar 12, 6:43 pm, "inetquesti on" <inetquest...@h otmail.comwrote :
when I try to compile php-5.2.1 it gives an error about not being able
to find mysqlclient and that it isn't included with mysql anymore.
I've checked on the system and indeed they do not exist. Ok, I
understand that it isn't included any longer, but what do I need to
install in order to get the header files? I thought I was onto
something on the mysql site when i saw mention of mysqlclient and C-
header files, but it ultimately took me to the download of what I had
already gotten.

solaris 9
php 5.2.1
mysql 5.0.33 with: "./configure --prefix=/opt/itools"

Regards,

-Inet


Mar 12 '07 #2
inetquestion wrote:
when I try to compile php-5.2.1 it gives an error about not being able
to find mysqlclient and that it isn't included with mysql anymore.
I've checked on the system and indeed they do not exist. Ok, I
understand that it isn't included any longer, but what do I need to
install in order to get the header files? I thought I was onto
something on the mysql site when i saw mention of mysqlclient and C-
header files, but it ultimately took me to the download of what I had
already gotten.
solaris 9
php 5.2.1
mysql 5.0.33 with: "./configure --prefix=/opt/itools"

Regards,

-Inet
This was answered in comp.databases. mysql.

Please cross-post. Don't multi-post.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Mar 13 '07 #3
On Mar 12, 9:31 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
inetquestionwro te:
when I try to compile php-5.2.1 it gives an error about not being able
to find mysqlclient and that it isn't included with mysql anymore.
I've checked on the system and indeed they do not exist. Ok, I
understand that it isn't included any longer, but what do I need to
install in order to get the header files? I thought I was onto
something on the mysql site when i saw mention of mysqlclient and C-
header files, but it ultimately took me to the download of what I had
already gotten.
solaris 9
php 5.2.1
mysql 5.0.33 with: "./configure --prefix=/opt/itools"
Regards,
unfortunately the answer was incorrect.

>
-Inet

This was answered in comp.databases. mysql.

Please cross-post. Don't multi-post.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attgl obal.net
=============== ===

Mar 13 '07 #4
inetquestion wrote:
On Mar 12, 9:31 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
>inetquestionwr ote:
>>when I try to compile php-5.2.1 it gives an error about not being able
to find mysqlclient and that it isn't included with mysql anymore.
I've checked on the system and indeed they do not exist. Ok, I
understand that it isn't included any longer, but what do I need to
install in order to get the header files? I thought I was onto
something on the mysql site when i saw mention of mysqlclient and C-
header files, but it ultimately took me to the download of what I had
already gotten.
solaris 9
php 5.2.1
mysql 5.0.33 with: "./configure --prefix=/opt/itools"
Regards,
unfortunately the answer was incorrect.

>>-Inet
This was answered in comp.databases. mysql.

Please cross-post. Don't multi-post.

--
============== ====
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attg lobal.net
============== ====

If the answer is incorrect, I would be very surprised. Axel is normally
quite accurate in what he says - and his answer also matches what I know
about MySQL.

But in either case - multiposting is not correct. If you have two or
three groups which you think are appropriate, then you should cross post.

As for this one - I don't see what PHP can do to get your missing MySQL
header files. Any compiled program using MySQL will need those headers
- not just PHP.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Mar 13 '07 #5
installing mysql with flag: --enable-thread-safe-client
seems to fix the issue.

-Inet
Mar 13 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
4041
by: Luiz Rafael Culik Guimaraes | last post by:
Dear Friends i´ve just download mysql 4.0.14 where i can find an mysqlclient.lib for borland c++compilers, the one on windows download page is for version 3.23.xx Regards Luiz
0
1168
by: jose | last post by:
Hello. I have installed binary version for aix 5.2 and when i try to compile cyrus-sasl with mysql support it don't find mysqlclient libraries. I use --with-mysql=/usr/local/mysql/ to build but i get: checking for mysql_select_db in -lmysqlclient... no configure: WARNING: MySQL library mysqlclient does not work Doesn't it include client libraries ?
0
1394
by: d | last post by:
Hi, I have setup a GigE LAN with 1 mysql server and another having the mysql client. the OS is slackware 10.1. the mysql is compiled from source and is ver 4.1.9. How do I measure throughput and latency between mysqlclient and server ? Thanks
10
19733
by: Chris LaJoie | last post by:
Our company has been developing a program in C# for some time now, and we haven't had any problems with it, but just last night something cropped up that has me, and everyone else, stumped. I have a struct that contains several different types of data. This struct is used throuout the program. Now, when I compile, I get 6 errors, all of them "Use of possibly unassigned field 'awayTime'" or "Use of possibly unassigned field 'intlTime'"....
2
3320
by: Gustavo | last post by:
After updating Windows 2000 I began to get a weird compile error message: Deleting intermediate files and output files for project 'pp - Win32 Debug'. --------------------Configuration: pp - Win32 Debug-------- ------------ Compiling... pp.cpp c:\program files\microsoft visual studio\vc98
2
2918
by: Kenneth P | last post by:
Hi, MySql AB released their .NET Native Driver 1 Sept 2004 and I'm trying to create a connectionstring that works according to their examples, see below my example I've installed their connector_net drive. This is my code: <%@ Page Language="vb" Debug="true" %>
2
8795
by: Bill | last post by:
Hi, I try to connect to Mysql using the Mysql Connector 1.0.7. with asp.net 2.O. In "mysql.aspx", i put: <%@ import namespace="System.Data"%> <%@ Import Namespace = "MySql.Data.MySqlClient" %> ..... In "mysql.aspx.vb", i put:
0
2819
by: CSUIDL PROGRAMMEr | last post by:
folks I am trying to upgrade on fedora core 4 mysql to mysql 4.1.20 I am using source rpm to build it on ppc architecture. When i run the rpm -uvh command and complaints about libmysqlclient.so.14 missing This file is found in mysql client but i can not find mysqlclient source rpm that contains this file
1
9834
by: Carmine [www.thetotalsite.it] | last post by:
Hi, I am using ASP.Net 2.0 with the MySQL Connector .Net 5.1.2.2. I added these lines to the web.config to make the connector.net able to handle the SqlConnection object (and so to bind it to a grinview/formview etc.): <DbProviderFactories> <add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data,
1
10378
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10115
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9198
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7653
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6881
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5687
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4332
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3013
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.