On Mon, 10 Sep 2012 12:03:25 +0000
Tim Kroeger <Tim.Kroeger@ . . . > wrote:
> . . . <snip> . . .
> . . . <snip> . . . I meanwhile found out that I can get it
> compile by manually adding
> -lpam -lkrb5 -lcrypto
> to the linker line. I do this by manually changing into the directory
> where the error was reported and then copying the command from the
> error output to the console and then adding these flags. After that,
> I return to the base directory and type "make" again to continue the
> build process. A similar thing happens two or three more times, and I
> workaround in the same manner, until finally, the build is finished.
> The internet says that this has probably to do with some recent linker
> change that requires libs to be in a certain order.
> For me, it's fine now (well, a little bit uncomfortable, but I won't
> rebuild alpine every day ...), but I wonder whether other people have
> this problem as well and whether the order of the libs can be changed
> such that it works without manual intervention.
> Best Regards,
This works for me without hiccups on Mint 13 (Ubuntu 12.04 fork):
make IP6=4 LIBS='-lpam -lssl -lcrypto -ltinfo -ldl'
You may want to include `-lkrb5' (I don't use kerberos).
Get latest updates about Open Source Projects, Conferences and News.