So reading your comments, a symbolic link should not affect liblouis finding the table directory (eg. if you were to have a liblouis.so link in /usr/lib/ to the actual shared object in /usr/local/lib it won't end up looking in /usr/share/...)?
Michael Whapples On 02/01/2010 04:18 PM, Christian Egli wrote:
Hi Michael Thanks for your help. Michael Whapples<mwhapples@xxxxxxx> writes:The only possibility which crosses my mind is if you either have multiple copies (or had multiple copies) of liblouis installedThat was indeed the problem.How does the C code of liblouis determine where to find the tables?Look at lou_getTable. It basically looks in the current directory and in $install_prefix/share/liblouis/tables (this is sort of hard coded over a number of makefiles) and is determined at compile time.the python bindings only link at runtime and so find what they can where as the C code will be linked at compile time.Since the Python bindings simply use the C code they should be all set. Thanks again. Christian
For a description of the software and to download it go to http://www.jjb-software.com