Il giorno lun, 31/01/2011 alle 10.52 -0600, Kent Yoder ha scritto: > For some time we've been using an opencryptoki specific conf file > in /etc/ld.so.conf.d to accomplish this, so it should be in the linker > path...
That puts it in the runtime loader (dynamic linker, ld.so) path but not in the link editor path (ld), at least not when cross-compiling with sysroots. Right now in Gentoo I'm simply moving libopencryptoki into /usr/lib(64). All the plugins are loaded with full path so it shouldn't be a problem. > Understandable. There is no code that's required to process > those .so's, its simply a redirect to the real library for old apps that > hard-coded /usr/lib/pkcs11/PKCS11_API.so. What apps would those be? Are they internal IBM software or something that has been distributed tu customers? I'd really like to not make Gentoo incompatible with commercially-available software if it doesn't need to be. > I'm not sure this applies since there is no library without the lib > prefix, just a soft link... It's still not a "standard" library, that users should link against, while in Linux it really doesn't make much difference other operating systems have quite different semantics for those, thus why I suggest using the proper flags when linking them. At any rate if you look at my 20-patches series (or if you wish you can look at the branch available as http://preview.tinyurl.com/696bpym (the gitorious URL is simply too long), I've fixed the flags used to link the plugins so that they actually follow the best practices to build plugins with autotools. HTH, -- Diego Elio Pettenò — Flameeyes http://blog.flameeyes.eu/ ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Opencryptoki-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opencryptoki-tech
