pcp
[Top] [All Lists]

[Bug 973] New: libpcp solib extensions cause development/testing complic

To: pcp@xxxxxxxxxxx
Subject: [Bug 973] New: libpcp solib extensions cause development/testing complications
From: bugzilla-daemon@xxxxxxxxxxx
Date: Wed, 01 May 2013 13:20:20 +0000
Auto-submitted: auto-generated
Delivered-to: pcp@xxxxxxxxxxx
Bug ID 973
Summary libpcp solib extensions cause development/testing complications
Product pcp
Version unspecified
Hardware All
OS Linux
Status NEW
Severity major
Priority P5
Component pcp
Assignee mort@sgi.com
Reporter fche@redhat.com
CC pcp@oss.sgi.com
Classification Unclassified

libpcp.so has been gaining some extra functions lately, but retaining the same
libpcp.so.3 SONAME.  This makes binaries that use those new functions work only
with newly-built libpcp.so.3's, but not with a possible distro-installed
libpcp.so.3.  That can give errors such as ...

% .../build/pmwebd
undefined symbol: __pmGetUsername"

Some possible fixes:

- force/document users to set $LD_LIBRARY_PATH to point to $prefix/lib
- add LDFLAGS=-R$libdir (or -rpath $libdir) throughout to get the binaries
  to refer to newly built libs rather than possible system ones
- use new SONAMEs when the library is extended, to make more obvious the cause,
  but arrange to link older SONAMEs to the same library for backward
compatibility


You are receiving this mail because:
  • You are on the CC list for the bug.
<Prev in Thread] Current Thread [Next in Thread>
  • [Bug 973] New: libpcp solib extensions cause development/testing complications, bugzilla-daemon <=