Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2003 17:52:36 +0100
From:      Jens Rehsack <rehsack@liwing.de>
To:        Igor Roshchin <str@giganda.komkon.org>
Cc:        ports@freebsd.org
Subject:   Re: problem with building a new version of mod_php4
Message-ID:  <3E5E4254.8090304@liwing.de>
References:  <200302271633.h1RGXp398323@giganda.komkon.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Igor Roshchin wrote:
> Hello!
> 
> I had an older version of mod_php4 build and installed on a server,
> with all necessary dependencies. Now I decided to rebuild it,
> downoloaded the whole tree of ports to insure that I have all them fresh.
> In the previous installation I was using gd1, (probably gd2 was not an
> option at that time, or for some other reason). Now I decided to use
> gd2.  make in mod_php4 goes through building all depedent ports, and then 
> fails here:
> ===>  Building for mod_php4-4.3.1
> /bin/sh libtool --silent --mode=link cc -export-dynamic -O -pipe -I/usr/local/include  -export-symbols /usr4/ports.feb03/www/mod_php4/work/php-4.3.1/sapi/apache/php.sym -avoid-version -module -L/usr/local/lib -L/usr/local/lib/mysql  -R /usr/local/lib -R /usr/local/lib/mysql ext/zlib/zlib.lo ext/zlib/zlib_fopen_wrapper.lo ext/bz2/bz2.lo ext/ctype/ctype.lo ext/ftp/php_ftp.lo ext/ftp/ftp.lo ext/gd/gd.lo ext/gd/gdttf.lo ext/gd/gdcache.lo ext/gettext/gettext.lo ext/iconv/iconv.lo ext/imap/php_imap.lo ext/mbstring/mbfilter_ja.lo ext/mbstring/mbfilter_cn.lo ext/mbstring/mbfilter_tw.lo ext/mbstring/mbfilter_kr.lo ext/mbstring/mbfilter_ru.lo ext/mbstring/mbfilter.lo ext/mbstring/mbstring.lo ext/mbstring/mbregex.lo ext/mbstring/php_mbregex.lo ext/mbstring/html_entities.lo ext/mbstring/php_unicode.lo ext/mcal/php_mcal.lo ext/mysql/php_mysql.lo ext/openssl/openssl.lo ext/overload/overload.lo ext/pcre/pcrelib/maketables.lo ext/pcre/pcrelib/get.lo ext/pcre/pcrelib/study.lo ext/pcre/pcre
li!
> b/pcre.lo ext/pcre/php_pcre.lo ext/pdf/pdf.lo ext/posix/posix.lo ext/pspell/pspell.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.l
o !
> 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 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_ini.lo main/SAPI.lo main/rfc1867.lo main/php_content_types.lo 
ma!
> in/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 -lmcal -lcrypto -lssl -lc-client4 -lexpat -lpspell -lp
df!
>  -lz -ltiff -lpng -ljpeg -lmysqlclient -lcrypt -lpam -liconv -lintl -lgd -lfreetype -lpng -lz -ljpeg -lbz2 -lz -lcrypt -lssl -lcrypto -lm -lcrypt  -o sapi/cli/php
> /usr/libexec/elf/ld: warning: libfreetype.so.7, needed by /usr/local/lib/libgd.so, may conflict with libfreetype.so.9
It seems that you didn't upgrade the ports but reinstalled the new ones 
ever and ever again. It's really easy to upgrade a port using 
portupgrade from ports/sysutils/portupgrade

> ext/imap/php_imap.lo: In function `zm_startup_imap':
> ext/imap/php_imap.lo(.text+0x54b): undefined reference to `ssl_onceonlyinit'
> *** Error code 1

Which version of base system do you have? Or may it the same conflict as 
it's in freetype?

> Stop in /usr4/ports.feb03/www/mod_php4/work/php-4.3.1.
> *** Error code 1
> 
> Stop in /usr4/ports.feb03/www/mod_php4.
> *** Error code 1
> 
> Stop in /usr4/ports.feb03/www/mod_php4.
>  >
> 
> I have the following set of libfreetype libraries:
> ~>ls -l /usr/local/lib/libfreetype.*
> -rw-r--r--  1 root  wheel  394340 Feb 26 12:02 /usr/local/lib/libfreetype.a
> lrwxr-xr-x  1 root  wheel      16 Feb 26 12:02 /usr/local/lib/libfreetype.so@ ->
>  libfreetype.so.9
> -rwxr-xr-x  1 root  wheel  224156 Apr 18  2001 /usr/local/lib/libfreetype.so.6*
> -rwxr-xr-x  1 root  wheel  251840 Aug 20  2001 /usr/local/lib/libfreetype.so.7*
> -rwxr-xr-x  1 root  wheel  371938 Feb 26 12:02 /usr/local/lib/libfreetype.so.9*
> 
> I am not sure if I want to remove the older library as I am not sure what
> else might be using it. 
> Advice is appreciated.

The clean way is to remove all freetype ports you have and install the 
newest one. Maybe a 'portupgrade -rfa' may help you after cleaned up 
your system getting each port running fine.

Jens

> Igor
> 
> PS. Please, when responding keep my address in Cc:


-- 
L     i  W     W     W  i                 Jens Rehsack
L        W     W     W
L     i   W   W W   W   i  nnn    gggg    LiWing IT-Services
L     i    W W   W W    i  n  n  g   g
LLLL  i     W     W     i  n  n  g   g    Friesenstraße 2
                                   gggg    06112 Halle
                                      g
                                  g   g
Tel.:  +49 - 3 45 - 5 17 05 91    ggg     e-Mail: <rehsack@liwing.de>
Fax:   +49 - 3 45 - 5 17 05 92            http://www.liwing.de/



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E5E4254.8090304>