--opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable
On Fri, Nov 29, 2002 at 03:15:21PM +0100, Henning Meier-Geinitz wrote: > Hi, >=20 > On Thu, Nov 28, 2002 at 09:12:03PM +0900, Peter O'Gorman wrote: > > Note that a dlopen compatibility library is needed, I suggest using=20 > > dlcompat <http://www.opendarwin.org/projects/dlcompat>, but I am a=20 > > little biased :) >=20 > Thanks for the patch. So now we at least know how to detect a AmcOS X > sytsem :-) >=20 > However, the dynamic loading issue is still unclear for me: >=20 > > +# ifdef __APPLE__ > > +# define POSTFIX ".%u.so" > > +# else > > # define POSTFIX ".so.%u" > > +# endif >=20 > That's the third version of how MacOS shared libraries are stored. > 1) libsane-something.so(.version) > 2) libsane-something.dylib.version > 3) (yours) libsane-something(.version).so >=20 > I'm pretty much confused by this stuff. Can we support all of these > versions? Why are there different approaches at all? This is part of a directory listing of my /usr/local/lib/sane directory: drwxr-xr-x 222 root wheel 7548 Nov 14 20:09 . drwxr-xr-x 50 root wheel 1700 Nov 14 20:09 .. -rwxr-xr-x 1 root wheel 45336 Nov 2 10:48 libsane-abaton.1.0.9.dylib lrwxr-xr-x 1 root wheel 26 Nov 14 20:09 libsane-abaton.1.dylib -> = libsane- abaton.1.0.9.dylib lrwxr-xr-x 1 root wheel 26 Nov 14 20:09 libsane-abaton.dylib -> li= bsane-ab aton.1.0.9.dylib lrwxr-xr-x 1 root wheel 22 Nov 14 20:09 libsane-abaton.dylib.1 -> = libsane- abaton.1.dylib -rwxr-xr-x 1 root wheel 792 Nov 2 10:48 libsane-abaton.la -rwxr-xr-x 1 root wheel 54528 Nov 2 10:48 libsane-agfafocus.1.0.9.dy= lib lrwxr-xr-x 1 root wheel 29 Nov 14 20:09 libsane-agfafocus.1.dylib = -> libsa ne-agfafocus.1.0.9.dylib lrwxr-xr-x 1 root wheel 29 Nov 14 20:09 libsane-agfafocus.dylib ->= libsane -agfafocus.1.0.9.dylib lrwxr-xr-x 1 root wheel 25 Nov 14 20:09 libsane-agfafocus.dylib.1 = -> libsa ne-agfafocus.1.dylib -rwxr-xr-x 1 root wheel 810 Nov 2 10:48 libsane-agfafocus.la =2E.. Your #2 is either the correct order of version and .dlib, or we have a four= th variant.=20 Is it possible that this dlcompat library is only required when the=20 library names do not have the correct format? Karl Heinz --=20 Karl Heinz Kremer [email protected] PGP Key at http://www.khk.net/download/khk.asc EPSON Sane Backend: http://www.khk.net --opJtzjQTFsWo+cga Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE953gDxejv3RfKrhsRAlVuAJsGfPGYSi4OhBArldd3T1DDHztJUACgvo7P JMA2Kb1v9gcSkrUvA50GWuU= =zPzP -----END PGP SIGNATURE----- --opJtzjQTFsWo+cga--
