2

I have installed libpam0g-dev libpam0g

But when I am linking to libpam I am getting error undefined reference to `pam_start' and I am linker flags include -lpam.

Same code is working in Ubuntu 11.

Linking flags

-Wl,--start-group  -lssl -lpam -lcrypto  -lnspr4 -licui18n -licuuc -licudata -lcurl -lcares -lpthread -lpcrecpp -loauth -ldl -lrt -lz  -Wl,--end-group 

don't works

but this works

-Wl,--start-group  -lssl -lpam -lcrypto  -lnspr4 -licui18n -licuuc -licudata -lcurl -lcares -lpthread -lpcrecpp -loauth -ldl -lrt -lz -lpam -Wl,--end-group 
4

0 に答える 0