1833024 Members
2531 Online
110049 Solutions
New Discussion

Re: libsocket.a

 
leonardo_20
Valued Contributor

libsocket.a

Anybody know if the libsocket.a is an hp-ux library?

I cannot compile a program without -lsocket library.

How I can skip this problem?

Thanks
Leonardo
5 REPLIES 5
Fred Ruffet
Honored Contributor

Re: libsocket.a

I don't have any libsocket.a file here on a 11.00.

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Steve Steel
Honored Contributor

Re: libsocket.a

Hi


I believe -lsocket is not required, the functionality is in libc


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
leonardo_20
Valued Contributor

Re: libsocket.a

thank's
I do it
regards
Leonardo
Muthukumar_5
Honored Contributor

Re: libsocket.a

Check on /usr/lib/libc.a as

ar -t /usr/lib/libc.a | grep socket

or

nm /usr/lib/libc.a | grep socket

HTH.
Easy to suggest when don't know about the problem!
leonardo_20
Valued Contributor

Re: libsocket.a

thanks to all