[pulseaudio-discuss] can't build PA, libtool not found

Sean McNamara smcnam at gmail.com
Sat Mar 13 12:47:04 PST 2010


Hi,

On Sat, Mar 13, 2010 at 2:32 PM, Kristian_JK <kristian_jk at yahoo.com> wrote:

> hello,
>
> I have a strange error, the configure script of PA (0.9.21) is not able to
> find libtool.
>
> I installed the latest version of Libtool under /usr/local/:
>
> $ libtool --version
> ltmain.sh (GNU libtool) 2.2.6b
> ...
>
>
> The PA configure script exits here:
>
> checking for lt_dladvise_init in -lltdl... no
> configure: error: Unable to find libltdl version 2. Makes sure you have
> libtool 2.2 or later installed.
>

I checked the PA configure script for any more convenient way to specify the
libtool path (you know, like DBUS_CFLAGS and DBUS_LIBS for dbus), but it
seems you'll need to rely on more generic methods. libltdl is not hooked
into pkg-config, and configure can't override it normally. You could try to
set LDFLAGS="${LDFLAGS} -L/usr/local/lib" or you could set
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/lib"

You could also take the "safe route" by installing it in /usr instead of
/usr/local -- which won't overwrite anything since you removed your old
libtool anyway.

HTH,

Sean


>
> What is going wrong here?
>
> I removed the old libtool version and it is not present in the PATH env
> variable
>
>
> Thanks for your help,
>
> Kristian
>
>
>
>
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at mail.0pointer.de
> https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20100313/8c14ff02/attachment.htm>


More information about the pulseaudio-discuss mailing list