I've got 32-bit libs building on 64-bit Ubuntu and Fedora. But I've found a weird problem.

On Fedora 22, for example, Mesa's make install creates a /usr/lib/libGL.la file which contains the line:

dependency_libs=' -L/usr/lib -lexpat -L/usr/lib64 /usr/lib64/libglapi.la -lXext -lXdamage -lXfixes -lX11-xcb -lX11 -lxcb-glx -lxcb-dri2 -lxcb -lXxf86vm /usr/lib/libdrm.la -ludev -lm -lpthread -ldl'

Note the -L/usr/lib/64 and /usr/lib64/libglapi.la parts.

When I try to build 32-bit Mesa demos, libtools finds this libGL.la file and tries to link the 32-bit glxgears.o (for example) with /usr/lib64/libglapi.so. That fails, of course.

Removing the /usr/lib/libGL.la file is a work-around but I'm interested in finding a better solution.

-Brian
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to