For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > September 2006 > Solaris 10, PHP 5.1.6









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Solaris 10, PHP 5.1.6
Kris Wolff

2006-09-12, 9:57 pm

Hi gents,

has anybody installed php 5.1.6 on a solaris 10 (x86) box by now? My
prop is the mysql. i get: configure: error: mysql configure failed.
Please check config.log for more information.

the log says:
ld: warning: file /opt/mysql/lib/libmysqlclient.a(client.o): wrong
ELF class: ELFCLASS64
ld: warning: file /opt/mysql/lib/libz.a(crc32.o): wrong ELF class:
ELFCLASS64
Undefined first referenced
symbol in file
mysql_error /var/tmp/cc9RmXuc.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 58781 "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();

int main() {
mysql_error()
; return 0; }


i tried different ld's on my system, always the same.
can you help?

Cheers,
kris
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com