LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-05-2004, 04:29 PM   #1
Transition
Member
 
Registered: Aug 2003
Distribution: Slackware 10
Posts: 48

Rep: Reputation: 15
Slackware php5 install failure


Hey guys -

Well the webservers almost complete. Everything seems to be working OK but i can't get PHP5 compiled. Please note i'm running Slackware 10 w/ php 4.3 already installed. Here's my ./configure parameters..


Code:
./configure --prefix=/usr/local 
--with-apxs=/usr/sbin/apxs 
--enable-magic-quotes 
--enable-ftp --enable-soap  
--with-libxml-dir=/usr/include/libxml2/
--with-zlib-dir=/usr/include/
--with-gd=/usr/local/
--with-openssl-dir=/usr/include/openssl/
--with-mcrypt=/usr/local/include/
--with-mhash=/usr/include/
--with-mysql=/var/lib/mysql/
--with-mysqli=/usr/bin/mysql_config
--with-curl=/usr/include/curl/ 
--with-png-dir=/usr/local/lib/ | more
The configure app returns the following error in the config.log file..

Code:
/usr/local/src/lamps/php-5.0.0RC3/configure:54976: undefined reference to `mysql_set_server_option'
collect2: ld returned 1 exit status
configure: failed program was:
#line 54969 "configure"
#include "confdefs.h"
That's the last error i get before the configure fails. Im' a bit confused as to whats actually happening.

Suggestions?

Thanks
 
Old 07-05-2004, 06:20 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Educated guess: the process can't find the
MySql libraries ...


Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 10.2 and NVRAID install failure marky9074 Slackware - Installation 2 12-09-2005 12:07 PM
Slackware 10.1 Root Login Failure squiggerz Slackware 6 02-21-2005 02:41 PM
PHP5 install error with Apache2 Devboy Linux - Software 1 01-17-2005 05:18 PM
Slackware login failure nutz Linux - Software 3 11-25-2003 04:18 PM
ORACLE 9.0.1 Install Failure yuewang Linux - Software 1 11-07-2002 02:32 AM


All times are GMT -5. The time now is 03:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration