Page 1 of 1

Error with libaprutil-0.so

Posted: Sun Jan 24, 2016 3:33 pm
by milmarqtan
Hello,

I'm trying to build Apache for the mini2440 but I'm getting the following
error in one of its dependencies:

OSELAS.BSP-Pengutronix-Mini2440/platform-mini2440/sysroot-target/usr/lib/libapru
til-0.so:
undefined reference to `crypt_r'

Looking online, it seems the fix is to link libaprutil-0.so to libcrypt.
What modifications are needed to be able to do that?

My configuration:
ptxdist - ptxdist-2015.01.0
toolchain - OSELAS.Toolchain-2014.12.0
bsp - OSELAS.BSP-Pengutronix-Mini2440 2015.01.0
apr-util - apr-util-0.9.19
apache - httpd-2.0.64

Thanks.

PS: I asked the same question in http://www.friendlyarm.net/.

Re: Error with libaprutil-0.so

Posted: Tue Jan 26, 2016 11:05 am
by FATechsupport
Hi you can try compiling libcrypt first and then add this library when compiling apache.