Bugzilla – Bug 147999
libgphoto should not use libtool at runtime
Last modified: 2007-04-20 08:40:43 UTC
libltdl.so.3()(64bit) is needed by (installed) libgphoto2-2.1.99.0head-10.x86_64 Please s/lt_dlopen/dlopen/
excuse me, but why?
We do not want to install libtool by default.
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.
I would like to get rid of it if possible... opendirs/readdirs? That sounds scary... Rudi, Thorsten, what do you propose?
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.
Let's make it an enhancement for now and discuss later again.
*** Bug 148003 has been marked as a duplicate of this bug. ***
i think we clarified this now.