MultiArch ?

Post your general questions or comments about GhostBSD here!
Post Reply
fredvs
Posts: 5
Joined: Thu Jul 16, 2015 10:21 am

MultiArch ?

Post by fredvs »

Hello.

Is it possible to have MultiArch in GhostBSD 64 ?
If yes, what must be installed ?

Thanks.

Fre;D
fredvs
Posts: 5
Joined: Thu Jul 16, 2015 10:21 am

Re: MultiArch ?

Post by fredvs »

Hello.

I get answer from freeBSD forum =>
> Are you asking if you can run 32bit applications on a 64bit FreeBSD system?
> If so, yes you can. Select the lib32 option from the installer when installing FreeBSD.

Could it be possible to add this option in the GhostBSD installer?

Many thanks.

Fre;D
ASX
Posts: 988
Joined: Wed May 06, 2015 12:46 pm

Re: MultiArch ?

Post by ASX »

lib32 libraries are already included in GhostBSD-amd64, both in Mate and Xfce ISOs, there is no need for an installer option.
fredvs
Posts: 5
Joined: Thu Jul 16, 2015 10:21 am

Re: MultiArch ?

Post by fredvs »

OK, many thanks.

Fre;D
fredvs
Posts: 5
Joined: Thu Jul 16, 2015 10:21 am

Re: MultiArch ?

Post by fredvs »

Hello.

I have install GhostBSD 64 => perfect and out of the box. ;)

Before that i have compiled/tested a hyper simple GUI application on GhostBSD 32.

Sadly, when i try to run it on GhostBSD 64 =>
Shared object "libX11.so.6" not found, required by "simple_test".

:cry:

How to fix that ?

Many thanks.

Fre;D
ASX
Posts: 988
Joined: Wed May 06, 2015 12:46 pm

Re: MultiArch ?

Post by ASX »

HI,

the problem you are encountering has its root in the separation that exists between "system (kernel and userland) and "ports".
FreeBSD/GhostBSD, unlike i.e. Linux, has this type of separation, as consequence lib32 refers to "system" only, and doesn't include ports packages, like i.e. "libX11".

Your "hyper simple" test program need things from both "system" and "ports", you will need to build from source or install from a i386 repo the required i386 version of "libX11".

I.e. our ISO build process set up a chroot environment, so that we can build i386 ISOs from amd64 systems.

I will not go further into details, because I am relatively newbie in this area, eventually someone else will jump in. ;)
fredvs
Posts: 5
Joined: Thu Jul 16, 2015 10:21 am

Re: MultiArch ?

Post by fredvs »

@ ASX => many thanks for answer.

Huh, could it be possible that GhostBSD does the same than Linux Mint and Fedora that are real multiarch os?
With Mint64 and Fedora64 you may run all 32 bit applications.

Thanks.

Fre;D
Post Reply