Re: [AD] Question about shared object loading in Linux

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2006-03-18, Kirk Black <runesabre@xxxxxxxxxx> wrote:
> If I were to build an allegro shared object in Linux with every available
> video and sound option and then distribute that shared object to another
> Linux machine that is missing some of those shared objects, will my
> application fail or will Allegro simply ignore any shared object it can't
> load?
> 
> For instance, suppose I build my Linux allegro shared object with jack sound
> and vbeaf video support along with all other video and sound options.  Will
> my application using my allegro shared object run properly on another Linux
> system that doesn't have jack or vbeaf installed (but does have the standard
> X windows video and ALSA sound installed)?  Or will it fail to execute
> complaining that certain drivers are missing?

If you don't use Allegro modules, then it won't load at all.  If you use
Allegro modules then the modules which don't load will be ignored.
Allegro modules are the things called alleg-*.so in /usr/lib/allegro/4.2.

Peter





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/