Cannot start asterisk Ubuntu Server 12.04 64bit

I have installed asterisk on Ubuntu server 12.04 64 bit. Every time I try to start asterisk I get this error:
error while loading shared libraries: libasteriskssl.so.1: cannot open shared object file: No such file or directory

I configured asterisk with libdir=/usr/lib64. I also tried recompiling asterisk with --disable-asteriskssl.
I also tried running ldconfig. All with no luck.

Please advise. Thank you.

Check this web.archiveorange.com/archive/v/ … OoMoLlLNVG

My system is a 64 bit but it works if I configure the installation without --libdir=/usr/lib64 so:

./configure works

./configure --libdir=/usr/lib64 does not

I wonder why?