We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

Shadow Password POP3 and FTP

cbsnet
cbsnet asked
on
Medium Priority
482 Views
Last Modified: 2013-12-23
I recently installed Shadow Passwords, now I trying to compile this program and I'm getting these errors:

(pop3d+shadow+elf)

cbs-net:/tmp/usr/src/pop3# make all
cc -o in.pop3d main.o folder.o util.o valid.o -lshadow
/usr/i486-linux/bin/ld: cannot open -lshadow: No such file or directory
make: *** [pop3d] Error 1

I'm getting a simular error with wu-ftpd-2.4-fixed.

Help!
Comment
Watch Question

Where is your libshadow.a located? Add the appropriate libary path to your cc command, like:
cc -Lyour_path -o ..

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
I corrected the problem with shadow.h and libshadow.a however I'm still getting these errors.

Making support library.
rm -rf libsupport.a
gcc  -O2 -I/usr/include/bsd  -m486 -pipe -c getusershell.c fnmatch.c strcasestr
ar cq libsupport.a getusershell.o fnmatch.o strcasestr.o strerror.o authuser.o o
ranlib libsupport.a

Making ftpd.
gcc -O2 -I.. -I../support -I/usr/include/bsd -I/usr/include/netinet -L../supporo
glob.c: In function `matchdir':
glob.c:240: dereferencing pointer to incomplete type
make: *** [glob.o] Error 1

Author

Commented:
Is the second error the result of an improper path?
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.