[metapost] First GUI application linking to MPLib?

Reinhard Kotucha reinhard.kotucha at web.de
Sat Aug 11 00:39:24 CEST 2012


On 2012-08-10 at 16:49:13 -0500, Troy Henderson wrote:

 > > But where do I get mplib.a from?  I ran
 > >
 > >   ./build.sh ; find . -name 'mplib.*'
 > 
 > ./build/texk/web2c/libmplib.a
 > 
 > is the file that I installed into /usr/local/lib (and then ran
 > ldconfig) in Gentoo.  The program compiled, but segfaulted when I
 > applied it to a .mp file.

Thanks.  Obviously my search pattern was wrong.  However, I get a
segfault too.  :(

BTW, it was sufficient to copy libmplib.a to the directory containing
the Makefile, hence no need to run ldconfig.

Regards,
  Reinhard

-- 
----------------------------------------------------------------------------
Reinhard Kotucha                                      Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                              mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------


More information about the metapost mailing list