Thanks for pointing that out. Didn't know that libpq.so is Postgressql. I agree that this point belongs to ubuntu devel, but please also consider the case at hand:

Sqlbox is a bit intelligent about its DB. It generates its own tablesand indeces. In the process it also tries to figure out what DB to use. In Arnau's case it picked the first one, it was compiled with, ie Mysql, and creashed since it couldn't find a Mysql connection group in the configuration.

Granted, this point should be better handled by sqlbox. But given that this is the sqlbox binary, Debian developers, should have at least tested the binary package they provide. Since SQLbox will only look for Mysql, what is the benefit of making a package that supports all 3? This should be brought up with Debian so that they do not mislead their users.

I believe that the advise given to Arnad, to recompile from svn, is the best in his case.

BR,
Nikos
----- Original Message ----- From: "Milan P. Stanic" <m...@arvanta.net>
To: <users@kannel.org>
Sent: Wednesday, July 28, 2010 3:18 PM
Subject: Re: SQLBox problems with postgresql


On Wed, 2010-07-28 at 14:55, Nikos Balkanas wrote:
OK. Where is the postgress client library in the ldd output?

Look at my answer to your previous question in the same thread.

Lastly what's the point of compiling with all DBs? It would require
the client to have all 3 DB's installed, just to run it, even if not
using them!

I agree here with you. It would be better to have packages compiled with
support for particular DBs (and not all of them in single package) and
let user/admin to choose which one s/he would like to install.
But this question belongs to debian-devel (or others) list but not to
kannel users.

BR,
Nikos
----- Original Message ----- From: "Milan P. Stanic"
<m...@arvanta.net>
To: <users@kannel.org>
Sent: Wednesday, July 28, 2010 2:38 PM
Subject: Re: SQLBox problems with postgresql


>On Wed, 2010-07-28 at 13:05, Nikos Balkanas wrote:
>>>>    I'm running this sqlbox on a debian unstable and using the
>>kannel >> and
>>>> kannel-sqlbox packages from the official repositories. Do I have >>>> to
>>>>    recompile sqlbox to include postgresql support?
>>
>>Definitely, unless you downloaded a postgress specific binary. To
>>confirm what you have please type:
>>
>>ldd $(which sqlbox)
>>
>>you will see that the binary is for mysql, not postgress.
>
>Not true.
>
>kannel-sqlbox on debian testing/unstable is compiled with support for
>postgresql, mysql, sqlite and sqlite3.
>
>-- >Kind regards, Milan
>--------------------------------------------------
>Arvanta, IT Security        http://www.arvanta.net
>Please do not send me e-mail containing HTML code.
>


--
Kind regards,  Milan
--------------------------------------------------
Arvanta, IT Security        http://www.arvanta.net
Please do not send me e-mail containing HTML code.



Reply via email to