473,320 Members | 1,900 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Compiling/Installing PHP 5 failure

I am trying to install PHP 5.0.4 on my Solaris 8 server.
I have already installed mysql 4.1.11 and Apache 2.0.54. Both appear to

work fine..

I'm running the ./configure with the following options:
../configure --with-apxs2=/opt/csw/apache2/bin/apxs --with-
mysql=/usr/local/mysql --with-zlib-dir=/opt/csw/lib

The script terminates with the the following error (from the
config.log)

-----------------
ld: warning: file /usr/local/mysql/lib/libmysqlclient.a(client.o):
wrong
ELF class: ELFCLASS64
Undefined first referenced
symbol in file
mysql_error /var/tmp/ccmSQSM2.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 56843 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char mysql_error();
-----------------

I have tried now for hours and hours but still I cant solve this. Any
hints and tips will be greatly appretiated.

Thanks !

Jul 17 '05 #1
0 1334

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

Similar topics

9
by: Ludwig Moser | last post by:
hello newsgroup! my problem is that after successful compiling the exe is running, but ONLY on my system i am using visual studio .net 2003 J# so: 1) why? 2) what can i do to change this?
1
by: Trevor Best | last post by:
SQLServer 2000, after installing SP4 I get a lot of stop errors as noted in the subject. KB suggests hardware failure but so far I haven't found any faulty componants. The errors started happening...
4
by: alexs | last post by:
Chaps, I'm having a small problem installing db2 on a Red Hat Enterprise server (version 4) Basically I installed DB2 V8.1 , applied fixpak 5 and then the 2.6 kernel specific fixpak 9 update. I...
13
by: bjhartin | last post by:
All, I was working at a client's site when I installed Visual Basic 6 on a machine at their request. Existing applications on this machine had specified version 4.0 of the Jet OLEDB provider in...
1
by: vijaykumars | last post by:
+-----------------------------------------------------------------------------+ Summaries: +-----------------------------------------------------------------------------+ Installation...
0
by: Danny De Koster | last post by:
Hi all, I want to use PHP with our informix database. So I want to make PHP 'Informix-enabled' with Apache. I already made apache but now at PHP the system gives me problems. Does anybody...
3
by: Mike P | last post by:
Last week I wrote a windows app, published it and then installed it on my local machine. It all worked perfectly. Now today when I try to run the app from my Start menu I get the error...
81
by: =?utf-8?B?4piG4piG4piG4piG4piGIFPDvCBLZWl0aCBDaGFr | last post by:
Installed this compiler on Vista; a simple "hello world" after compiled and run would pop-up a window "source file not compiled" I've seen this question asked a few times on Internet groups and...
60
by: =?ISO-8859-1?Q?Tom=E1s_=D3_h=C9ilidhe?= | last post by:
On May 3, 8:09 am, apati...@gmail.com wrote: A programmer that uses Vista? :O Vista is a hog of an operating system. Downgrade to Windows XP or get yourself a Linux distro.
6
by: msb_6 | last post by:
Currently I have a PHP extension thats all written and compiles under windows, but the PC I'm going to end up putting it on is running Ubuntu 8.04 (g++ 4.2.3). I've delved into PHP documentation...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.