[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 398
  • 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

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

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