Power & Source of Big Ideas

Error with libaprutil-0.so

Moderators: chensy, FATechsupport

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/.
Hi you can try compiling libcrypt first and then add this library when compiling apache.

Who is online

In total there are 3 users online :: 0 registered, 0 hidden and 3 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 3 guests