[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems converting a library to Multi-Arch



On Mon, 20 Feb 2012 21:42:42 +0100
John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> wrote:

> I have been working on converting the package z80ex (a library) to Multi-Arch.

Why are you changing the .install files in debian/rules instead of just
editing them in the debian/ directory? This is a permanent change to
the contents of those files, so make the changes in the files.

The guide itself says "update by hand".

> I have
> so far followed the guide in [1] to make the package ready for Multi-Arch and I have
> succeeded in creating a Multi-Arch version. When I install the package, all the
> shared library files now go into /usr/lib/${DEB_HOST_MULTIARCH}.

These look wrong in the -dev package:
lrwxrwxrwx root/root         0 2012-02-20 21:28 ./usr/lib/libz80ex.so -> libz80ex.so.1.1.19
lrwxrwxrwx root/root         0 2012-02-20 21:28 ./usr/lib/libz80ex_dasm.so -> libz80ex_dasm.so.1.1.19

If you check, those are (or should be) dangling symlinks.

when the file is:
./usr/lib/x86_64-linux-gnu/libz80ex_dasm.so.1.1.19

Then these links get into the library:
lrwxrwxrwx root/root         0 2012-02-20 21:28 ./usr/lib/x86_64-linux-gnu/libz80ex_dasm.so.1 -> libz80ex_dasm.so.1.1.19
lrwxrwxrwx root/root         0 2012-02-20 21:28 ./usr/lib/x86_64-linux-gnu/libz80ex.so.1 -> libz80ex.so.1.1.19

See the problem?

Edit the files and stop messing around with sed.

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

Attachment: pgpnWDDyqEY09.pgp
Description: PGP signature


Reply to: