I sent this request to this list last week. I wondered why no one responded to me, so I did a bit more research and discovered that the request was entirely inappropriate. It appears that it’s ldconfig’s job to write the soname link, not the installer’s. I apologize for my ignorance.
From: John Calcote
Sent: Tuesday, November 08, 2011 10:27 AM
To: 'lvm-devel redhat com'
Subject: lvm2app installation issue
Hi all –
I’m working on an application that queries LVM2 for configuration information and displays it on the console. I wanted to use lvm2app for performance reasons, but the library is pretty new. In fact, I’ve found only the most recent releases of most distros even have a runtime package for this library, much less a devel package. Not wanting to give up the benefits of the library, I’ve decided to dynamically link to the library at runtime, and back off to parsing the output of command line utilities if the library isn’t found on the system.
While testing this approach, I noticed that the liblvm makefile’s install target only creates a single link (liblvm2app.so -> liblvm2app.so.2.2). Are there plans to create a liblvm2app.so.2 link so I can link to major version 2 of the library and still pick up bug fixes in minor releases?
Thanks in advance,
Confidentiality Notice: This e-mail message, its contents and any attachments to it are confidential to the intended recipient, and may contain information that is privileged and/or exempt from disclosure under applicable law. If you are not the intended recipient, please immediately notify the sender and destroy the original e-mail message and any attachments (and any copies that may have been made) from your system or otherwise. Any unauthorized use, copying, disclosure or distribution of this information is strictly prohibited.