Date: Thu, 27 Oct 2005 12:45:40 +0400 From: Igor Robul <igorr@speechpro.com> To: freebsd-questions@freebsd.org Subject: Re: math/grace port: "libXcursor.so.1.0" not found ?? [SOLVED] Message-ID: <436093B4.2060201@speechpro.com> In-Reply-To: <43609132.6020202@speechpro.com> References: <20051027080228.60100.qmail@web36212.mail.mud.yahoo.com> <43608D9F.9020207@speechpro.com> <43608F45.2080600@speechpro.com> <43609132.6020202@speechpro.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Igor Robul wrote: > Sorry, > I have reread manual page for dlerror() and found that it need clear > error state after call, but > dlerror() in src/libc/gen/dlfcn.c does not do this: > > #pragma weak dlerror > const char * > dlerror(void) > { > return sorry; > } > > So error is in FreeBSD libc, if I understand this correctly. I'll do PR. Bad day for me :-(. Above code is from src/libc/gen/dlfcn.c, but real dlerror for dynamicaly linked executables is in rtdl.c, and it works as described in manual page (clears error status). So problem is somewhere else. Sorry for false info.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?436093B4.2060201>