sebastianloesch wrote:When I run the test, the driver is found, but absolutely no DSN (I modified the source to print out every DSN).
Data sources are whatever the SQLDataSources ODBC API call (called from Poco::Data::Utility::dataSources) returns.
sebastianloesch wrote:What do I have to do to make the DSN accessible to poco?
I'm not sure, but I'd try two things:
1) See which odbc.ini unixODBC reads (check the process' user's home for .odbc.ini file) for your process/user and what does SQLDataSources call return.
2) If you can't figure out what's wrong, try connecting without DSN (for connection string example see trunk code : http://poco.svn.sourceforge.net/viewvc/ ... iew=markup
I have successfully ran tests on Ubuntu using unixODBC against PostgreSQL for the release you are using, so there's likely something about your particular setup that is causing this.