Hi David,

CCing misc

On Wed, Aug 11, 2010 at 9:50 PM, David Coppa <[email protected]> wrote:
> On Wed, Aug 11, 2010 at 3:42 PM, Edwin Eyan Moragas <[email protected]> wrote:
>>> i'm trying to compile picoLisp on obsd 4.7.
>>>
>>> as suggest i passed an absolute path to dlopen().  dlerror() says
>>> "File not found".
>>
>> i am stupid. the buffer used for the param to dlopen() was truncated.
>> expanding it and passing the full absolute path, dlerror() returns
>> "Cannot load specified object".
>>
>> clues, pointers?
>
> You can help us by posting the code that does the dlopen()

      if (!(h = dlopen("/home/eyan/src/lib/ht", RTLD_LAZY |
RTLD_GLOBAL))  ||  !(h = dlsym(h,p))) {
         printf("%s\n", dlerror());
         printf("%s\n", buf);
         return NO;
      }


the printf()s are mine.  the rest is a snippet from picoLisp.

>
> -dav

Reply via email to