Solved, the problem was that the command for the symlink was:

Code:
ln -sfn /media/hdd/lib /usr/lib


I've also added

Code:
/dev/sda1 /media/hdd auto defaults 0 0


to my /etc/fstab file (not sure if that is needed since i've found out about the incorrect symlink command after I've modified /etc/fstab)