Bug 1230944 - Please update device-mapper-libs to provide libdevmapper.so.1.02(Base)(64bit)
Summary: Please update device-mapper-libs to provide libdevmapper.so.1.02(Base)(64bit)
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: lvm2
Version: 22
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: LVM and device-mapper development team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-11 20:21 UTC by Jan Chaloupka
Modified: 2015-06-12 07:54 UTC (History)
12 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-06-12 07:54:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jan Chaloupka 2015-06-11 20:21:33 UTC
Is it possible to update f22's device-mapper-libs to provide libdevmapper.so.1.02(DM_1_02_97)(64bit)? Docker build on f23 is already built with it. In order to support CI testing for docker, docker needs to run tests. The latest stable image to run tests on is f22 which will not run docker binary built in f23 (due to missing libdevmapper.so.1.02(DM_1_02_97)(DM_1_02_97)). 

f22's device-mapper-libs currently provides libdevmapper.so.1.02(Base)(64bit) and libdevmapper.so.1.02()(64bit).

Another questions:
1) What is a difference between libdevmapper.so.1.02(Base)(64bit) and libdevmapper.so.1.02(DM_1_02_97)(64bit).
2) Is there a way for docker to select which libdevmapper.so.1.02 gets picked during building?

Comment 1 Zdenek Kabelac 2015-06-12 07:54:07 UTC
Nope - you are mis-compiling your docker build.

We made this change in lvm2 to catch exactly this build errors.

You MAY NOT build your project with NEWER libraries and install them on them system with OLDER libraries - this is completely unsupported  - and lvm2 now properly marks new symbols with new versioned symbol name.

So -  when you ask what is the difference -

Symbols provided with DM_1_02_97 were added/changed in 1.02.97 release of libdm.

If any binary links it - it will require this symbol - and since change in 97 version was relate to some 'core' function API change - you will need to use newer library for newly compiled binary.

Of course - if you have 'old' binary - it will properly work with newer library.

Just please - don't try to ask for 'reversed' support - i.e. build with new library and run with older version.

Please fix your 'docker' build environment and use proper libraries for build & runtime.


Note You need to log in before you can comment on or make changes to this bug.