libresolv.a not found - SCO
This is a discussion on libresolv.a not found - SCO ; I tried to compile my simple code and found that the "libresolv.a" is
missing. Does it come with the installation CD or I need to install
"BIND" to my osr504 system.
Below is what's happening,
# cc -o hlookup hlookup.c ...
-
libresolv.a not found
I tried to compile my simple code and found that the "libresolv.a" is
missing. Does it come with the installation CD or I need to install
"BIND" to my osr504 system.
Below is what's happening,
# cc -o hlookup hlookup.c -lnsl -lsocket -lresolv
i386ld libsocket.a: can't find library libresolv.a
Thanks a lot for your response,
Chalawal
-
Re: libresolv.a not found
Chalawal Maliwan typed (on Tue, Jan 06, 2004 at 07:11:31AM -0800):
| I tried to compile my simple code and found that the "libresolv.a" is
| missing. Does it come with the installation CD or I need to install
| "BIND" to my osr504 system.
|
| Below is what's happening,
|
| # cc -o hlookup hlookup.c -lnsl -lsocket -lresolv
| i386ld libsocket.a: can't find library libresolv.a
There was no separate resolver library for OSR 5.0.4, so just drop the
-lresolv from your compile command.
--
JP
-
Re: libresolv.a not found
>
> There was no separate resolver library for OSR 5.0.4, so just drop the
> -lresolv from your compile command.
Thanks a lot JP, I thought I tried that already. It compiles now.
Chalawal