legally you are not eligible unless you pay the short fall of notice period , if the notice policy was mentioned in the appointment letter.
Company can retain the relieving letter for the reason for not complying the notice period terms and conditions
The the basic salary for the period will have to be paid to the company if there is an option to pay for the short fall of notice, .
Speak to the a HR team of it doesn't work, send s legal notice assuming got the relieving letter.