Port-macppc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: installing graphviz from pkgsrc on NetBSD/macppc 9.1
> I have not yet been able to figure out exactly *why* this code
> fails in this manner, though.
Nothing definitive about this, but it appears that the failure to
load libgvplugin_gd.so.6 is possibly part of the picture.
This small test program:
#include <sys/inttypes.h>
#include <stdlib.h>
#include <stdio.h>
#include <dlfcn.h>
int
main(int argc, char **argv)
{
void *p;
char *f;
f = "/usr/pkg/lib/graphviz/libgvplugin_gd.so.6";
p = dlopen(f, RTLD_GLOBAL);
printf("dlopened %s, p=0x%" PRIxPTR "\n", f, p);
if (!p) {
printf("failed dlopen due to: %s\n", dlerror());
}
f = "/usr/pkg/lib/libpcre.so.1";
p = dlopen(f, RTLD_GLOBAL);
printf("dlopened %s, p=0x%" PRIxPTR "\n", f, p);
if (!p) {
printf("failed dlopen due to: %s\n", dlerror());
}
printf("exiting\n");
exit(0);
}
when built with
cc -o t -g t.c -lpthread
and when I run it, I get
granny-smith# ./t
dlopened /usr/pkg/lib/graphviz/libgvplugin_gd.so.6, p=0x0
failed dlopen due to: /usr/lib/libgomp.so.2: No space available for static Thread Local Storage
dlopened /usr/pkg/lib/libpcre.so.1, p=0xfdbe9400
exiting
Segmentation fault (core dumped)
granny-smith#
Not sure what to do about the actual error message.
Regards,
- Håvard
Home |
Main Index |
Thread Index |
Old Index