Hello,
First of all, sorry for the late reply. I had to investigate things a
bit, and didn't have time for it. I should have notified you. Anyway, on
to the actual content.
On 26-10-11 22:24, Mathieu Malaterre wrote:
It would be nice if d/control would directly list amd64 as platform for
libpvcam. This is possible since libpvcam.so is portable:
$ ldd /usr/lib/libpvcam.so
linux-gate.so.1 => (0xf77e0000)
libc.so.6 => /lib32/libc.so.6 (0xf7598000)
/lib/ld-linux.so.2 (0xf77e1000)
where on amd64 :
$ dpkg -S /lib32/libc.so.6
libc6-i386: /lib32/libc.so.6
No, this is not the right way to do this. There are two solutions:
1. Users install the package with --force-architecture, which makes it
install, and it will work because there are no 64-bit applications that
link to it. However, I think all libraries that are used must be
installed for 32-bit as well (a program cannot link to both a 64-bit
library and a 32-bit library, because it must use the same size as all
its libraries).
This is not very nice. It is the way things used to work. You can do
this without any changes to the package.
2. I make the package multi-arch, and users set their system up to use
it. This is much nicer, and while the same limitation as above exists,
now the package manager will solve it for you (it will automatically
install other multi-arch libraries). Well, if you have packages using it
anyway. When installing dependencies by hand, you will of course still
need to say you want the other-arch version.
I'm planning to make this multi-arch change. However, I need to take a
good look at how this works, so it might take some time. Until then,
please use the --force-architecture method.
Thanks,
Bas Wijnen
thanks !
-- System Information:
Debian Release: 6.0.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable'), (200, 'testing'),
(100, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org