Re: [AD] 5.0 and 5.2 on the same system

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


On Wed, Dec 12, 2012 at 9:17 AM, Peter Wang <novalazy@xxxxxxxxxx> wrote:
>
> "It doesn't work" seems like a pretty good reason.
>
> If you passed -lallegro-5.0 on the command-line then the linker
> won't find anything because our files are NOT named liballegro-5.0.*
> but
>
>     liballegro.so -> liballegro.so.5.0
>     liballegro.so.5.0 -> liballegro.so.5.0.8
>     liballegro.so.5.0.8
>
> You would need pass the full path directly instead of using the -l option.
> Possible but a bit unconventional.
>

I see. Still, it means under Linux the current situation neither works
well for having both 5.0 and 5.2 installed (I suppose it works if one
is in /usr and the other in /usr/local as pkg-config will output
different -I and -L options). Nor does it work well for the case where
we want a completely transparent upgrade from 5.0 to 5.2 (we'd have to
keep the -5.0 name in 5.2 otherwise users would have to change the
package name).




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