I've heard he may have been a Marxist sympathizer and I'm curious how he would've reached to those events.
In 1848, Lincoln was a member of Congress with many other things on his mind. For part of the time, preoccupied with the biggest issue facing the United States at the time: the Mexican-American War. Although little remembered in the US today, it was monumentally important at the time, causing what is now California, Nevada, Utah, and New Mexico to be added to the United States, along with most of Arizona and parts of Texas, Colorado, Wyoming, Nebraska, and Oklahama. Like most of his fellow Whigs, many modern historians, and lots of US soldiers, Lincoln believed that the war was an unjustified act of aggression; he called for investigations into the origins of the war, while still voting for supplies for the troops. Lincoln also spent time and energy on the traditional Whig issues of internal improvements (e.g., canals and railraods), tariffs, and banking; and he was involved with the election of Zachary Taylor as president. He did not campaign for re-election (not wholeheartedly, anyway), partly because he'd been elected on a principle of rotation in office anyway; however, he did try (unsuccessfully) to get a federal office with the incoming Taylor administration.
The Mexican-American War also changed the slavery issue from a relatively settled issue to an unsettled one, as it raised the question of whether slavery should be legal in the US's newly acquired territories. Slavery is barely mentioned at all in Lincoln's collected works before the outbreak of the war; however, in his last days in Congress in early 1849, he introduced a bill to end slavery in the District of Columbia (it didn't pass).
All of which is a long way to say that the European revolutions of 1848 were probably not high on the list of issues on Lincoln's mind. With that said, from what we can tell, he seems to have been sympathetic to those revolutions broadly. As a member of the House in April 1848, he did vote in favor of a resolution that offered "our warmest sympathies to the people of France and Italy in their present struggle for reform, and sincerely [hoped] that they may succeed in establishing free and constitutional governments" based on the consent of the governed.
Lincoln did not make prominent mention of these issues in his political campaigns or speeches, but he did make various shows of support, often as part of a group:
German immigrants were also an important component of the new Republican party. Lincoln worked with exiled German revolutionaries such as Friedrich Hecker and Gustav Koerner in Illinois in the 1850s; the Union cause later benefited from the political and military talents of Carl Schurz, Franz Sigel, August Willich, Alexander Schimmelfennig, and many others. However, Lincoln's support of German-Americans was often somewhat muted, likely because the anti-immigrant Know-Nothings were also an important source of Republican votes.
It's probably anachronistic to describe Lincoln as a "Marxist sympathizer," but in the 1850s and early 1860s, Marx was a correspondent for Horace Greeley's New-York Daily Tribune. As this was the leading Whig/Republican newspaper at the time, Lincoln would have been familiar with Marx's writings. Lincoln did express a number of seemingly proto-Marxist ideas in various speeches while discussing tariffs and slavery, but in Lincoln's lifetime, there were a number of other utopian, millenialist, and Working-Men's-party thinkers in America expressing a variety of ideas that were just starting to be described as socialist. And Marx's ideas did not align neatly with the political divides in America at the time. Still, Marx did send an approving message to Lincoln during the war, to which a Lincoln official sent a friendly reply; and Marx expressed grief at Lincoln's death. I (and others) have written more about the Lincoln/Marx relationship here.