Adam Warner wrote:
Hello again,

x86 Debian sid with the SDL libraries installed:

In runtime/parrot/library/SDL.imc I replaced the respective loadlibs with:

loadlib libsdl, 'libSDL-1.2.so.0'

That's not a general solution, as it makes explicit system-dependent assumptions on filenames.


I've added explicit symlinks - it looks like a debian problem (missing link to .so):

$ locate libSDL_image
/usr/lib/libSDL_image-1.2.so.0
/usr/lib/libSDL_image-1.2.so.0.1.2
/usr/lib/libSDL_image.so

$ ls -l $(locate libSDL_image.so)
...  /usr/lib/libSDL_image.so -> libSDL_image-1.2.so.0

(for all these libs)

And it worked! (w/warning: SDL::fetch_layout warning: layout 'Pixels' not found!)

Yep.

At this stage of development is parrot supposed to automatically locate
the shared libraries?

If they are named properly and are located in either runtime/parrot/dynext/ or in a location that the loader searches - yes.


Thanks,
Adam

leo



Reply via email to