[pulseaudio-tickets] [Bug 52038] New: failure linking PA statically

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jul 13 07:27:33 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=52038

             Bug #: 52038
           Summary: failure linking PA statically
    Classification: Unclassified
           Product: PulseAudio
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: build-system
        AssignedTo: pulseaudio-bugs at lists.freedesktop.org
        ReportedBy: pmeerw at pmeerw.net
         QAContact: pulseaudio-bugs at lists.freedesktop.org
                CC: lennart at poettering.net


gcc -static  x.c `PKG_CONFIG_PATH=/usr/local/lib/pkgconfig pkg-config --static
--libs libpulse-simple`

/usr/bin/ld: error: cannot find -lpulsecommon-2.98
pulse/simple.c:373: error: undefined reference to 'pa_log_level_meta'
pulse/simple.c:374: error: undefined reference to 'pa_log_level_meta'
pulse/simple.c:134: error: undefined reference to 'pa_log_level_meta'

reason is that libpulse-simple.pc  should include a library search path in
Libs.private:

-Libs.private: -lpulsecommon-2.98
+Libs.private: -L${libdir}/pulseaudio -lpulsecommon-2.98

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the pulseaudio-bugs mailing list