* [gentoo-user] lsocket!?!
@ 2006-04-04 4:27 Justin Hart
2006-04-04 10:55 ` Graham Murray
2006-04-04 11:35 ` Matthias Bethke
0 siblings, 2 replies; 4+ messages in thread
From: Justin Hart @ 2006-04-04 4:27 UTC (permalink / raw
To: gentoo-user
I'm trying to compile some network code... but gcc is telling me
cannot find -lsocket
libsocket** is nowhere to be found in my library path?!?! Is there a
package that I can emerge to acquire this?
--
Justin W. Hart
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] lsocket!?!
2006-04-04 4:27 [gentoo-user] lsocket!?! Justin Hart
@ 2006-04-04 10:55 ` Graham Murray
2006-04-04 11:35 ` Matthias Bethke
1 sibling, 0 replies; 4+ messages in thread
From: Graham Murray @ 2006-04-04 10:55 UTC (permalink / raw
To: gentoo-user
"Justin Hart" <justinhart@gmail.com> writes:
> I'm trying to compile some network code... but gcc is telling me
> cannot find -lsocket
>
> libsocket** is nowhere to be found in my library path?!?! Is there a
> package that I can emerge to acquire this?
You should not need -lsocket as all of the socket 'stuff' is in
glibc. I suspect that you code was written for some other *nix not
Linux and does not use autoconf to detect the build environment.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] lsocket!?!
2006-04-04 4:27 [gentoo-user] lsocket!?! Justin Hart
2006-04-04 10:55 ` Graham Murray
@ 2006-04-04 11:35 ` Matthias Bethke
2006-04-05 1:51 ` Justin Hart
1 sibling, 1 reply; 4+ messages in thread
From: Matthias Bethke @ 2006-04-04 11:35 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 442 bytes --]
Hi Justin,
on Tuesday, 2006-04-04 at 00:27:18, you wrote:
> I'm trying to compile some network code... but gcc is telling me
> cannot find -lsocket
That's right, the socket API is part of libc. That's some pretty old
code, isn't it? Just leave out the -lsocket and you should be fine.
cheers!
Matthias
--
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0 8DEF 48D9 1700 FAC3 7665
[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] lsocket!?!
2006-04-04 11:35 ` Matthias Bethke
@ 2006-04-05 1:51 ` Justin Hart
0 siblings, 0 replies; 4+ messages in thread
From: Justin Hart @ 2006-04-05 1:51 UTC (permalink / raw
To: gentoo-user
Haha. Yes. My code from Solaris. Thanks.
Justin
On 4/4/06, Matthias Bethke <matthias@towiski.de> wrote:
> Hi Justin,
> on Tuesday, 2006-04-04 at 00:27:18, you wrote:
> > I'm trying to compile some network code... but gcc is telling me
> > cannot find -lsocket
>
> That's right, the socket API is part of libc. That's some pretty old
> code, isn't it? Just leave out the -lsocket and you should be fine.
>
> cheers!
> Matthias
> --
> I prefer encrypted and signed messages. KeyID: FAC37665
> Fingerprint: 8C16 3F0A A6FC DF0D 19B0 8DEF 48D9 1700 FAC3 7665
>
>
>
--
Justin W. Hart
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-04-05 2:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-04 4:27 [gentoo-user] lsocket!?! Justin Hart
2006-04-04 10:55 ` Graham Murray
2006-04-04 11:35 ` Matthias Bethke
2006-04-05 1:51 ` Justin Hart
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox