Bug 148003

Summary: sane should not require libtools at runtime
Product: [openSUSE] SUSE Linux 10.1 Reporter: Andreas Jaeger <aj>
Component: BasesystemAssignee: Johannes Meixner <jsmeix>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Enhancement    
Priority: P5 - None CC: kukuk, ro
Version: Beta 3   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: "rpm -q --requires sane" if "configure --with-gphoto2"
"rpm -q --requires sane" if "configure --without-gphoto2"

Description Andreas Jaeger 2006-02-03 14:56:45 UTC
libltdl.so.3()(64bit) is needed by (installed) sane-1.0.17-3.x86_64

Please remove this requirement, and use dlopen directly.
Comment 1 Johannes Meixner 2006-02-03 15:30:20 UTC
Why is it a major bug?
What is the "Major loss of function" for you?

Why such a change now?
We are now in fact after beta4 because I cannot fix it for beta4.

libltdl was required in 10.0 and there is seems to have been ok.
libltdl is also required in 10.1 i386.
What is wrong now with libltdl on x86_64?
Comment 2 Andreas Jaeger 2006-02-03 15:34:44 UTC
We do not want to install libtool by default!

It's wrong to install it anywhere ;-)
Comment 3 Andreas Jaeger 2006-02-03 19:28:03 UTC
Let's make it an enhancement for now and discuss later again.
Comment 4 Johannes Meixner 2006-07-07 09:51:50 UTC
Is is not sane itself which requires libltdl.
There is no libltdl function call in the sane sources.

It is in fact a inter-library dependency:

When I build sane as usual with "configure --with-gphoto2"
to get the gphoto2 backend built, libgphoto2 is needed
and this library requires libltdl.

When I build sane with "configure --without-gphoto2"
it does no longer require libltdl.
Comment 5 Johannes Meixner 2006-07-07 09:54:12 UTC
Created attachment 92872 [details]
"rpm -q --requires sane" if "configure --with-gphoto2"
Comment 6 Johannes Meixner 2006-07-07 09:54:41 UTC
Created attachment 92873 [details]
"rpm -q --requires sane" if "configure --without-gphoto2"
Comment 7 Johannes Meixner 2006-07-07 10:02:09 UTC
I assume we don't want to simply drop gphoto2 support from sane.
Therefore I think this on eis a duplicate of bug #147999.

By the way:
Why not simply split the libtool runtime-stuff from the libtool package
as a libtool-lib sub-package?


*** This bug has been marked as a duplicate of 147999 ***
Comment 8 Andreas Jaeger 2006-07-07 10:06:58 UTC
Andreas, could you look at comment 7, please?