From owner-freebsd-questions@FreeBSD.ORG Tue Jun 23 14:29:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8F291065673 for ; Tue, 23 Jun 2009 14:29:06 +0000 (UTC) (envelope-from kalin@el.net) Received: from mail.el.net (mail.el.net [74.1.12.120]) by mx1.freebsd.org (Postfix) with ESMTP id 857948FC0A for ; Tue, 23 Jun 2009 14:29:06 +0000 (UTC) (envelope-from kalin@el.net) Received: (qmail 20633 invoked by uid 1008); 23 Jun 2009 15:33:59 -0000 Received: from unknown (HELO kalins-macbook-pro.local) (kalin@el.net@24.193.246.51) by mail.el.net with ESMTPA; 23 Jun 2009 15:33:59 -0000 Message-ID: <4A40E685.3070004@el.net> Date: Tue, 23 Jun 2009 10:28:21 -0400 From: kalin m User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: utisoft@gmail.com References: <4A4063B6.1000104@el.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions Subject: Re: cannot find -lltdl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jun 2009 14:29:07 -0000 Chris Rees wrote: > 2009/6/23 kalin m : > >> hi all.. >> >> this is a bit awkward.... >> >> i'm building php 5.2.10 from source on freebsd 7.0. using: >> >> ./configure --with-layout=GNU --with-config-file-scan-dir=/usr/local/etc/php >> --disable-all --enable-libxml --with-libxml-dir=/usr/local >> --enable-reflection --program-prefix= --disable-cgi >> --with-apxs2=/etc/httpd/bin/apxs --with-regex=php --with-zend-vm=CALL >> --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ >> --with-pcre-regex --with-mysql=/usr/local/mysql --with-curl --enable-ctype >> --enable-dom --enable-exif --enable-filter --with-gd --with-openssl >> --enable-json --with-iconv --with-mhash --with-mcrypt >> >> >> the configuration runs fine but the build breaks: >> .............................. >> main/internal_functions.lo -lcrypt -lcrypt -lmysqlclient -lmhash -lmcrypt >> -lltdl -liconv -lpng -lz -lcurl -lssl -lcrypto -lm -lxml2 -lz -liconv -lm >> -lcurl -lssl -lcrypto -lz -lxml2 -lz -liconv -lm -lcrypt -lcrypt -o >> libphp5.la >> /usr/bin/ld: cannot find -lltdl >> *** Error code 1 >> >> Stop in /usr/local/src/php-5.2.10. >> >> # locate ltdl >> /usr/local/share/aclocal/ltdl.m4 >> /usr/local/share/libtool/libltdl >> ........... >> >> the thing is it already build once with the same configuration options. an >> hour ago. and it is working. but i need to add more stuff to this. if i take >> off --with-mcrypt it builds fine. i have mcrypt already and i need it. and >> don't want to reinstall without it.... >> >> any help? >> >> thanks... >> > > > Why aren't you using ports? > there isn't ports for all that i need compiling with 5.2.10. > > > Chris > > >