On 15 February 2010 11:43, Tomas By <[email protected]> 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"
#include "mylib.mh"
#include "mytest.h"
#include <mercury.h>

main()
{
 MR_Word temp = MR_list_empty();
 MR_Word* p;

 testproc_c(temp,p);
return 0;
}

i.e. is this enough to compile it:

cc main.c  -lguile-mytest.so -L .

or do you need something more?

--linas

disclaimer: I am a guile novice


Reply via email to