run linux binary on ghostbsd

Configuring and tweaking your GhostBSD System.

run linux binary on ghostbsd

Postby 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
mac
 
Posts: 4
Joined: Mon Nov 14, 2016 9:28 am
Has thanked: 0 time
Been thanked: 0 time

run linux binary on ghostbsd


Re: run linux binary on ghostbsd

Postby 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.
ASX
Developer
 
Posts: 968
Joined: Wed May 06, 2015 11:46 am
Has thanked: 57 times
Been thanked: 128 times

Re: run linux binary on ghostbsd

Postby 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
mac
 
Posts: 4
Joined: Mon Nov 14, 2016 9:28 am
Has thanked: 0 time
Been thanked: 0 time

Re: run linux binary on ghostbsd

Postby 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 ?
ASX
Developer
 
Posts: 968
Joined: Wed May 06, 2015 11:46 am
Has thanked: 57 times
Been thanked: 128 times

Re: run linux binary on ghostbsd

Postby 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
mac
 
Posts: 4
Joined: Mon Nov 14, 2016 9:28 am
Has thanked: 0 time
Been thanked: 0 time

Re: run linux binary on ghostbsd

Postby 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 ...
ASX
Developer
 
Posts: 968
Joined: Wed May 06, 2015 11:46 am
Has thanked: 57 times
Been thanked: 128 times

Re: run linux binary on ghostbsd

Postby 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
mac
 
Posts: 4
Joined: Mon Nov 14, 2016 9:28 am
Has thanked: 0 time
Been thanked: 0 time


Return to Tips and Tricks

Who is online

Users browsing this forum: No registered users and 1 guest

cron