Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • L libao
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 36
    • Issues 36
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Xiph.OrgXiph.Org
  • libao
  • Issues
  • #132
Closed
Open
Issue created Jan 16, 2002 by wooledg@wooledg

Doesn't compile due to lack of RTLD_GLOBAL

I'm compiling on HP-UX 10.20 with the hp_dlfcn compatibility package installed.
There is no RTLD_GLOBAL in dlfcn.h, so libao doesn't build.  I patched around it
like this:

--- src/ao_private.h    2001/12/17 14:06:50     1.6
+++ src/ao_private.h    2002/01/16 15:30:33
@@ -42,7 +42,7 @@
  *
  * ALSA requires RTLD_GLOBAL.
  */
-#if defined(__OpenBSD__)       
+#if defined(__OpenBSD__) || defined(hpux)
 #define DLOPEN_FLAG (RTLD_LAZY)
 #else
 #define DLOPEN_FLAG (RTLD_NOW | RTLD_GLOBAL)


but that's a sloppy way to do it; it should be handled by autoconf.
Assignee
Assign to
Time tracking