[JDEV] Install server problems
Russell Keith-Magee
keithmag at cs.curtin.edu.au
Wed Aug 30 18:16:06 CDT 2000
Dave Anderson wrote:
>
> Hello,
>
> I have tried to install the jabber server on both a RedHat 5.1 and 6.1 box.
> I followed the Jabber Server mini-HowTo and installed both the pth and
> ADNS. The first 3 packages install just fine, so it appears. The last
> package, jabber-transport gives and error. The following is the tail end
> that shows the error.
>
> /home/user/jabber//lib/libetherx.so: undefined reference to `adns_finish'
> /home/user/jabber//lib/libetherx.so: undefined reference to `adns_afterselect'
> /home/user/jabber//lib/libetherx.so: undefined reference to `adns_beforeselect'
> /home/user/jabber//lib/libetherx.so: undefined reference to `adns_init'
> /home/user/jabber//lib/libetherx.so: undefined reference to `adns_submit'
> /home/user/jabber//lib/libetherx.so: undefined reference to `adns_check'
> make[2]: *** [jserver] Error 1
> make[2]: Leaving directory `/home/dave/jabber/jabber-transport-1.0/src'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home/dave/jabber/jabber-transport-1.0/src'
> make: *** [install-recursive] Error 1
Simple fix - when you compile adns, you need to configure with the flag
--enable-dynamic=elf. By default, it only builds a static .a library;
etherx requires a dynamic .so library, but will successfully complete
compilation without it. If you go through the compilation messages for
etherx, you will probably find a non-critical error to this effect about
30 lines from the end of the compilation run. Reconfig+compile adns with
the flag, and then recompile etherx and jabber-server.
This is starting to sound like a bit of a FAQ (IIRC, it was asked and
answered yesterday as well). Although the problem lies with adns, and
not with Jabber per se, it deserves an entry in the Server mini-howto
IMHO.
Russ %-)
--
-----------------------------------------------------------
Russell Keith-Magee
PhD Research Student
School of Computing, Curtin University of Technology
email: keithmag at cs.curtin.edu.au OR russ.magee at computer.org
WWW: http://www.cs.curtin.edu.au/~keithmag
Ph: +61 8 9266 2129 FAX +61 8 9266 2819
-----------------------------------------------------------
What fools these morals be!
More information about the JDev
mailing list