On Monday 2010-02-15 22:59, Cristian Rodríguez wrote:
On 15/02/10 18:36, Richard Bos wrote:
Hi,
I execute the following build command: $ home:rbos/kfritz> osc build openSUSE_11.2 i586 kfritz.spec The last part of the build fails, with the error attached
lib/libfritz++.a(FritzClient.cpp.o): In function `fritz::FritzClient::CalculateLoginResponse(std::basic_string
)': /usr/src/packages/BUILD/kfritz-0.0.1/libfritz++/FritzClient.cpp:73: undefined reference to `MD5' The line that errors out, contains this code: MD5((unsigned char*)challengePwdConv, challengePwd.length()*2, hash);
libcrypto (-lcrypto) needs to be linked.
libssl already has a DT_NEEDED link to libcrypto (as evidenced by ldd(1)), so -lcrypto is not explicitly required. For what it's worth, I cannot reproduce this compile error using either Lbuild-jplus (osc build without the osc) or the SUSE OBS. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org