Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FreeBSD support possible? #176

Closed
sec opened this issue Sep 1, 2017 · 7 comments
Closed

FreeBSD support possible? #176

sec opened this issue Sep 1, 2017 · 7 comments

Comments

@sec
Copy link

sec commented Sep 1, 2017

Hi,
Would it be possible to have FreeBSD support added? Or what is needed to make that happen, I could try to add it myself, just need some instructions where/how to start with it?

@ericsink
Copy link
Owner

ericsink commented Sep 1, 2017

What kind of support?

Mono? or .NET Core?

Using a sqlite provided by the OS? Or bundle an e_sqlite3 build for FreeBSD?

@sec
Copy link
Author

sec commented Sep 1, 2017

.NET Core (need e_sqlite3 build for FreeBSD)
sqlite3 is not in base for FreeBSD (but can be easily installed from pkg/ports).

@ericsink
Copy link
Owner

ericsink commented Sep 1, 2017

What is the status of .NET Core on FreeBSD? Not officially supported by Microsoft, I assume...

This is probably straightforward, but I wonder about my ability to keep it maintained and tested over time.

@sec
Copy link
Author

sec commented Sep 2, 2017

Well.. It's not officially supported (at least for now), but coreclr/corefx (native parts) are building under FreeBSD. Managed can be built under Windows - so the support is there, driven by community. .NET cli is not building at the moment (I was able to build 1.x version in past, at the moment trying to get 2.0.0 build to compile), but apps can be run using coreclr (there are some "hard" corners still, but WIP). Right now I'm trying to run some basic .net core asp.net app and got blocked by not having e_sqlite3 build for FreeBSD - that's why I'm asking - I can build/compile this myself (or help testing this on FreeBSD), just need some howto start with this :)

@sec
Copy link
Author

sec commented Sep 4, 2017

Just a little add - copying libsqlite3.so (tested version 3.20.0 from pkg repository) as e_sqlite3.so into runtime directory "made it work"

@ericsink
Copy link
Owner

ericsink commented Sep 4, 2017

Another option that should work:

Instead of using one of my bundle packages (which currently does not include an e_sqlite3 build for FreeBSD), you could just use SQLitePCLRaw.core (the base library) and then also add SQLitePCLRaw.provider.sqlite3.netstandard11, and then add this line of code:

SQLitePCL.raw.SetProvider(new SQLitePCL.SQLite3Provider_sqlite3());

Which should cause the sqlite library from the FreeBSD package to be found. I think.

@ericsink
Copy link
Owner

Closing old/stale issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants