-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Dec 9, 2005, at 12:26 AM, chromatic wrote:

Can a standard search path (e.g., DarwinPorts typical /opt/local/lib)
be included in parrots compile, or do I need to pass something to the
parrot interpreter at runtime?

As I read the code, this all happens at runtime (see
runtime/parrot/library/SDL.imc) -- the loadlib op there (eventually)
calls dlopen() on your platform.

Whatever you have to do on Mac OS X to identify paths to dynamically
loadable libraries, you probably have to do that. If I were to guess, I
would check the value of the LD_LIBRARY_PATH environment variable.

I think the problem is the weird distinction Mac OS X (Mach Kernel) makes between shared libraries and dynamic modules. I have the shared library (*.dylib)
and the static libraries, but no "loadable" *.so modules.

So this may just be an SDL install problem.

It could be that Parrot doesn't add the '.dylib' extension where it
should, but my first guess is to see if dlopen() can find the library
appropriately.

Can you think of any other loadable modules that Parrot builds by
default -- something that should be in a known state after a
successful build?  ICU or something perhaps?  That would allow
me to see if this is a problem across all module loads, or just
something unique to my install of SDL.

Thanks,

- -Brent

P.S.  Congratulations on your new book.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Darwin)

iD8DBQFDm7ljzGDdrzfvUpURAoh6AJ9mtfTvi0bP4GKGvyaxHbYMUmqlQACfTria
co5EL8nWZyr9f7VHHF1VlSg=
=jwxF
-----END PGP SIGNATURE-----

Reply via email to