<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Discussion</title><link href="https://sourceforge.net/p/ggmud/discussion/" rel="alternate"/><link href="https://sourceforge.net/p/ggmud/discussion/feed.atom" rel="self"/><id>https://sourceforge.net/p/ggmud/discussion/</id><updated>2019-08-20T06:02:31.790000Z</updated><subtitle>Recent posts to Discussion</subtitle><entry><title>Linux Newbie - Installation Help</title><link href="https://sourceforge.net/p/ggmud/discussion/314347/thread/a34f1c52/?limit=25#3845" rel="alternate"/><published>2019-08-20T06:02:31.790000Z</published><updated>2019-08-20T06:02:31.790000Z</updated><author><name>rhoyerboat</name><uri>https://sourceforge.net/u/rhoyerboat/</uri></author><id>https://sourceforge.netb1e44cc96100d098fa7c57810dffe30ecaffb485</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;the quick and dirty, 3 years later:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;#pwd
~./ggmud-0.9.4/build
#sed -i.bak 's/-lgthread-2\.0/-lgthread-2\.0 -lm -ldl/' \
 CMakeFiles/ggmud.dir/link.txt
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;had the same problem, the sed command (if you run it from the build dir it outta fix your build,) manually adds -lm and -ldl to the 1 line linker definition built by cmake  and stored in the ./build/CMakeFiles/ggmud.dir/link.txt file where it is read by the make script...&lt;/p&gt;
&lt;p&gt;for some reason vi was breaking the line apart and i didnt care to explore why so i used sed.&lt;/p&gt;
&lt;p&gt;.... yeah the right way to fix this is im the cmake sources that generate links.txt but honestly im not seeing how to connect those dots right now.&lt;/p&gt;
&lt;p&gt;after adding -lm i had to also add -ldl to deal with another undefined symbol called dlclose or something.. &lt;/p&gt;
&lt;p&gt;.. and .. drumrolll ... ggmud fired right up! cool! :) &lt;/p&gt;
&lt;p&gt;looks aight, have fun everyone.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>