Open GoogleCodeExporter opened 9 years ago
That binary should be rebuilt statically.
Original comment by richard.eckart
on 19 Jul 2012 at 6:55
The binaries for the other platforms should also be linked statically, which
should remove the need to include the "lib" and "include" folders in SVN.
Original comment by richard.eckart
on 19 Jul 2012 at 9:10
For OS X, there is another alternative, since static builds are a bit
problematic on OS X:
builder.environment().put("DYLD_LIBRARY_PATH", ...path...to...lib...folder...);
I didn't look at the CRFSuiteWrapper in detail yet.
Original comment by richard.eckart
on 20 Jul 2012 at 8:26
Relevant link for OS X:
http://developer.apple.com/library/mac/#qa/qa1393/_index.html
Original comment by richard.eckart
on 20 Jul 2012 at 10:08
Original comment by steven.b...@gmail.com
on 24 Jul 2012 at 5:27
I built a statically linked version of crfsuite 0.12 with liblbfgs 1.10. It's
attached to this issue. It should work if you replace the current OS X binary
with this one. Please test.
Original comment by richard.eckart
on 24 Jul 2012 at 5:35
Attachments:
For the record:
- download liblbfgs and configure with --prefix=~/crf, make and install it
- download crfsuite and configure with --prefix=~/crf --with-liblbfgs=~/crf/,
make and install it
- go to crfsuite-0.12/frontend
- gcc -o crfsuite-static *.o ~/crf/lib/libcqdb.a ~/crf/lib/libcrfsuite.a
~/crf/lib/liblbfgs.a
The result should be a statically linked binary called "crfsuite-static".
Original comment by richard.eckart
on 24 Jul 2012 at 5:38
@Steven: I think Martin is a bit busy at the moment and he doesn't have a Mac
anyway. Please check if this static binary works for you.
Original comment by richard.eckart
on 24 Jul 2012 at 5:41
Works like a charm, thanks! I committed it in r3925.
I'm leaving this issue open until we have the linux binaries linked statically
as well.
Original comment by steven.b...@gmail.com
on 25 Jul 2012 at 4:06
So I just tried this out on a Linux box where I don't have crfsuite installed,
and the cleartk-ml-crfsuite tests all pass, meaning the dynamically linked
crfsuite seems to work fine on Linux.
So, while we should probably still rebuild the crfsuite binaries statically for
Linux, this issue won't block the 1.2 release.
Original comment by steven.b...@gmail.com
on 26 Jul 2012 at 5:52
Original comment by lee.becker
on 17 Feb 2013 at 6:00
Original comment by steven.b...@gmail.com
on 3 May 2013 at 8:44
Original comment by phi...@ogren.info
on 15 Mar 2014 at 5:41
Original issue reported on code.google.com by
steven.b...@gmail.com
on 19 Jul 2012 at 12:02