The linking-transactions.dat file is generated with the setup command, and it contains transactions that enable harvesting.
These transactions have a deadline of 2h, so they must be signed and announced right after setting up the node.
If one decides to enable harvesting at a later stage, the transactions have expired, and I am not aware of any other mean to generate them.
A command separate from setup that regenerates them would be helpful in this situation.