kaltura-libmcrypt rightfully places itself under the /opt/kaltura, therefore, pass configure shared,/opt/kaltura and set LDFLAGS to include /opt/kaltura/lib.