Re: hackery (was: dynamic linking)

2010-02-16 Thread Tomas By
On Tue, February 16, 2010 16:20, Linas Vepstas wrote: > what does ldd libguile-mytest.so show? Are all dependencies resolved? I think so. > If you compile the following, will it run? [...] > i.e. is this enough to compile it: [...] Mercury needs to be initialized, and the C compiler needs to kn

Re: hackery (was: dynamic linking)

2010-02-16 Thread Linas Vepstas
On 15 February 2010 11:43, Tomas By wrote: > Hello again everybody, Just a wild guess -- i'm focusing on the "file not found" aspect of the error message: what does ldd libguile-mytest.so show? Are all dependencies resolved? If you compile the following, will it run? #include "mylibrary.h" #i