ODBC support broken in ejabberd 1.1.1 installer binary?

Hi,

Have found that enabling auth_method odbc produces the following error message:

failed: port_program_executable_not_found

This installation in on RHEL4 and otherwise works fine in internal mode. Researching the error message points to the fact that this is generated by the erlang interpretter. Indeed running a strace wrapper around the command line reveals that file:

/opt/ejabberd-1.1.1/lib/odbc-2.0.5/priv/bin/linux-x86/odbcserver

is missing (ENOENT). Do I have to go and compile the erlang package to get this to work?

Any pointers on the matter would be much appreciated.

Cheers,
Andy

That's right. The file is

That's right. The file is missing.
We will add it in ejabberd installer version 1.1.2.

--
Mickaël Rémond
Process-one

But where to get the file now?

As I know, the current ejabberd version is less then 1.1.2. So where can I find the file odbcserver (I would like to have binary, because had some problems with compilling erlang from sources)?
It would be very good, if you put it on your site.

...a bit more progress...

Got the source code for erlang and compiled it. The odbc part always skipped the autoconf phase. Added the unixODBC rpm to the RHEL installation and all compiled OK. Moved the new 'odbcserver' binary into place, fixed the odbc.ini/odbcinst.ini files and now all is well.

So it is just the 'odbcserver' which is missing from the installer bundle, although it is pretty paltform independent so I can see why!

Andy

It is platform dependant, as

It is platform dependant, as the same file will not work Linux, MacOSX, freeBSD or Windows.

--
Mickaël Rémond
Process-one

Syndicate content