libieee1284-3-dev:i386 vs libieee1284-3-dev

Asked by Michael Brüstle

Hi.

When I install the libieee1284-3-dev version, I can link with -lieee1284 and gcc -m64 but not gcc -m32 because /usr/lib/i386-linux-gnu/libieee1284.a is missing. When I install libieee1284-3-dev:i386 it removes the first package and I can link with -m32 but not with -m64.

I think the best is to supply both libieee1284.a when installing the libieee1284-3-dev version.

/usr/lib/i386-linux-gnu/libieee1284.a
/usr/lib/x86_64-linux-gnu/libieee1284.a

or allow installation of both packages.

-Mike

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu libieee1284 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

For diagnostic purposes, what is the output of the following commands:

uname -a
lsb_release -crid
sudo apt install libieee1284-3-dev:i386 libieee1284-3-dev

Revision history for this message
Michael Brüstle (mbruestle) said :
#2

$ uname -a
Linux entw-ubuntu 4.15.0-46-generic #49-Ubuntu SMP Wed Feb 6 09:33:07 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic
$ sudo apt install libieee1284-3-dev:i386 libieee1284-3-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libieee1284-3-dev is already the newest version (0.2.11-13).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libieee1284-3-dev : Conflicts: libieee1284-3-dev:i386 but 0.2.11-13 is to be installed
 libieee1284-3-dev:i386 : Conflicts: libieee1284-3-dev but 0.2.11-13 is to be installed
E: Unable to correct problems, you have held broken packages.

When I install libieee1284-3-dev libieee1284-3-dev:i386 will be removed. Also in the opposite direction.

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

Ubuntu has copied these packages from Debian, and I assume that the problem is the same there.
You probably better discuss this with Debian, and Ubuntu will follow any decision that they take.

As a workaround you could try installing the package for one of the architectures (e.g. amd64) and manually extracting the two files
/usr/lib/i386-linux-gnu/libieee1284.a
/usr/lib/i386-linux-gnu/libieee1284.so
from the package for i386 and copying them where they belong.

Can you help with this problem?

Provide an answer of your own, or ask Michael Brüstle for more information if necessary.

To post a message you must log in.