Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
L
libao
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 32
    • Issues 32
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 3
    • Merge Requests 3
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Xiph.Org
  • libao
  • Issues
  • #132

Closed
Open
Opened 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
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: xiph/libao#132