Subject: HP-UX - /bin/ld: Can't find library for -lPW

From: Steve Brothers <[email-masked]>
Date: Thu, 18 Jan 1996 14:40:08 -0600

Howdy!

I am sort of a Unix novice, and I was hoping someone could spare a couple of
minutes to help me compile the wuftpd daemon.  I checked the mail archive,
the related newsgroup FAQ, and other sources without success.  Here's my
problem:

I am trying to build wuftp-2.4 on HPUX-9.04 and the message that I receive 
while building is: "/bin/ld: Can't find library for -lPW".  After reading
some man pages it seems to indicate that it is looking for libPW.sl or
libPW.a.  Is that what it is looking for?  Is this a special library that I
need to get, or should it have been included, or ...

Any help would be appreciated.

TIA

-S

---
Steve Brothers, Greenbrier & Russel, Development Services
[email-masked]
"Extraordinary Problems Require Extraordinary Solutions!"

---

From: Nathan Sowatskey x4758 <[email-masked]>
Date: Fri, 19 Jan 1996 12:01:53 -0200

> Any help would be appreciated.

Basically you are right.  If you have that library then you should find
it find doing:

find /usr -name libPW* -print

If you do find it then ensure that you make file has an entry for libs
that is:

 -L/directory-where-lib-is

So that the linker will know where to look.

If you do not have it then remove the reference -lPW from you Makefile
and try again (you may not actually need it).  If that does not work you
will have to learn more about UNIX.

BTW if you are a UNIX novice then you should be *VERY* careful about
putting ftp on your server. It will allow other, perhaps not very nice,
people access in ways that you might not have forseen.

Regards

Nathan
---------------------------------------------------------------------

Nathan Sowatskey - Software Systems - [email-masked] 
(27)(21)-414-4758
ATE Building, Jetty Street, Roggebaai, Cape Town 8001, RSA

	SAIX - The South African Internet Exchange from Telkom 
			http://www.saix.net