From owner-freebsd-questions@FreeBSD.ORG Tue Jun 23 05:37:40 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 7D4441065672 for ; Tue, 23 Jun 2009 05:37:40 +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 18B908FC0C for ; Tue, 23 Jun 2009 05:37:39 +0000 (UTC) (envelope-from kalin@el.net) Received: (qmail 38561 invoked by uid 1008); 23 Jun 2009 06:15:50 -0000 Received: from unknown (HELO kalins-macbook-pro.local) (kalin@el.net@74.1.12.115) by mail.el.net with ESMTPA; 23 Jun 2009 06:15:50 -0000 Message-ID: <4A4063B6.1000104@el.net> Date: Tue, 23 Jun 2009 01:10:14 -0400 From: kalin m User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: 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 05:37:40 -0000 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...