mkmojo / leptonica

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

Can't build shared library #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What is the expected output? What do you see instead?
I need a dynamically linked library (.so) for Ocropus and I am only able to
get a statically linked library (.a).

What version of the product are you using? On what operating system?
leptonlib-1.62.tar.gz on Mandriva 2009.1 x64

Please provide any additional information below.
According to the README
make SHARED=yes shared
should build the shared library. Instead I get
make: *** No rule to make target `shared'.  Stop.

Original issue reported on code.google.com by sblandf...@gmail.com on 20 Aug 2009 at 8:37

GoogleCodeExporter commented 9 years ago
You need to make in the src directory:
   src>   make SHARED=yes shared

This uses the hand-built makefile there.

Original comment by dan.bloo...@gmail.com on 21 Aug 2009 at 4:31

GoogleCodeExporter commented 9 years ago

Original comment by dan.bloo...@gmail.com on 21 Aug 2009 at 4:40