Linkage order in Linux

Mike Frysinger vapier@gentoo.org
Thu Feb 11 20:38:00 GMT 2010


On Wednesday 10 February 2010 04:21:40 michael kapelko wrote:
> Horde3D library links to shared GL library. But -lHorde3D must be
> listed *before* -lGL for any application to work correctly. If I link
> the application first to GL, and only then to Horde3D, then it merely
> segfaults when Horde3D's init calls glCreateShader, a GL library
> function.

make sure there arent any symbol clashes between the libs
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <https://sourceware.org/pipermail/binutils/attachments/20100211/2d6b5c4a/attachment.sig>


More information about the Binutils mailing list