Discussion:
[dart-misc] Dart Native Extension using libpq
Alan Frye
2016-10-03 16:03:56 UTC
Permalink
I am trying to use Dart Native Extensions that uses libpq to interact with
a Postgresql database. I was able to get my extension library to work on
Linux but when I build my c++ library in Visual Studio I get an error back
that the postgresql libraries I am using has not been compiled with SSL
enabled. I can use my c++ library in a c++ console application and I do not
have this issue.

Any Idea

Alan
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
tomaszkubacki
2016-10-04 07:59:50 UTC
Permalink
why don't you use 'native' Dart postgresql driver ?

https://pub.dartlang.org/packages/postgresql
Post by Alan Frye
I am trying to use Dart Native Extensions that uses libpq to interact with
a Postgresql database. I was able to get my extension library to work on
Linux but when I build my c++ library in Visual Studio I get an error back
that the postgresql libraries I am using has not been compiled with SSL
enabled. I can use my c++ library in a c++ console application and I do not
have this issue.
Any Idea
Alan
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Alan Frye
2016-10-04 11:11:24 UTC
Permalink
The 'native' dart library for postgresql only supports MD5 authentication.
In my case I need to connect to the database using pam. I could use
pgbouncer between my app and the database but I don't want to add that as a
dependency.
Post by tomaszkubacki
why don't you use 'native' Dart postgresql driver ?
https://pub.dartlang.org/packages/postgresql
Post by Alan Frye
I am trying to use Dart Native Extensions that uses libpq to interact
with a Postgresql database. I was able to get my extension library to work
on Linux but when I build my c++ library in Visual Studio I get an error
back that the postgresql libraries I am using has not been compiled with
SSL enabled. I can use my c++ library in a c++ console application and I do
not have this issue.
Any Idea
Alan
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups
"Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Loading...