[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Linking Error?



Add -ldl

> Anyone know what I should look for to debug this linking error?
> 
> cc -O  cucipop.o authenticate.o atotime.o locking.o xcreat.o dbops.o
> hsort.o simplecrypt.o md5/md5c.o -o cucipop  -lpam
> /lib/libpam.so: undefined reference to `dlerror'
> /lib/libpam.so: undefined reference to `dlclose'
> /lib/libpam.so: undefined reference to `dlopen'
> /lib/libpam.so: undefined reference to `dlsym'  
> 
> Any help for a c-newbie would be much appreciated. 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []