problem when installing php-4.3.7 with Image Magic

freeman freeman-666 at yandex.ru
Thu Jul 1 10:27:43 PDT 2004


Hello ALL,

I'm have a problem when install php-4.3.7 with Image Magic

#uname -a
FreeBSD unix.mitridat.com.ua 4.9-STABLE FreeBSD 4.9-STABLE #0: Mon Dec  8 15:28:01 EET 2003     root at king.mitridat.com.ua:/usr/obj/usr/src/sys/GENERIC

Update ports.

I'm build php-4.3.7 from ports with good result.

But me need compiled with image magic.

Step by instruction:

 1. phpize, aclocle (in ext\imagick)

 2. buildconf --force

 3. './configure' '--enable-versioning' '--enable-memory-limit'
 '--with-layout=GNU' '--with-zlib-dir=/usr' '--disable-all'
 '--with-regex=php' '--with-pear' '--enable-bcmath' '--with-bz2=/usr'
 '--enable-calendar' '--with-crack=/usr/local' '--enable-ctype'
 '--with-curl=/usr/local' '--enable-dba' '--with-dom=/usr/local'
 '--with-dom-xslt=/usr/local' '--with-dom-exslt=/usr/local'
 '--enable-exif' '--enable-ftp' '--with-gd' '--enable-gd-native-ttf'
 '--with-freetype-dir=/usr/local' '--with-t1lib=/usr/local'
 '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local'
 '--with-xpm-dir=/usr/X11R6' '--with-gettext=/usr/local'
 '--with-hyperwave' '--with-iconv-dir=/usr/local'
 '--with-iconv=/usr/local' '--with-inifile' '--enable-mbstring'
 '--with-mcal=/usr/local' '--with-mcve=/usr/local'
 '--with-mcrypt=/usr/local' '--with-mhash=/usr/local'
 '--with-mime-magic=/usr/share/misc/magic.mime'
 '--with-ming=/usr/local' '--with-mnogosearch=/usr/local'
 '--with-mssql=/usr/local' '--with-ldap=/usr/local'
 '--with-openssl-dir=/usr/local' '--with-openssl=/usr/local'
 '--enable-overload' '--with-pcre-regex=yes' '--enable-posix'
 '--with-pgsql=/usr/local' '--enable-session' '--enable-sockets'
 '--enable-tokenizer' '--with-unixODBC=/usr/local'
 '--with-expat-dir=/usr/local' '--enable-xml' '--with-xmlrpc'
 '--enable-xslt' '--with-xslt-sablot=/usr/local'
 '--with-zip=/usr/local' '--with-zlib=yes'
 '--with-apxs=/usr/local/sbin/apxs' '--with-imap=/usr/local'
 '--with-imap-ssl=/usr/local' '--with-ncurses=/usr'
 '--with-snmp=/usr/local' '--enable-ucd-snmp-hack'
 '--x-libraries=/usr/X11R6/lib' '--x-includes=/usr/X11R6/include'
 '--prefix=/usr/local' 'i386-portbld-freebsd4.9' '--with-imagick'

4. make

libtool: link: cannot find the library `'
*** Error code 1

Stop in /usr/ports/lang/php4/work/php-4.3.7.  

_
It's all ... :-(
But before outputs:


/usr/local/bin/bash /usr/ports/lang/php4/work/php-4.3.7/libtool
--silent --preserve-dup-deps --mode=link gcc -export-dynamic -g -O2
-L/usr/local/lib -L/usr/X11R6/lib  -R /usr/local/lib -R /usr/X11R6/lib
ext/ctype/ctype.lo ext/imagick/imagick.lo ext/mysql/php_mysql.lo
ext/mysql/libmysql/libmysql.lo ext/mysql/libmysql/errmsg.lo
ext/mysql/libmysql/net.lo ext/mysql/libmysql/violite.lo
ext/mysql/libmysql/password.lo ext/mysql/libmysql/my_init.lo
ext/mysql/libmysql/my_lib.lo ext/mysql/libmysql/my_static.lo
ext/mysql/libmysql/my_malloc.lo ext/mysql/libmysql/my_realloc.lo
ext/mysql/libmysql/my_create.lo ext/mysql/libmysql/my_delete.lo
ext/mysql/libmysql/my_tempnam.lo ext/mysql/libmysql/my_open.lo
ext/mysql/libmysql/mf_casecnv.lo ext/mysql/libmysql/my_read.lo
ext/mysql/libmysql/my_write.lo ext/mysql/libmysql/errors.lo
ext/mysql/libmysql/my_error.lo ext/mysql/libmysql/my_getwd.lo
ext/mysql/libmysql/my_div.lo ext/mysql/libmysql/mf_pack.lo
ext/mysql/libmysql/my_messnc.lo ext/mysql/libmysql/mf_dirname.lo
ext/mysql/libmysql/mf_fn_ext.lo ext/mysql/libmysql/mf_wcomp.lo
ext/mysql/libmysql/typelib.lo ext/mysql/libmysql/safemalloc.lo
ext/mysql/libmysql/my_alloc.lo ext/mysql/libmysql/mf_format.lo
ext/mysql/libmysql/mf_path.lo ext/mysql/libmysql/mf_unixpath.lo
ext/mysql/libmysql/my_fopen.lo ext/mysql/libmysql/mf_loadpath.lo
ext/mysql/libmysql/my_pthread.lo ext/mysql/libmysql/my_thr_init.lo
ext/mysql/libmysql/thr_mutex.lo ext/mysql/libmysql/mulalloc.lo
ext/mysql/libmysql/string.lo ext/mysql/libmysql/default.lo
ext/mysql/libmysql/my_compress.lo ext/mysql/libmysql/array.lo
ext/mysql/libmysql/my_once.lo ext/mysql/libmysql/list.lo
ext/mysql/libmysql/my_net.lo ext/mysql/libmysql/dbug.lo
ext/mysql/libmysql/strmov.lo ext/mysql/libmysql/strxmov.lo
ext/mysql/libmysql/strnmov.lo ext/mysql/libmysql/strmake.lo
ext/mysql/libmysql/strend.lo ext/mysql/libmysql/strfill.lo
ext/mysql/libmysql/is_prefix.lo ext/mysql/libmysql/int2str.lo
ext/mysql/libmysql/str2int.lo ext/mysql/libmysql/strinstr.lo
ext/mysql/libmysql/strcont.lo ext/mysql/libmysql/strcend.lo
ext/mysql/libmysql/bchange.lo ext/mysql/libmysql/bmove.lo
ext/mysql/libmysql/bmove_upp.lo ext/mysql/libmysql/longlong2str.lo
ext/mysql/libmysql/strtoull.lo ext/mysql/libmysql/strtoll.lo
ext/mysql/libmysql/charset.lo ext/mysql/libmysql/ctype.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/posix/posix.lo
ext/session/session.lo ext/session/mod_files.lo ext/session/mod_mm.lo
ext/session/mod_user.lo regex/regcomp.lo regex/regexec.lo
regex/regerror.lo regex/regfree.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 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/cgi/libfcgi/fcgi_stdio.lo sapi/cgi/libfcgi/fcgiapp.lo
sapi/cgi/libfcgi/os_unix.lo sapi/cgi/cgi_main.lo sapi/cgi/getopt.lo
main/internal_functions.lo -lcrypt -lcrypt -lWand -lm -lMagick -ljbig
-llcms -ltiff -lfreetype -ljasper -ljpeg -lpng -lfpx -ldpstk -ldps
-lXext -lXt -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lm -lfreetype -lz
-lcrypt -lcrypt  -o sapi/cgi/php


What is problem?






-- 
Best regards,
 freeman                          mailto:freeman-666 at yandex.ru



More information about the freebsd-questions mailing list