[JDEV] Jabber server on Solaris

Koichi Moriyama morimori at cc.gatech.edu
Sat Aug 26 19:05:28 CDT 2000


Dear Jabber developers,

Although I wrote a question about jserver and etherxd in the last mail,
this is another question - a little more simple and should be easy for
someone.

Does anyone succeed to build a Jabber server (jserver) on Solaris, and
do you execute it (on Solaris) ?

I tried to build a Jabber server on Solaris yesterday, but I met a
problem when I build libetherx.a.  The situation is as follows:

  1. building libxode-1.0 - succeeded
  2. building libjabber-1.0 - succeeded
  3. buliding libetherx-1.0
    3.1 libpth is required - pth-1.3.7 is fetched and built - succeeded 
    3.2 libadns is required - adns-0.8 is fetched and built - succeeded
    3.3 again, tried to build libetherx-1.0, 'configure' still says that
        libadns seems not to be installed yet...

I read the "configure" for libetherx-1.0 and I found it tries to build
a small test program that call adns_init() (to link with libadns), and
it failed.  Actually, I also wrote a small program to use libadns, but
I cannot build it.  It says as follow:

    % gcc -L<appropriate lib path> -ladns main.c
    /tmp/ccMtkcZI.o: In function `main':
    /tmp/ccMtkcZI.o(.text+0x4): undefined reference to `adns_init'
    collect2: ld returned 1 exit status

I'm doubting either my knowledge about dynamic library for Solaris, or
a packaging of libadns.  Regarding the latter one, I found a little
straing thing: other libraries, such as libxode and libpth, have *.la
which describes the libraries' spec. and it corresponds to file names.
e.g.

    # Names of this library.
    library_names='libxode.so.1.0.0 libxode.so.1 libxode.so'
    ... omit ...

    # Version information for libxode.
    current=1
    age=0
    revision=0

libadns doesn't have such a file.  Is it the reason ?

Anyway, I'd like to setup a Jabber server on Solaris somehow, since
I'm leaving the College and has to keep the system on the college's
property, which is Solaris.

Any helps are very appreciated,

--
Koichi Moriyama (morimori at cc.gatech.edu)




More information about the JDev mailing list