On Sat, Aug 30, 2025 at 09:50:40PM +0100, Gavin Smith wrote:
> On Sat, Aug 30, 2025 at 08:59:04PM +0200, Patrice Dumas wrote:
> > I modified Gavin code to try both the absolute and the relative path for
> > the dlopened library.  But the problem is not for the dlopened library,
> > the problem is with the second library, which the dlopened library is
> > linked to.
> 
> I used the absolute file name because of the following in "man dlopen" on
> OpenBSD:
> 
>      The path parameter can be specified as either an absolute pathname to a
>      shared library or just the name of the shared library itself.  When an
>      absolute pathname is specified, only the path provided will be searched
>      for the shared library.  When just a shared library is specified, the
>      same paths will be searched that are used for "intrinsic" shared library
>      searches.

I added the relative path too because of some things I found on the
internet about Macos, but I think that it was not actually relevant.

-- 
Pat

  • Re: ... Patrice Dumas
    • ... Bruno Haible via Bug reports for the GNU Texinfo documentation system
      • ... Patrice Dumas
        • ... Gavin Smith
          • ... Patrice Dumas
            • ... Bruno Haible via Bug reports for the GNU Texinfo documentation system
              • ... Patrice Dumas
              • ... Eli Zaretskii
              • ... Patrice Dumas
              • ... Gavin Smith
              • ... Patrice Dumas
              • ... Patrice Dumas
              • ... Gavin Smith
        • ... Gavin Smith
          • ... Bruno Haible via Bug reports for the GNU Texinfo documentation system
            • ... Patrice Dumas

Reply via email to