LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 05-03-2003, 07:13 PM   #1
bige
Member
 
Registered: Mar 2003
Location: Kansas
Distribution: debian
Posts: 44

Rep: Reputation: 15
PHP compile question...


HELLO... I have been trying to install php 4.3.1 but when I try to compile it gives me some error that I don't understand. it is:
Quote:
/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/../../../../i386-slackware-linux/bin/ld: cannot find -lssl
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
I configured php like this:
Quote:
./configure \
--with-axps=/usr/sbin/apxs \
--with-apache=../apache_1.3.27 \
--with-mysql=/usr/local/mysql \
--with-curl=/usr/local/curl \
--enable-shared-pdflib \
--enable-track-vars
any ideas as to why it configured fine and I got the good ol' completion message and everything, but GCC whigs when it tries to compile? any help would be greatly appreciated!!
 
Old 05-03-2003, 11:51 PM   #2
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
Re: PHP compile question...

Quote:
Originally posted by bige
HELLO... I have been trying to install php 4.3.1 but when I try to compile it gives me some error that I don't understand. it is:

I configured php like this:


any ideas as to why it configured fine and I got the good ol' completion message and everything, but GCC whigs when it tries to compile? any help would be greatly appreciated!!
do you have libssl
do a
whereis libssl
or
rpm -q openssl
if you have not you have to install libssl
http://www.openssl.org/
 
Old 05-04-2003, 12:01 AM   #3
ghostdancer
Member
 
Registered: Apr 2002
Distribution: Slackware
Posts: 266

Rep: Reputation: 30
Just to add:

Try not to installed the openssl from the slack CDs. There is bug in the openssl packages that with Slack9. Either download the latest packages from slackware.com or build everything from source.
 
Old 05-04-2003, 12:03 AM   #4
ghostdancer
Member
 
Registered: Apr 2002
Distribution: Slackware
Posts: 266

Rep: Reputation: 30
Another thing... If you already build your ssl and still get this problem, you may have installed your ssl in /usr/local/ssl. Add you /usr/local/ssl/lib into you /etc/ld.so.conf, follow by ldconfig. Run your make again. This should help...
 
Old 05-05-2003, 10:52 AM   #5
bige
Member
 
Registered: Mar 2003
Location: Kansas
Distribution: debian
Posts: 44

Original Poster
Rep: Reputation: 15
yes.... I got it... finally

Well... thanks to all of your help I got apache + PHP + mysql seamlessly installed. It was that buggy openssl package that I installed w/ slack9. I did a removepkg and retried things.
THANKS again everyone... YOU RULE! along w/ linuxquestions.org
 
  


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
compile php with gd ? sonaatti Slackware 3 11-29-2004 11:46 AM
cant compile php-4.3.4 in redhat9 demmylls Linux - General 1 02-09-2004 02:37 PM
can't compile php 4.3.3 adrianmak Linux - Software 3 11-20-2003 09:06 PM
PHP compile/install question... tarballed Linux - Software 3 02-19-2003 05:40 PM
Compile php grubjo Linux - Software 7 09-09-2002 04:19 PM


All times are GMT -5. The time now is 02:14 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