Re: SOLVED: PHP4 with MySQL under Solaris 8
| From: | Estelle Martin | Date: | Fri, 16 Jun 2000 06:51:55 +0000 |
| Subject: | Re: SOLVED: PHP4 with MySQL under Solaris 8 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-2049@lists.php.net to get a copy of this message | ||
Same solution has been found by other in this newsgroup before.
See the thread of the 03.05.2000 by Tuupola.
But thank you for the confirmation !
Estelle
Stephen Hui wrote:
>
> We've found the soltion to the bulk of our linking problems while
> compiling PHP4/MySQL under Solaris 8. The linker was not being able to
> resolve symbols for the mysql_* functions in PHP.
>
> Seems the makefiles generated by the configure script for Apache left
> out a -lmysqlclient . (Of course, it also duplicates a few of the other
> flags....) After we added "-lmysqlclient" to the LIBS1 variable in
> several makefiles, Apache compiled relatively smoothly with PHP/MySQL as
> a static module.
>
> Hope this helps some of you out there who have been having similar
> problems (or at least provides insight to some other linking problems).
>
> Stephen.
>
> --
> Computer Terms: Programmer - A red-eyed, mumbling mammal
> capable of conversing with inanimate objects.
>
> Stephen Hui, ARL:UT, Austin, TX
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
---------------------------------------------------------------------
___/ __ / ___/ / Estelle Martin
/ / / / / Chaire de Statistique Appliquee
___/ ___/ ___/ / DMA-EPFL
/ / / / CH-1015 Lausanne
____/ _/ _/ ____/ Switzerland
ECOLE POLYTECHNIQUE FEDERALE DE LAUSANNE mailto:estelle.martin@epfl.ch
phone: 41-21-693.27.85
Swiss Federal Institute of Technology fax: 41-21-693.42.50
http://statwww.epfl.ch/morgenthaler/Nelle.shtml
---------------------------------------------------------------------