php-install Digest 5 Jun 2003 11:38:58 -0000 Issue 1409
Topics (messages 11011 through 11013):
Imagick
11011 by: Jacob Marble
Re: 45443-343556
11012 by: mrose.dbc.mtview.ca.us
problem with LDAP in PHP 4.3.2
11013 by: delfin.feld.cvut.cz
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 ---
Hey all-
I'm trying to compile with Imagick 0.9.6 on Debian 3.0. I untar'ed to
php-4.3.2/ext/imagick, made a new ./configure and gave the following
command:
CFLAGS="-O3 -march=athlon-xp" CPPFLAGS="-O3 -march=athlon-xp"
./configure --with-pgsql=/usr/local/pgsql --with-apxs2=/usr/local/apache2/bi
n/apxs --without-mysql --with-mssql --with-imagick
That works fine, then I do a make and after a few screenful's of text, I
get the following error:
/bin/sh /usr/src/php-4.3.2/libtool --silent --preserve-dup-deps --mode=link
gcc -export-dynamic -O3 -march=athlon-xp -avoid-version -module -L/usr/loca
l/lib -L/usr/local/pgsql/lib -R /usr/local/lib -R /usr/local/pgsql/lib
ext/ctype/ctype.lo ext/imagick/imagick.lo ext/mssql/php_mssql.lo
ext/overload/overload.lo ext/pcre/pcrelib/maketables.lo
ext/pcre/pcrelib/get.lo ext/pcre/pcrelib/study.lo ext/pcre/pcrelib/pcre.lo
ext/pcre/php_pcre.lo ext/pgsql/pgsql.lo ext/posix/posix.lo
ext/session/session.lo ext/session/mod_files.lo ext/session/mod_mm.lo
ext/session/mod_user.lo ext/standard/array.lo ext/standard/base64.lo
ext/standard/basic_functions.lo ext/standard/browscap.lo
ext/standard/crc32.lo ext/standard/crypt.lo ext/standard/cyr_convert.lo
ext/standard/datetime.lo ext/standard/dir.lo ext/standard/dl.lo
ext/standard/dns.lo ext/standard/exec.lo ext/standard/file.lo
ext/standard/filestat.lo ext/standard/flock_compat.lo
ext/standard/formatted_print.lo ext/standard/fsock.lo ext/standard/head.lo
ext/standard/html.lo ext/standard/image.lo ext/standard/info.lo
ext/standard/iptc.lo ext/standard/lcg.lo ext/standard/link.lo
ext/standard/mail.lo ext/standard/math.lo ext/standard/md5.lo
ext/standard/metaphone.lo ext/standard/microtime.lo ext/standard/pack.lo
ext/standard/pageinfo.lo ext/standard/parsedate.lo
ext/standard/quot_print.lo ext/standard/rand.lo ext/standard/reg.lo
ext/standard/soundex.lo ext/standard/string.lo ext/standard/scanf.lo
ext/standard/syslog.lo ext/standard/type.lo ext/standard/uniqid.lo
ext/standard/url.lo ext/standard/url_scanner.lo ext/standard/var.lo
ext/standard/versioning.lo ext/standard/assert.lo ext/standard/strnatcmp.lo
ext/standard/levenshtein.lo ext/standard/incomplete_class.lo
ext/standard/url_scanner_ex.lo ext/standard/ftp_fopen_wrapper.lo
ext/standard/http_fopen_wrapper.lo ext/standard/php_fopen_wrapper.lo
ext/standard/credits.lo ext/standard/css.lo ext/standard/var_unserializer.lo
ext/standard/ftok.lo ext/standard/aggregation.lo ext/standard/sha1.lo
ext/tokenizer/tokenizer.lo ext/xml/xml.lo ext/xml/expat/xmlparse.lo
ext/xml/expat/xmlrole.lo ext/xml/expat/xmltok.lo regex/regcomp.lo
regex/regexec.lo regex/regerror.lo regex/regfree.lo TSRM/TSRM.lo
TSRM/tsrm_strtok_r.lo TSRM/tsrm_virtual_cwd.lo main/main.lo main/snprintf.lo
main/spprintf.lo main/php_sprintf.lo main/safe_mode.lo
main/fopen_wrappers.lo main/alloca.lo main/php_scandir.lo main/php_ini.lo
main/SAPI.lo main/rfc1867.lo main/php_content_types.lo main/strlcpy.lo
main/strlcat.lo main/mergesort.lo main/reentrancy.lo main/php_variables.lo
main/php_ticks.lo main/streams.lo main/network.lo
main/php_open_temporary_file.lo main/php_logos.lo main/output.lo
main/memory_streams.lo main/user_streams.lo Zend/zend_language_parser.lo
Zend/zend_language_scanner.lo Zend/zend_ini_parser.lo
Zend/zend_ini_scanner.lo Zend/zend_alloc.lo Zend/zend_compile.lo
Zend/zend_constants.lo Zend/zend_dynamic_array.lo Zend/zend_execute_API.lo
Zend/zend_highlight.lo Zend/zend_llist.lo Zend/zend_opcode.lo
Zend/zend_operators.lo Zend/zend_ptr_stack.lo Zend/zend_stack.lo
Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo Zend/zend_extensions.lo
Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo
Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo
Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_execute.lo
sapi/cli/php_cli.lo sapi/cli/getopt.lo
main/internal_functions_cli.lo -lcrypt -lcrypt -lpq -lsybdb -lresolv -lm -ld
l -lnsl -lMagick -lm -lcrypt -lcrypt -o sapi/cli/php
ext/imagick/imagick.lo: In function `zif_imagick_begindraw':
ext/imagick/imagick.lo(.text+0x38bf): undefined reference to
`DrawAllocateContext'
ext/imagick/imagick.lo: In function `_php_imagick_clean_up_handle':
ext/imagick/imagick.lo(.text+0x7489): undefined reference to
`DrawDestroyContext'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
[EMAIL PROTECTED]:/usr/src/php-4.3.2#
What's up? It looks like this has to do with the CLI and Imagick, so I
added --disable-cli to my ./configure and ran again, this time successfull!
4.3.1 behaves exactly the same. My intention is to use Imagick with CLI, so
this isn't acceptable. Does anyone have suggestions? Is anyone getting
simaler problems?
Thanks,
Jake
LandEZ
--- End Message ---
--- Begin Message ---
Please see the attached file.
--- End Message ---
--- Begin Message ---
Hi all,
i cant compile php 4.3.2 with ldap (without ldap it works ok). I tried (to be
sure) php 4.3.1 with ldap yet and no problem.
debug.log:
CONFIGURE: './configure' '--with-apache=../apache' '--enable-track-vars' '--
with-imap=/usr/local/src/imap-200c' '--with-imap-ssl'
'--with-pgsql' '--with-openssl=/usr/local/ssl' '--without-mysql' '--enable-
mbstring' '--with-gettext' '--with-xml' '--enable-inline-
optimization' '--disable-debug' '--with-mm' '--enable-debug' '--with-ldap'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS:
CXX:
CXXFLAGS:
INCLUDES: -I$(top_builddir)/Zend -I/usr/local/ssl/include -
I/usr/local/src/imap-200c/include -I/usr/local/pgsql/include -I/usr/lo
cal/include
LDFLAGS: -Wl,-rpath,/usr/local/ssl/lib -L/usr/local/ssl/lib -Wl,-
rpath,/usr/local/src/imap-200c/lib -L/usr/local/src/imap-200c/l
ib -Wl,-rpath,/usr/local/pgsql/lib -L/usr/local/pgsql/lib -Wl,-
rpath,/usr/local/lib -L/usr/local/lib
LIBS: -lcrypt -lmm -lpq -lldap -llber -lcrypt -lpam -lssl -lcrypto -
lresolv -lm -ldl -lnsl -lcrypt
DLIBS: -lc-client -lssl -lcrypto
SAPI: apache
PHP_RPATHS: /usr/local/ssl/lib /usr/local/src/imap-
200c/lib /usr/local/pgsql/lib /usr/local/lib
uname -a: Linux imap 2.4.21-rc1 #1 SMP Mon May 5 22:45:18 CEST 2003 i686
GNU/Linux
gcc -o conftest -g -O2 -Wl,-rpath,/usr/local/ssl/lib -L/usr/local/ssl/lib -
Wl,-rpath,/usr/local/src/imap-200c/lib -L/usr/local/src
/imap-200c/lib -Wl,-rpath,/usr/local/pgsql/lib -L/usr/local/pgsql/lib -Wl,-
rpath,/usr/local/lib -L/usr/local/lib conftest.c -lcrypt
-lmm -lpq -lldap -llber -lcrypt -lpam -lssl -lcrypto -lresolv -lm -ldl -lnsl -
lcrypt 1>&5
/usr/lib/gcc-lib/i386-linux/3.3/../../../libldap.so: undefined reference to
[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-linux/3.3/../../../libldap.so: undefined reference to
[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-linux/3.3/../../../libldap.so: undefined reference to
[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-linux/3.3/../../../libldap.so: undefined reference to
[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-linux/3.3/../../../libldap.so: undefined reference to
[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-linux/3.3/../../../libldap.so: undefined reference to
[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-linux/3.3/../../../libldap.so: undefined reference to
[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-linux/3.3/../../../libldap.so: undefined reference to
[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-linux/3.3/../../../libldap.so: undefined reference to
[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-linux/3.3/../../../libldap.so: undefined reference to
[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-linux/3.3/../../../libldap.so: undefined reference to
[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-linux/3.3/../../../libldap.so: undefined reference to
[EMAIL PROTECTED]'
collect2: ld returned 1 exit status
Can anyone help me? thx :)
Best regard,
Delfin
--- End Message ---