swaileh / transducersaurus

Automatically exported from code.google.com/p/transducersaurus
0 stars 0 forks source link

A minor problem with 'normalizeG' compilation #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

on my system (Ubuntu 9.04, g++ 4.3.3) g++ complains about not being able to 
find the 'dlopen' and 'dlerror'. The following trivial change fixes it:

diff -r 7dc2847835c3 cpp/compile.sh
--- a/cpp/compile.sh    Sun May 22 12:31:20 2011 +0900
+++ b/cpp/compile.sh    Sun May 22 12:27:48 2011 +0300
@@ -1,3 +1,3 @@
 #!/bin/bash
 #Compile the normalizer
-g++ -O2 -o normalizeG normalizeG.cpp -lfst
\ No newline at end of file
+g++ -O2 -o normalizeG normalizeG.cpp -lfst -ldl
\ No newline at end of file

Original issue reported on code.google.com by vd.panay...@gmail.com on 22 May 2011 at 9:32

GoogleCodeExporter commented 8 years ago
Should be fixed, and the change uploaded.  Thanks for the feedback.

Original comment by Josef.Ro...@gmail.com on 24 May 2011 at 6:46