Debian multiarch library directories

Alexander Neundorf neundorf at kde.org
Mon Dec 12 20:11:07 UTC 2011


On Monday 12 December 2011, Sune Vuorela wrote:
> On Sunday 11 December 2011 18:27:30 Alexander Neundorf wrote:
> > Hi,
> > 
> > I'd like to know what exactly the situation is with Debian multiarch.
> 
> Great. I will try to answer your questions brief, but exact.

Thanks, perfect answers :-)

> > So, if I am on a 32bit x86 installation, is putting a library into
> > /usr/lib/ ok ? (i.e. will it work, even if not recommended)
> > Or will it work _only_ in /usr/lib/i386-linux-gnu/ ?
> 
> It will work in /usr/lib, the transition to the multiarch paths is a long
> and slow one.
> 
> > What about library dirs in /usr/local/, /opt/whatever/ ?
> > Does the tuple have to be used there too ?
> 
> in /usr/local, afaik yes. in /opt there aren't really any usages.
> 
> > How does cmake work with it ?
> 
> For finding things, it works. I'm not sure cmake has code to automatic put
> things in a multiarch path

cmake doesn't have any code to put anything anywhere automatically. Where 
something is installed to is completely up to the user.

Alex


More information about the Kde-buildsystem mailing list