Page 1 of 1

run linux binary on ghostbsd

Posted: Mon Nov 14, 2016 9:35 am
by mac
Hello,

i must to run linux binaries into mate ghostbsd 10.3.

where is the way to do it? Thank you

Re: run linux binary on ghostbsd

Posted: Mon Nov 14, 2016 10:13 am
by ASX
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.

Re: run linux binary on ghostbsd

Posted: Mon Nov 14, 2016 2:36 pm
by mac
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

Re: run linux binary on ghostbsd

Posted: Tue Nov 15, 2016 7:42 am
by ASX
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 ?

Re: run linux binary on ghostbsd

Posted: Tue Nov 15, 2016 7:37 pm
by mac
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

Re: run linux binary on ghostbsd

Posted: Wed Nov 16, 2016 4:09 am
by ASX
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 ...

Re: run linux binary on ghostbsd

Posted: Thu Nov 17, 2016 8:29 pm
by mac
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