[X2Go-Dev] x2goserver installs into /usr/lib on x86_64 system

Oliver Burger obgr_seneca at mageia.org
Sat Jan 28 22:02:02 CET 2012


2012/1/28 Mike Gabriel <mike.gabriel at das-netzwerkteam.de>:
> I am not at all an expert on this, I can only report the latest approaches
> in Debian here.
>
> On systems /usr/lib is the default folder for libraries that are built for
> the same architecture as the system itself. There also should be a symlink
> from lib64 -> lib. For other architectures there can be other lib folders
> (e.g. /usr/lib32 for ia32 stuff).
>
> On multi-arch systems (like currently under development in Debian sid) there
> are lib folders for each architecture
>
>  /usr/lib/<arch>/
>
> So basically, installing code to /usr/lib should be fine.
It's a bit different in Mageia and iirc the other rpm based distros.
Normally /usr/lib/ is used here for 32bit libraries, x86_64 is for
64bit libraries. This is especially neccessary if you have to install
32bit and 64bit versions of the same library next to each other.

But looking into some of those files, lib is hardcoded there, so it
would need quite some patching to make them installable in lib64. But
since all but x2goslitewrapper is actually noarch, it will perhaps not
hurt much...
Especially as different from what I had in mind, our build system does
not block arch dependant 64bit binaries to be installed in /usr/lib :)

Oliver



More information about the x2go-dev mailing list