On 4/11/2012 8:16 AM, Frank Morgner wrote: > Adjusting the loader to determine the architecture and recognizing > architecture specific directories would be the more generic solution, I > think. You can change LD_LIBRARY_PATH or edit /etc/ld.so.conf to do so. > I think the OS should fix this.
This would appear to be a common problem with many other packages using dlopen like pam. dlopen man page says: If filename contains a slash ("/"), then it is interpreted as a (relative or absolute) pathname. Otherwise, the dynamic linker searches for the library as follows (see ld.so(8) for further details): So can the default be just "libpcsclite.so"? > > On Wednesday, April 11 at 01:46PM, Ludovic Rousseau wrote: >> >> Hello, >> >> pcsc-lite on Debian and Ubuntu now supports multi-arch [1]. A >> multi-arched library is no more stored in /usr/lib/ but in >> /usr/lib/x86_64-linux-gnu for amd64 systems and >> /usr/lib/i386-linux-gnu for i386 systems (and the same naming applies >> for all the other achitectures). >> >> The idea of multi-arch is to be able to have intel 32 and 64 bits >> programs and libraries installed at the same time on the same system. >> >> Now the problem with OpenSC. >> OpenSC is no more linked with libpcsclite but uses dlopen(3) to load >> the library at runtime. >> Since the library has moved the dlopen() call fails and the library >> can't be found and loaded. See Ubuntu bug #973886 [2]. >> >> One solution is to link OpenSC with libpcsclite at compile time. This >> is working because the dynamic linker has been modified for multi arch >> and knows where to find a library. >> >> Now that OpenCT is deprecated and PC/SC should be the only card >> interface to be used maybe the default could be to link at build >> time. >> >> Is anybody modifying the provider_library= configuration in >> /etc/opensc.conf to something else than the default value? What is the >> use case? >> >> Bye >> >> [1] http://wiki.debian.org/Multiarch >> [2] https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/973886 >> >> -- >> Dr. Ludovic Rousseau >> _______________________________________________ >> opensc-devel mailing list >> opensc-devel@lists.opensc-project.org >> http://www.opensc-project.org/mailman/listinfo/opensc-devel >> > > > > _______________________________________________ > opensc-devel mailing list > opensc-devel@lists.opensc-project.org > http://www.opensc-project.org/mailman/listinfo/opensc-devel -- Douglas E. Engert <deeng...@anl.gov> Argonne National Laboratory 9700 South Cass Avenue Argonne, Illinois 60439 (630) 252-5444 _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel