[Serusers] sipsak

Prince Arora prince at cdotd.ernet.in
Fri Nov 21 07:02:48 CET 2003


Hi

On executing ldd sipsak

        libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

here i found that libc.so.6 is also in path /lib as well as in /lib/i686/. In
both cases libc.so.6 maps to libc-2.2.5.so.

In /lib size of  libc-2.2.5.so is 1260480
in /lib/i686/ size of libc-2.2.5.so is 1401027.

I copied libc-2.2.5.so from lib to i686 and take a backup of prev libc-2.2.5.so

But problem remain same... no gethostname....


grep gethostbyname /lib/libc.so.6 gives
Binary file /lib/libc.so.6 matches

Shuld i deinstall glibc from my linux box and reinstall it ? what version of
glibc should i used ? Any option to solve this problem.


Regards
Prince

Nils Ohlmeier wrote:

> Hello,
>
> this is very strange, because the tests from the configure script say, that
> the gethostbyname function is present on your system.
>
> I can only imagine that the compiled sipsak binary uses a wrong lib. To verify
> that please execute 'ldd sipsak'. Normaly the output should look like this:
>         libc.so.6 => /lib/libc.so.6 (0x4002c000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> The command 'grep gethostbyname /lib/libc.so.6' (use the lib from the ldd
> output above) should print the following:
>   Binary file /lib/libc.so.6 matches
> If this does not match on your system, then you probably have a library
> problem on your system, which i'm probably not able to solve from remove.
>
> Regards
>   Nils
>
> On Thursday 20 November 2003 04:50, you wrote:
> > Hi Sir,
> >
> > netdb.h is present on my system in path /usr/include/
> >
> > I am using sipsak-0.8.6 version. I am sending config.h and config .log as
> > an attachment.
> >
> > I am using glibc-2.2.5-34.
> >
> > Regards
> > Prince Arora
> >
> > Nils Ohlmeier wrote:
> > > Hi,
> > >
> > > On Wednesday 19 November 2003 11:06, Prince Arora wrote:
> > > > I have installed ser-0.8.11 on my redhat linux 7.3. SER is running
> > > > fine.
> > > >
> > > > To check whether my server is responding to requests, i installed
> > > > sipsack.
> > > >
> > > > My SIP_DOMAIN= "myserver.foobar.com".
> > > >
> > > > On giving command
> > > > sipsak -T -s sip:admin at myserver.foobar.com.
> > > >
> > > > It shows following error.
> > > > "no gethostbyname: No such file or directory"
> > >
> > > this is a little bit strange to me, because gethostbyname is a glibc
> > > function. I'm wondering how you could compile it. Is the netdb.h header
> > > file present on your system (usually at /usr/include)?
> > > What version of sipsak do you use?
> > > If you use the latest version (0.8.6) please send me (not to the list)
> > > the config.h and config.log files.
> > >
> > > Greets
> > >   Nils





More information about the sr-users mailing list