[lsb-discuss] Generating Debian package repositories for apt-get

Till Kamppeter till.kamppeter at gmail.com
Mon Jun 9 10:51:35 PDT 2008


Wichmann, Mats D wrote:
> Till Kamppeter wrote:
>  
>>>> /usr/bin/ldd: line 117:
>>>> debian/splix/opt/splix/cups/lib/filter/rastertospl2: No such file or
>>>> directory
>>> Does that file actually exist at this time of the build process? This
>>> failure does not look architecture specific.
>>>
>> The file debian/splix/opt/splix/cups/lib/filter/rastertospl2 is
>> present, when I ldd it manually I get also this error message. So it
>> looks like that ldd is missing a certain file which it needs to find
>> the library dependencies of rastertospl2.
> 
> This looks a lot like the "LSB linker" issue.
> Do "readelf --program-headers" on the file, and check what the INTERP
> header contains - and whether that program interpreter exists.
> 
> 

I get:

   INTERP         0x000154 0x08048154 0x08048154 0x00011 0x00011 R   0x1
       [Requesting program interpreter: /lib/ld-lsb.so.3]

and this one is not there:

till at parker:/srv/www/linuxprinting.org/download/printdriver/RPMS/i486$ 
ls -l /lib/ld-lsb.so.3
ls: /lib/ld-lsb.so.3: No such file or directory
till at parker:/srv/www/linuxprinting.org/download/printdriver/RPMS/i486$

I looked on a 32-bit box running Ubuntu and there the missing file was 
simply a link. So I did

sudo ln -s /lib/ld-linux.so.2 /lib/ld-lsb.so.3

Now I get the error as shown below.

    Till

---------------------------------------------------------------------------

till at parker:/srv/www/linuxprinting.org/download/printdriver/RPMS/i486$ 
linux32 fakeroot alien -ck splix-1.1.1-2lsb3.2.i486.rpm
Package build failed. Here's the log:
dh_testdir
dh_testdir
dh_testroot
dh_clean -k -d
dh_installdirs
dh_installdocs
dh_installchangelogs
find . -maxdepth 1 -mindepth 1 -not -name debian -print0 | \
		xargs -0 -r -i cp -a {} debian/splix
dh_compress
dh_makeshlibs
dh_installdeb
dh_shlibdeps
dpkg-shlibdeps: warning: could not find path for libcups.so.2
dpkg-shlibdeps: warning: could not find path for libcupsimage.so.2
dpkg-shlibdeps: warning: could not find any packages for  (libcups.so.2)
dpkg-shlibdeps: warning: unable to find dependency information for 
shared library libcups (soname 2, path , dependency field Depends)
dpkg-shlibdeps: warning: could not find any packages for 
(libcupsimage.so.2)
dpkg-shlibdeps: warning: unable to find dependency information for 
shared library libcupsimage (soname 2, path , dependency field Depends)
dpkg-shlibdeps: warning: unable to find dependency information for 
shared library libstdc++ (soname 6, path /usr/lib32/libstdc++.so.6, 
dependency field Depends)
dh_gencontrol
dpkg-gencontrol: error: current build architecture amd64 does not appear 
in package's list (i386)
dh_gencontrol: command returned error code 65280
make: *** [binary-arch] Error 1
find: splix-1.1.1: No such file or directory
till at parker:/srv/www/linuxprinting.org/download/printdriver/RPMS/i486$ 
sudo ln -s /lib/ld-linux.so.2 /lib/ld-lsb.so.3




More information about the lsb-discuss mailing list