Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hello,
I feel like a total newbie, but I guess that's what this board is for, so here's my problem:
I've installed Mandrake 9.1. I've got Apache with PHP and Mysql support. No problems there. I let Mandrake's install deal with the configurations. Again, no problems there. I've now come to a point where I want to use curl, but it's not configured to work with php. I have php 4.3.1, and according to the PHP documentation it has curl support built in as long as it is compiled with it. Well, I didn't do the compile to begin with... Is there any way to enable a module without recompiling?
I'm guessing there isn't, which makes sense to me. So I downloaded PHP 4.3.3. I can't get it to configure. Using the configure string from my previous phpinfo, it dies. It will configure fine with simply './configure' but not with './configure --with-curl'. I checked to see if curl was installed, it is. Partial configure log here:
------
checking for CURL support... yes
checking for CURL in default path... found in /usr
checking for cURL 7.9.8 or greater... libcurl 7.10.3
checking for curl_easy_perform in -lcurl... no
configure: error: There is something wrong. Please check config.log for more information.
------
Config.log didn't give me anything I could decipher as useful information, but here's the tail end of it:
------
configure:19986: checking for curl_easy_perform in -lcurl
configure:20005: gcc -o conftest -g -O2 -lcurl -lz -lssl -lcrypto -ldl -lz conftest.c -lcurl -lcurl -lresolv -lm -ldl -lnsl -lcurl -lz -lssl -lcrypto -ldl -lz 1>&5
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
configure: failed program was:
#line 19994 "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 curl_easy_perform();
int main() {
curl_easy_perform()
; return 0; }
------
So that's where I'm at now. My next guess is that I'm missing some support files, or perhaps curl wasn't compiled with everything I need in it, but I didn't want to put more time into it until I had some idea of where to go. Can someone point me in the right direction? Thanks!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.