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

Linux Adaption #48

Open
Skullwing opened this issue Jul 8, 2020 · 4 comments
Open

Linux Adaption #48

Skullwing opened this issue Jul 8, 2020 · 4 comments

Comments

@Skullwing
Copy link

Hello,

I programmed an API using RAD Studio 10.4 including TMongoWire to connect to a MongoDB Server. Now I have the problem that this has to work on a Linux server. Is it possible to adapt it?

Thanks

@stijnsanders
Copy link
Owner

I know very little about Linux, sorry.

@fabriciocolombo
Copy link

My version of the Mongo driver works with FreePascal on Linux (or used to work, a long time ago). But sorry, I haven't been maintaning since 2015. (https://github.com/fabriciocolombo/mongo4delphi)
In that time i used Synapse as connection provider.
I do not recommend using this library(https://github.com/fabriciocolombo/mongo4delphi), because as I said, I do not maintain it anymore. But it can serve to boost Linux support here.
I would be happy to help in any way possible, although I no longer work with Delphi professionally.

@Skullwing
Copy link
Author

Thanks, for your reply fabriciocolombo.

I already adapted MongoWire myself. At some point, I might share the adaption so it can be included in this project but for now it isn't safe to use since I didn't completly finish it yet and I don't have the time to finish it right now.

@synopse
Copy link

synopse commented Aug 8, 2022

This mongo4delphi does not work with latest MongoDB 5.1/6.0 due to their change of the Wire protocol.

For a Linux compatible (and optimized) MongoDB client see https://github.com/synopse/mORMot2/blob/master/src/db/mormot.db.nosql.mongodb.pas - but it is for FPC.
The mORMot driver is still maintained for sure.

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

4 participants