Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 386
  • Last Modified:

Shadow Password POP3 and FTP

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!
0
cbsnet
Asked:
cbsnet
  • 2
1 Solution
 
ahoffmannCommented:
Where is your libshadow.a located? Add the appropriate libary path to your cc command, like:
cc -Lyour_path -o ..

0
 
cbsnetAuthor 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

0
 
cbsnetAuthor Commented:
Is the second error the result of an improper path?
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now