[maemo-developers] Can't find lt_dlopen in autobuilder for DIABLO
From: Ed Bartosh bartosh at gmail.comDate: Sun Oct 4 13:28:31 EEST 2009
- Previous message: Can't find lt_dlopen in autobuilder for DIABLO
- Next message: Can't find lt_dlopen in autobuilder for DIABLO
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, Short answer: ---------------- Change libltdl3-dev to libltdl3-dev (>= 1.5.22) in Build-depends line of your debian/control. It should help to fix your build. Long answer: ----------------- I've debugged this situation a bit and found out that libltdl3-dev is provided by scratchbox: [sbox-maemo4-arm: ~/libmp3splt-0.5.7a] > dpkg-checkbuilddeps : Using Scratchbox tools to satisfy builddeps : Dependency provided by Scratchbox: libtool : Dependency provided by Scratchbox: libltdl3-dev : Dependency provided by Scratchbox: autotools-dev and scratchbox really provides this library: find /scratchbox/compilers/cs2005q3.2-glibc2.5-arm/ -name *ltdl* /scratchbox/compilers/cs2005q3.2-glibc2.5-arm/arch_tools/share/aclocal/ltdl.m4 /scratchbox/compilers/cs2005q3.2-glibc2.5-arm/arch_tools/share/libtool/libltdl /scratchbox/compilers/cs2005q3.2-glibc2.5-arm/arch_tools/share/libtool/libltdl/ltdl.c /scratchbox/compilers/cs2005q3.2-glibc2.5-arm/arch_tools/share/libtool/libltdl/ltdl.h /scratchbox/compilers/cs2005q3.2-glibc2.5-arm/arch_tools/lib/libltdl.so.3.1.2 /scratchbox/compilers/cs2005q3.2-glibc2.5-arm/arch_tools/lib/libltdl.a /scratchbox/compilers/cs2005q3.2-glibc2.5-arm/arch_tools/lib/libltdl.la /scratchbox/compilers/cs2005q3.2-glibc2.5-arm/arch_tools/lib/libltdl.so.3 /scratchbox/compilers/cs2005q3.2-glibc2.5-arm/arch_tools/lib/libltdl.so /scratchbox/compilers/cs2005q3.2-glibc2.5-arm/arch_tools/include/ltdl.h However configure couldn't find it or it finds it but for some reason can't use it. I decided not to investigate why it happens and just try to make build to use another libltdl. Scratchbox provides libltdl3-dev version 1.5.20. You can see this in here: /scratchbox/compilers/cs2005q3.2-glibc2.5-arm/deb_list/libtool. Fortunately we have libltdl3-dev 1.5.22-4maemo1 in SDK repo. So, to make build use version from repo we need to change build dependency of your package from libltdl3-dev to libltdl3-dev (>= 1.5.22). After that it was built just fine for me. Another, proper way was to keep digging into configure magic and find out why it doesn't like libltdl provided by scratchbox, which would most probalby lead us to the long way of waiting for the fix from scratchbox guys. May be I'm too lazy or too old for this, but I decided to leave this exercise to someone else :) Regards, Ed 2009/10/4 Bruce Forsberg <bruce.forsberg at gmail.com>: > I am trying to port the mp3splt package to DIABLO. I am have problems > getting the library package to build with the autobuilder. It does not > seem to be able to find the libltdl library. I have included libtool, > libltdl3, libltdl3-dev in the Build-Depends of the control file but > this does not seem to work as the configure file gives the error: > > checking ltdl.h usability... no > checking ltdl.h presence... no > checking for ltdl.h... no > checking whether to use included libltdl... > . > . > . > checking for lt_dlopen in -lltdl... no > configure: error: libltdl not found - check libtool installation ! > > This all works in my scratchbox DIABLO_ARMEL environment. Does anybody > have any ideas on what I need to add to get this to work. I believe > that mp3splt uses plugins so I need this to work. The error files are > at: > https://garage.maemo.org/builder/diablo/libmp3splt_0.5.7a-maemo1/ > > The control file is (I have tried many combinations): > Source: libmp3splt > Priority: optional > Maintainer: Munteanu Alexandru Ionut (io_alex_2002 at yahoo.fr) > Build-Depends: debhelper (>= 5), libtool, libltdl3-dev, libvorbis-dev, > libmad0-dev, libid3tag0-dev, autotools-dev > Standards-Version: 3.6.0 > Section: user/multimedia > > Package: libmp3splt0 > Section: libs > Architecture: any > Depends: libmp3splt > Description: Library that splits MP3 and Ogg Vorbis files without reencoding > Used to split MP3 (VBR supported) and Ogg Vorbis > files into smaller files without decoding. Useful for splitting albums, either > manually, using freedb.org data, or .cue files ... > . > Homepage: http://mp3splt.sourceforge.net/ > > Package: libmp3splt0-dev > Section: libdevel > Architecture: any > Depends: libmp3splt0 > Description: Library that splits MP3 and Ogg Vorbis files without reencoding > Used to split MP3 (VBR supported) and Ogg Vorbis > files into smaller files without decoding. Useful for splitting albums, either > manually, using freedb.org data, or .cue files ... > . > This is the package you need to develop or compile applications that > use mp3splt. > > > Thanks for any help. I am a novice debian developer. > > Thanks, > Bruce > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers > -- BR, Ed
- Previous message: Can't find lt_dlopen in autobuilder for DIABLO
- Next message: Can't find lt_dlopen in autobuilder for DIABLO
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]