help with dl module and clang

Dimitry Andric dim at FreeBSD.org
Sat Nov 3 16:22:58 UTC 2018


On 3 Nov 2018, at 17:11, Daniel Braniss <danny at cs.huji.ac.il> wrote:
...
> ok, new problem, it also happens with gcc:
> 
> when compiling the main program with flag -pg (gprof)
> dlopen fails with dlerror: Service unavailable
> 
> what magic is needed now?

Usually, this occurs when you attempt to dlopen from a statically linked
executable.  Is this executable statically linked?

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 223 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20181103/dcd90c63/attachment.sig>


More information about the freebsd-hackers mailing list