Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jun 2009 11:54:24 +0100
From:      Chris Rees <utisoft@googlemail.com>
To:        kalin m <kalin@el.net>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: cannot find -lltdl
Message-ID:  <b79ecaef0906230354x36587e7cs6893cc3d78ee90e2@mail.gmail.com>
In-Reply-To: <4A4063B6.1000104@el.net>
References:  <4A4063B6.1000104@el.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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=3DGNU --with-config-file-scan-dir=3D/usr/local/=
etc/php
> --disable-all --enable-libxml --with-libxml-dir=3D/usr/local
> --enable-reflection --program-prefix=3D --disable-cgi
> --with-apxs2=3D/etc/httpd/bin/apxs --with-regex=3Dphp --with-zend-vm=3DCA=
LL
> --prefix=3D/usr/local --mandir=3D/usr/local/man --infodir=3D/usr/local/in=
fo/
> --with-pcre-regex --with-mysql=3D/usr/local/mysql --with-curl --enable-ct=
ype
> --enable-dom --enable-exif --enable-filter --with-gd --with-openssl
> --enable-json --with-iconv --with-mhash --with-mcrypt
>
>
> the configuration runs fine but =A0the 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 =A0-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. a=
n
> hour ago. and it is working. but i need to add more stuff to this. if i t=
ake
> off --with-mcrypt it builds fine. i have mcrypt already and i need it. an=
d
> don't want to reinstall without it....
>
> any help?
>
> thanks...


Why aren't you using ports?



Chris


--=20
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?



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