run linux binary on ghostbsd

Add your Tips and tricks to configure and tweak your GhostBSD System here.
Post Reply
mac
Posts: 4
Joined: Mon Nov 14, 2016 9:28 am
Has thanked: 0
Been thanked: 0

run linux binary on ghostbsd

Post by mac » Mon Nov 14, 2016 9:35 am

Hello,

i must to run linux binaries into mate ghostbsd 10.3.

where is the way to do it? Thank you

ASX
Posts: 988
Joined: Wed May 06, 2015 12:46 pm
Has thanked: 0
Been thanked: 0

Re: run linux binary on ghostbsd

Post by ASX » Mon Nov 14, 2016 10:13 am

yes and no, depending on what to do you mean by "linux binary":

GhostBSD/FreeBSD provide Linux support but that may be outdated ... think at Linux kernel 2.6.xx, and 32 bit only (64 bit initial support was added recently ..);
Some library are provided, basically they come from CentOS 6.x ... that also may be outated;
some "binaries" may rely on specific Linux infrastructures like systemd or udev or other .... those aren't provided from GhostBSD/FreeBSD.

mac
Posts: 4
Joined: Mon Nov 14, 2016 9:28 am
Has thanked: 0
Been thanked: 0

Re: run linux binary on ghostbsd

Post by mac » Mon Nov 14, 2016 2:36 pm

Hi,

I need to run binary from Xojo - a Basic-like platform to develop app, web app, etc; it provide a folder wich contain the library (to run into GTK2 environment - this is what the Xojo say);
But i tray to execute the app, but it do not to do nothing...

Thank you for help...

Marco

ASX
Posts: 988
Joined: Wed May 06, 2015 12:46 pm
Has thanked: 0
Been thanked: 0

Re: run linux binary on ghostbsd

Post by ASX » Tue Nov 15, 2016 7:42 am

mac wrote: But i tray to execute the app, but it do not to do nothing...
Assuming you can start Xojo from a terminal window, does it print out any message ?

mac
Posts: 4
Joined: Mon Nov 14, 2016 9:28 am
Has thanked: 0
Been thanked: 0

Re: run linux binary on ghostbsd

Post by mac » Tue Nov 15, 2016 7:37 pm

Hello,

it say: ELF interpreter /lib/ld-linux.so.2 not found, error 2
Abort trap

what do it mean? Do the library is missing? What can i do? Thank you very much

ASX
Posts: 988
Joined: Wed May 06, 2015 12:46 pm
Has thanked: 0
Been thanked: 0

Re: run linux binary on ghostbsd

Post by ASX » Wed Nov 16, 2016 4:09 am

most likely you don't have installed the linux base libraries:

try to install this:

Code: Select all

pkg install linux_base-c6-6.8_5
other libs maybe needed ...

mac
Posts: 4
Joined: Mon Nov 14, 2016 9:28 am
Has thanked: 0
Been thanked: 0

Re: run linux binary on ghostbsd

Post by mac » Thu Nov 17, 2016 8:29 pm

ok... it work !
I had some problem with root password: i must reinstall the system... now it wort (i hope)
After i installed the centos library i must to intall the c gtk library , but now it work.

I have a small problem with fonts...
the terminal say to me:
Fontconfig error "/etc/fonts/conf. d/10-scale-bitmap-fonts.conf", non double matrix element
and after non double matrix element and after saw unknown espected number...

what can i to do to setup correctly the fonts?

thank you

Post Reply