Bug 147999

Summary: libgphoto should not use libtool at runtime
Product: [openSUSE] SUSE Linux 10.1 Reporter: Andreas Jaeger <aj>
Component: GNOMEAssignee: Marcus Meissner <meissner>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Enhancement    
Priority: P5 - None CC: ro
Version: Beta 3   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Andreas Jaeger 2006-02-03 14:44:04 UTC
libltdl.so.3()(64bit) is needed by (installed) libgphoto2-2.1.99.0head-10.x86_64

Please s/lt_dlopen/dlopen/
Comment 1 Marcus Meissner 2006-02-03 15:08:05 UTC
excuse me, but why?
Comment 2 Andreas Jaeger 2006-02-03 15:11:00 UTC
We do not want to install libtool by default.
Comment 3 Marcus Meissner 2006-02-03 15:42:40 UTC
Thorsten just does not want to split libtool at this stage, he
has no problems with it being in minimal.

I can do it, but I have to throw in some opendirs/readdirs etc.


libgphoto2 also threw out the old way to do it and standardized on libtool... because libltdl is the way to do it.

I will not be able to push this upstream.
Comment 4 Andreas Jaeger 2006-02-03 15:50:16 UTC
I would like to get rid of it if possible...

opendirs/readdirs?  That sounds scary...

Rudi, Thorsten, what do you propose?
Comment 5 Marcus Meissner 2006-02-03 15:52:34 UTC
it loads the camera and the port drivers this way:

        lt_dlinit ();
        lt_dladdsearchdir (dir);
        ret = lt_dlforeachfile (dir, foreach_func, flist);
        lt_dlexit ();

this loads all /usr/lib/libgphoto2/2.1.99/*.la (-> .so) files.

I can of course replace it with traditional UNIX methods, if really wanted.
Comment 6 Andreas Jaeger 2006-02-03 19:27:50 UTC
Let's make it an enhancement for now and discuss later again.
Comment 7 Johannes Meixner 2006-07-07 10:02:09 UTC
*** Bug 148003 has been marked as a duplicate of this bug. ***
Comment 8 Marcus Meissner 2007-04-20 08:40:43 UTC
i think we clarified this now.