Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Nov 2018 17:22:52 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Daniel Braniss <danny@cs.huji.ac.il>
Cc:        freebsd-hackers@FreeBSD.org
Subject:   Re: help with dl module and clang
Message-ID:  <71B23784-3BA5-4FB8-A3A0-A72BC2BC3A26@FreeBSD.org>
In-Reply-To: <08A14290-0A6E-4002-892E-D4254EB23076@cs.huji.ac.il>
References:  <4B8101F4-9A89-4486-8DF3-93DC799EF6D4@cs.huji.ac.il> <E3B4CDF3-2DE9-4785-963C-9158105C263E@FreeBSD.org> <2E58B6A3-B3E4-4266-9B40-5F3D64433460@cs.huji.ac.il> <08A14290-0A6E-4002-892E-D4254EB23076@cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_B858BDE2-259A-4CFE-A493-6CCC3212C605
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=us-ascii

On 3 Nov 2018, at 17:11, Daniel Braniss <danny@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


--Apple-Mail=_B858BDE2-259A-4CFE-A493-6CCC3212C605
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCW93LXAAKCRCwXqMKLiCW
oxnwAKChVroTJp9sMvR5xMr5in18UEiybACgxMMpeyBlPZU0OnRcDtqHCRvVNBY=
=RzyA
-----END PGP SIGNATURE-----

--Apple-Mail=_B858BDE2-259A-4CFE-A493-6CCC3212C605--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?71B23784-3BA5-4FB8-A3A0-A72BC2BC3A26>