2009/11/1 Kalev Lember <ka...@smartlink.ee>: > On 11/01/2009 04:43 PM, Andreas Jellinghaus wrote: >> Am Sonntag 01 November 2009 13:06:49 schrieb Peter Stuge: >>> Kalev Lember wrote: >>>> I think the correct fix here would be in configure.ac: >>>> -DEFAULT_PCSC_PROVIDER="/usr/lib${libdir##*/lib}/libpcsclite.so.1" >>>> +DEFAULT_PCSC_PROVIDER="libpcsclite.so.1" >>>> >>>> One shouldn't make assumptions in what directory libpcsclite.so.1 is >>>> installed. >>> >>> I agree, -rpath is horrible. >> >> but this discussion isn't about rpath. we are leading the shared >> library as plugin. > > Yes, it's not rpath here but rather telling dlopen() where exactly the > lib is located. But in any case if we don't specify a path, dlopen() > will search for "libpcsclite.so.1" in default lib directories (usually > /lib and /usr/lib in that order). I don't think it'd make sense to > hardcode a path in here, but rather rely on dlopen()'s behaviour to find > the right lib. I'd change the default provider to "libpcsclite.so.1" > (without path).
Fixed in revision 3801 Bye -- Dr. Ludovic Rousseau _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel