Hi,
I have an idea that could be a solution to this problem.
Instead of using dlopen(3) on the library and using dlinfo
(...,RTLD_DI_LINKMAP,...) to find the path of the library could you
use the output of 'ldconfig -r' and parse the path information from
that?
Regards,
Kimmo Paasiala
On We
On 04/07/2012 20:32, Kimmo Paasiala wrote:
> I have the SHLIBS feature turned on in /usr/local/etc/pkg.conf and I'm
> getting segfaults in the final stage of installation with some ports.
>
> Here is the tail end of a log from building databases/db42 with SHLIBS on:
>
> http://pastebin.com/3AqMdp
I have the SHLIBS feature turned on in /usr/local/etc/pkg.conf and I'm
getting segfaults in the final stage of installation with some ports.
Here is the tail end of a log from building databases/db42 with SHLIBS on:
http://pastebin.com/3AqMdptc
Backtrace from gdb:
http://pastebin.com/V3QY1Mmm