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

run linux binary on ghostbsd

Post by mac »

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

Re: run linux binary on ghostbsd

Post 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.
mac
Posts: 4
Joined: Mon Nov 14, 2016 9:28 am

Re: run linux binary on ghostbsd

Post 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
ASX
Posts: 988
Joined: Wed May 06, 2015 12:46 pm

Re: run linux binary on ghostbsd

Post 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 ?
mac
Posts: 4
Joined: Mon Nov 14, 2016 9:28 am

Re: run linux binary on ghostbsd

Post 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
ASX
Posts: 988
Joined: Wed May 06, 2015 12:46 pm

Re: run linux binary on ghostbsd

Post 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 ...
mac
Posts: 4
Joined: Mon Nov 14, 2016 9:28 am

Re: run linux binary on ghostbsd

Post 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
Post Reply