SUMMARY: lmail libary no found on Installation on Solaris 2.5 for

Mark Fergusson (mferg@ddntl.didata.co.za)
Wed, 04 Jun 1997 12:07:58 +0200

Thanks to all those who responded so quickly. Original question:

Q1. ">I get the following error message when I do a make solaris on
Sun
>Solaris 2.5.
>ld: fatal: library -lmail: not found"

>Any comments will be appreciated.
>

Thanks to Casper Dik:
You need to install SUNWarc from CD (weird, w/o it you shouldn't be
able to link anything)
/usr/lib/libmail.a is in package SUNWarc
system SUNWarc Archive Libraries

Q2. ">In a situation like this where a library can't be found. How
does one
>go about looking for it to see if maybe it does exist on the system,
>and if not where to get it."

Thanks to Glenn Satchell:
Most standard Solaris libraries will be found in /usr/lib. If you link
something caled -lmail, then th ecorresponding file name will be one
of libmail.so.X.Y or libmail.a The firt is a shared or dynamic library
and X and Y will be version numbers.
X windows and Openwindows libraries are in /usr/openwin/lib or
/usr/dt/lib.
Anything else is either not part of Solaris or is a part of the
package.
And James Noad:
Try installing the GNU findutils: (294k)
ftp://sunsite.doc.ic.ac.uk/packages/gnu/findutils-4.1.tar.gz
This packages basically builds a database by doing a "find" on your
filesystem which you can very quickly search.

Thanks also to Gnuchev Fedor and anyone else who replied