Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jun 2009 10:28:21 -0400
From:      kalin m <kalin@el.net>
To:        utisoft@gmail.com
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: cannot find -lltdl
Message-ID:  <4A40E685.3070004@el.net>
In-Reply-To: <b79ecaef0906230354x36587e7cs6893cc3d78ee90e2@mail.gmail.com>
References:  <4A4063B6.1000104@el.net> <b79ecaef0906230354x36587e7cs6893cc3d78ee90e2@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


Chris Rees wrote:
> 2009/6/23 kalin m <kalin@el.net>:
>   
>> 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
>
>
>   



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A40E685.3070004>