× CodeTyphon FreeBSD, OpenBSD, NetBSD and DragonFly OSes Development, discussions and problems

Question freeBSD distro with CT.

  • fredvs
  • Topic Author
  • Visitor
  • Visitor
5 years 3 weeks ago - 5 years 3 weeks ago #7695 by fredvs
freeBSD distro with CT. was created by fredvs
Hello.

If you want to try/use freeBSD, there are some distro that install freeBSD + desktop + useful applications.
There is PC-BSD => pcbsd.org/ => with lot of different desktops (kde, gnome, mate, ...)
And GhostBSD => www.ghostbsd.org/ => with desktop mate or xfce.

I strongly recommend to try GhostBSD.
This because it exists both 32 an 64 bit version (PC-BSD is only 64 bit).
And mainly because it works out of the box in virtualbox (had problems with PC-BSD).

And congrat to Code Typhon => works out of the box, also for installing 32 and 64 bit system libraries.

Fre;D
Last edit: 5 years 3 weeks ago by fredvs.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 years 3 weeks ago - 5 years 3 weeks ago #7700 by Sternas Stefanos
Replied by Sternas Stefanos on topic freeBSD distro with CT.
Thanks Sir
we test now GhostBSD10.1-BETA2

But please, can you help us:
How we can install 32 and 64 bit system libraries on GhostBSD (MultiArch) ???

PilotLogic Architect and Core Programmer
Last edit: 5 years 3 weeks ago by Sternas Stefanos.

Please Log in or Create an account to join the conversation.

  • fredvs
  • Topic Author
  • Visitor
  • Visitor
5 years 3 weeks ago - 5 years 3 weeks ago #7701 by fredvs
Replied by fredvs on topic freeBSD distro with CT.

ut please, can you help us:
How we can install 32 and 64 bit system libraries on GhostBSD (MultiArch) ???


Hello Sternas.
Hum, i have installed GhostBSD 32 bit (because it was the only distro who gives 32 bit version).
Then i have installed CT => option 0 => install system libraries => works perfectly, all system libraries are installed.
It was not the case when i tried to do it with freeBSD 9.0 32 bit ( see my old topic in Forum/CodeTyphon Studio/Using CT on BSD/)).

Now about MultiArch with GhostBSD, i have not try it already, i use both GhostBSD 32 bit and GhostBSD 64 bit.
Do you have problem to install CT => option 0 => install system libraries => with GhostBSD ?
If yes, what kind of problems ?

Thanks.

Fre;D
Last edit: 5 years 3 weeks ago by fredvs.

Please Log in or Create an account to join the conversation.

  • fredvs
  • Topic Author
  • Visitor
  • Visitor
5 years 3 weeks ago #7703 by fredvs
Replied by fredvs on topic freeBSD distro with CT.

But please, can you help us:
How we can install 32 and 64 bit system libraries on GhostBSD (MultiArch) ???


=> forums.freebsd.org/threads/multiarch.52394/

=> forums.ghostbsd.org/viewtopic.php?f=61&t=359

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 years 3 weeks ago #7704 by Sternas Stefanos
Replied by Sternas Stefanos on topic freeBSD distro with CT.
Sir
we have ALL BSD in our Lab
FreeBSD32, FreeBSD64, GhostBSD64, PCBSD64, DragonFly64, NetBSD64 and OpenBSD64,
and our LAB truth is: BSD OS architecture DON'T support MultiArch yet.

PS: Our last Lab task is to port CodeTyphon and to DragonFly64. :)

PilotLogic Architect and Core Programmer
Attachments:

Please Log in or Create an account to join the conversation.

  • fredvs
  • Topic Author
  • Visitor
  • Visitor
5 years 3 weeks ago - 5 years 3 weeks ago #7705 by fredvs
Replied by fredvs on topic freeBSD distro with CT.

FreeBSD32, FreeBSD64, GhostBSD64, PCBSD64, DragonFly64, NetBSD64 and OpenBSD64,DragonFly

WOW :)

our LAB truth is: BSD OS architecture DON'T support MultiArch yet.

Hum, did you see the answer => forums.freebsd.org/threads/multiarch.52394/

=>

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.

Last edit: 5 years 3 weeks ago by fredvs.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 years 3 weeks ago - 5 years 3 weeks ago #7707 by Sternas Stefanos
Replied by Sternas Stefanos on topic freeBSD distro with CT.
It's like
Debian/Ubuntu Linux MultiArch Case
"YES, YES, all work OK" but HOW ?
NO answer.... :lol:

We test ALL OSes on this Planet,
It's time for Object-Pascal-OS ?

PilotLogic Architect and Core Programmer
Last edit: 5 years 3 weeks ago by Sternas Stefanos.

Please Log in or Create an account to join the conversation.

  • fredvs
  • Topic Author
  • Visitor
  • Visitor
5 years 3 weeks ago - 5 years 3 weeks ago #7708 by fredvs
Replied by fredvs on topic freeBSD distro with CT.

It's time for Object-Pascal-OS ?

Yes, we are ready.

[EDIT] Ooops, answer there in GhostBSD forum =>

lib32 libraries are already included in GhostBSD-amd64, both in Mate and Xfce ISOs, there is no need for an installer option.

So, it should work out of the box.
I will install GhostBSD-64 and take a look (have only installed GhostBSD-32).
Last edit: 5 years 3 weeks ago by fredvs.

Please Log in or Create an account to join the conversation.

  • fredvs
  • Topic Author
  • Visitor
  • Visitor
5 years 3 weeks ago #7712 by fredvs
Replied by fredvs on topic freeBSD distro with CT.

"YES, YES, all work OK" but HOW ?


Hello Sternas.

OK, insalled GhostBSD 64.
And... you are right... MultiArch is not good working. ;-(
It works for 32 bit executables if and only if there are no dependencies.

But if dependencies needed =>
Example for LCL 32 bit application =>
Shared object "libiconv.so.2" not found, required by "sak_LCL_test"

Example for fpGUI 32 bit application =>
Shared object "libX11.so.6" not found, required by "sak_fpGUI_test"

(i have sent this to GhostBSD forum).

Fre;D

Please Log in or Create an account to join the conversation.

  • fredvs
  • Topic Author
  • Visitor
  • Visitor
5 years 3 weeks ago #7719 by fredvs
Replied by fredvs on topic freeBSD distro with CT.
Hello Sternas.

But please, can you help us:How we can install 32 and 64 bit system libraries on GhostBSD (MultiArch) ???


Ok, there are some movement in freeBSD forum.
I think they have understand the problem.
Write you later with (i hope) solutions.

Fre;D

Please Log in or Create an account to join the conversation.

  • fredvs
  • Topic Author
  • Visitor
  • Visitor
5 years 3 weeks ago #7722 by fredvs
Replied by fredvs on topic freeBSD distro with CT.
Question to freeBSD forum =>

Hello.
I have install GhostBSD 64 + i386 libraries => 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".
How to fix that ?
Many thanks.


Answer from freeBSD forum =>

The trouble is that you'd have to cross-compile the X11 libraries for i386 and have them installed somehow alongside the amd64 versions on the same system. This is not supported at the moment, the 32-bit compatibility libraries cover only the base system. You could create an i386 jail and use that for compiling and running i386 software, that shouldn't be too hard.


So, yes, there will be a new function for CodeTyphon => make freeBSD a real MultiArch os (and do the same for Linux/Debian too) ;)

Fre;D

PS: ASAP i will (try to) make it for CT+freeBSD.
(or, maybe, you have your own plan).

Thanks.

Fre;D

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 years 3 weeks ago #7723 by Sternas Stefanos
Replied by Sternas Stefanos on topic freeBSD distro with CT.
Sir, we don't have this on our plans
but we can help you on this

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • fredvs
  • Topic Author
  • Visitor
  • Visitor
5 years 3 weeks ago #7727 by fredvs
Replied by fredvs on topic freeBSD distro with CT.

but we can help you on this

I do not have already idea how to do it but sure it will be a big plus for CT if it makes the os better.
Now, i do not know if it would be better to incorporate that into CT or do something totally independent.
I think too that if we have to wait that Dedian/Ubuntu + freeBSD finally decide to become real multiarch-os...
we will be too old to test it :blush:

There is a new answer in freeBSD forum (after asking "What is a jail ?") =>

A jail(8) is lightweight chroot(8) like environment with a full installation of the OS inside it. Start with the handbook section on jails:

www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html

The idea would be to put all 32-bit i386 programs you need to run inside the i386 jail, the jail would be almost identical to a real FreeBSD i386 installation with some differences that are not significant enough to prevent the programs from working.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 years 3 weeks ago - 5 years 3 weeks ago #7728 by Sternas Stefanos
Replied by Sternas Stefanos on topic freeBSD distro with CT.
You can use "Jails" and make your FreeBSD distribution :woohoo: with MultiArch support
this is the FreeBSD forum suggestion...

PilotLogic Architect and Core Programmer
Last edit: 5 years 3 weeks ago by Sternas Stefanos.

Please Log in or Create an account to join the conversation.

  • fredvs
  • Topic Author
  • Visitor
  • Visitor
5 years 3 weeks ago #7729 by fredvs
Replied by fredvs on topic freeBSD distro with CT.

You can use "Jails" and make your FreeBSD distribution :woohoo: with MultiArch support
this is the FreeBSD forum suggestion...


Huh, it is their suggestion, i would prefer not to create a new distro but adding something to existing distro to make them multiarch.
Do you have such a idea ?

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 years 3 weeks ago #7730 by Sternas Stefanos
Replied by Sternas Stefanos on topic freeBSD distro with CT.
You can use the GhostBSD build scripts
http://sourceforge.net/projects/ghostbsdproject/files/release/
go to "CODE" but now
sourceforge.net is down ???

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • fredvs
  • Topic Author
  • Visitor
  • Visitor
5 years 3 weeks ago #7733 by fredvs
Replied by fredvs on topic freeBSD distro with CT.

but now sourceforge.net is down ???

Huh, yes... yesterday also... :blink:
But if you go on GhostBSD-site, there is a way to download last beta2 release a other way. (i have to remember how).

You can use the GhostBSD build scripts

Ok, i will take a look.

What i have done now is to :
- copy libraries missing from GhostBSD32 (libX11.so.6 + many other needed by fpc)
- paste into /usr/lib32/ of GhostBSD64.

And that works => can run fpc 32 bit applications on freeBSD64.
(maybe you have a list of the libraries needed by fpc ?).

Thanks.
Fre;D

Please Log in or Create an account to join the conversation.

  • fredvs
  • Topic Author
  • Visitor
  • Visitor
5 years 3 weeks ago #7734 by fredvs
Replied by fredvs on topic freeBSD distro with CT.

Please Log in or Create an account to join the conversation.