In my book socialism is about workers controlling the means of production, and historical socialists did not agree how that would work in detail.
Libertarianism on the other hand is primarily about the rejection of personal restrictions, stuff like: "I should be allowed to freely copy and share media I have legally acquired." or "I shouldn't be forced to pay taxes." This individualist thinking makes it usually unable to adress structural inequality.