On Fri, 2005-12-09 at 00:08 -0800, Brent Fulgham wrote:

> Do I need to pass compiler options to get SDL support?  When I try to  
> use the tests in the examples directory, it can't seem to find my SDL  
> libraries and so forth.
> 
> 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.

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.

-- c

Reply via email to