i386 and amd64 library files overlap (in general, here libportaudio2)

Asked by Lasse Heikkilä

I ran into a problem when trying to have a proprietary 32-bit software (Guitar Pro) and Audacity (amd64) installed to my system simultaneously. They both need portaudio library. I cannot normally install both versions of the library, because i386 and amd64 library files share the same location:

amd64 library
/usr/lib/libportaudio.so.2
/usr/lib/libportaudio.so.2.0.0

i386 library
/usr/lib/libportaudio.so.2
/usr/lib/libportaudio.so.2.0.0

Shouldn't these be located under /usr/lib/x86_64-linux-gnu/ and /usr/lib/i386-linux-gnu/ respectively, or something?

What is the correct way dealing with this situation? Should I file a bug report?

I got this working by removing portaudio-dependency of Guitar Pro from /var/lib/dpkg/status, removing i386 portaudio which I had installed, then reinstalled it manually to a custom directory, which I added to ldconfig path and ran ldconfig. After this I was able to normally install Audacity and amd64 portaudio too with apt-get.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu portaudio19 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
mycae (mycae) said :
#1

Short answer, afaics yes, you are right. Please file a bug report. Note that what you are referring to is the "multiarch" convention for shared libs - this is a relatively recent thing, and not all packages have been converted to this.

However, it looks like libportaudio2 may already be updated in debian to have multiarch support
http://packages.debian.org/sid/libportaudio2

so its just a matter of time

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Put them in /usr/lib32 if you want to run 32bit apps in 64bit..

Can you help with this problem?

Provide an answer of your own, or ask Lasse Heikkilä for more information if necessary.

To post a message you must log in.