php-install Digest 2 Nov 2002 22:26:50 -0000 Issue 1100
Topics (messages 9005 through 9006):
Failed to configure?
9005 by: Yves Goergen
PHP make bombs out with 'cannot find -lcrypto' on Slackware
9006 by: Phil Cryer
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Hello,
I don't know whether I have a problem or not... './configure' said
"something is likely to be messed up here". That's what I believe, too. I
have installed some libraries now and don't know at all where they're gone!
Well, I simply wanted to install the latest PHP on my linux system, together
with GD, OpenSSL and some other things. I gave up with OpenSSL because the
configure script didn't seem to know what I want. Also JPEG lib doesn't seem
to work here. This is the debug.log file I should send to this mailing list:
-----------------------------
CONFIGURE: './configure' '--with-mysql'
'--with-apxs=/usr/local/apache/bin/apxs' '--with-zlib' '--with-gd'
'--with-png-dir=/usr/local/lib' '--with-ttf=/usr/local/lib' '--enable-ftp'
'--enable-calendar' '--enable-trans-sid' '--enable-bcmath'
'--enable-gd-imgstrttf'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -DLINUX=22 -DNO_DBM_REWRITEMAP -DUSE_HSREGEX -DUSE_EXPAT
CXX:
CXXFLAGS:
INCLUDES: -I/usr/local/apache/include -I$(top_builddir)/Zend -I/usr/loca
l/include -I/include -I/usr/local/bin/php4-latest/ext/mysql/libmysql
LDFLAGS: -Wl,-rpath,/usr/local/lib -L/usr/local/lib
LIBS: -lgd -lpng -lz -lz -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lc
rypt
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/local/lib
uname -a: Linux vmy-lin 2.4.19-16mdk #1 Fri Sep 20 18:15:05 CEST 2002 i686
unknown unknown GNU/Linux
gcc -o
conftest -g -O2 -DLINUX=22 -DNO_DBM_REWRITEMAP -DUSE_HSREGEX -DUSE_EXPAT -
Wl,-rpath,/usr/local/lib -L/usr/local/lib
conftest.c -lgd -lpng -lz -lz -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcr
ypt 1>&5
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libgd.so: undefined
reference to `FT_Init_FreeType'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libgd.so: undefined
reference to `FT_Load_Glyph'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libgd.so: undefined
reference to `FT_Done_Face'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libgd.so: undefined
reference to `FT_Get_Kerning'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libgd.so: undefined
reference to `FT_Get_Char_Index'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libgd.so: undefined
reference to `FT_Get_Glyph'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libgd.so: undefined
reference to `FT_Glyph_To_Bitmap'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libgd.so: undefined
reference to `FT_Done_FreeType'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libgd.so: undefined
reference to `FT_Set_Char_Size'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libgd.so: undefined
reference to `FT_Set_Transform'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libgd.so: undefined
reference to `FT_Done_Glyph'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libgd.so: undefined
reference to `FT_Glyph_Get_CBox'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libgd.so: undefined
reference to `FT_New_Face'
collect2: ld returned 1 exit status
-----------------------------
I don't even know what's the problem in here so maybe you can help me out...
I'm quite new to Linux. Apache and PHP 4.2.3 standard setup worked fine. Now
I tried to rebuild my webhoster's configuration... Well. Running this on
Windows 95 is so much easier!!
TIA
··· yves at unclassified.de
--- End Message ---
--- Begin Message ---
I'm running a Slackware 8.1 server and I have had Squirelmail and Postnuke working fine
with PHP. Now I want to try IMP, which requires HORDE. I've jumped through all the
hoops to get to (what I think is) the last step. It wanted me to reconfigure PHP, so I
did like this:
./configure --with-imap --with-imap-ssl --with-gettext --with-mcrypt --with-mysql=/usr
--with-apxs=/usr/sbin/apxs
basically what I had before (imap, apxs, mysql) with some other things thrown in for
good
measure. That config's fine, but then the 'make' bombs out with:
-----
/usr/i386-slackware-linux/bin/ld: cannot find -lcrypto
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/root/installers/php-4.2.3'
make: *** [all-recursive] Error 1
root@jorge:~/installers/php-4.2.3#
-----
I've tried everything I could think of, then hit google, and IRC for Slack/Horde and
PHP.
Can anyone point me in the right direction? Oh, and by messing with PHP I've broken
the
Squirrelmail install too. Think once I have PHP upright again I'll be ok.
Thanks
Phil
=====
"If I can't dance I don't want to be in your revolution" -Emma Goldman
__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/
--- End Message ---