On 10/15/2012 12:32, Manuel Bouyer wrote:
On Mon, Oct 15, 2012 at 12:15:27AM -0700, Aaron J. Grier wrote:passing -ldopt to ocamlmklib omits the generation of rpath, so the resulting libraries don't have any rpath encoded into them. the test would be if oxenstored runs. (I think it has currently been excised from the build...)I would expect it to not run: without rpath, it won't find libraries in /usr/pkg/lib.
That would not be true on DragonFly, it would run. /usr/pkg/lib is part of the ldconfig "hints" file default, so unless somebody overrides that, rtld will eventually try /usr/pkg/lib after not finding the libraries in the RPATH on DragonFly.
John