Comments on: Our new way to meet the LGPL/2009/02/08/our-new-way-to-meet-the-lgpl/ Commercial gaming for Linux Fri, 09 Nov 2012 18:53:38 +0000 http://wordpress.org/?v=2.8.4 hourly 1 By: Glyph Lefkowitz/2009/02/08/our-new-way-to-meet-the-lgpl/comment-page-1/#comment-435 Glyph Lefkowitz Mon, 29 Jun 2009 05:14:38 +0000 /?p=39#comment-435 I think you're confusing "it happens to work everywhere" with "it is supported everywhere". POSIX sh syntax is supported everywhere. If you ever discover a distro that has a non-POSIX /bin/sh, and report it as a bug, they will treat it seriously and fix it. $ORIGIN is a non-standard feature of GNU ld. Granted, given that it's documented, it will probably work everywhere forever anyway, but it's more likely that a weird distro will switch to a different linker with slightly different rules, than switch to a standards-violating shell. I think you’re confusing “it happens to work everywhere” with “it is supported everywhere”.

POSIX sh syntax is supported everywhere. If you ever discover a distro that has a non-POSIX /bin/sh, and report it as a bug, they will treat it seriously and fix it. $ORIGIN is a non-standard feature of GNU ld.

Granted, given that it’s documented, it will probably work everywhere forever anyway, but it’s more likely that a weird distro will switch to a different linker with slightly different rules, than switch to a standards-violating shell.

]]>
By: Kyle/2009/02/08/our-new-way-to-meet-the-lgpl/comment-page-1/#comment-432 Kyle Sat, 27 Jun 2009 23:22:54 +0000 /?p=39#comment-432 $ORIGIN or ${ORIGIN} is documented in the man page for ld.so(8) and referenced in the man page for ld(1) $ORIGIN or ${ORIGIN} is documented in the man page for ld.so(8) and referenced in the man page for ld(1)

]]>
By: lars/2009/02/08/our-new-way-to-meet-the-lgpl/comment-page-1/#comment-431 lars Sat, 27 Jun 2009 20:35:12 +0000 /?p=39#comment-431 I just found out about $ORIGIN recently too, and was just as excited as you are. $ORIGIN is indeed in the man pages for ld and, more importantly, ld.so (there's a copy here: http://www.kernel.org/doc/man-pages/online/pages/man8/ld.so.8.html). The explanation there shows that this is an explicitly supported feature. I just found out about $ORIGIN recently too, and was just as excited as you are.

$ORIGIN is indeed in the man pages for ld and, more importantly, ld.so (there’s a copy here: http://www.kernel.org/doc/man-pages/online/pages/man8/ld.so.8.html). The explanation there shows that this is an explicitly supported feature.

]]>
By: Michael Simms (CEO and head of Development)/2009/02/08/our-new-way-to-meet-the-lgpl/comment-page-1/#comment-429 Michael Simms (CEO and head of Development) Sat, 27 Jun 2009 18:23:30 +0000 /?p=39#comment-429 Yeah, its not documented but its supported everywhere, we ship to people that use just aboit every linux distro under the sun, and they all work. Yeah, its not documented but its supported everywhere, we ship to people that use just aboit every linux distro under the sun, and they all work.

]]>
By: mark/2009/02/08/our-new-way-to-meet-the-lgpl/comment-page-1/#comment-428 mark Sat, 27 Jun 2009 12:11:57 +0000 /?p=39#comment-428 Still trying to understand but I do have one question - why is this not documented when it quite obviously is useful? Still trying to understand but I do have one question – why is this not documented when it quite obviously is useful?

]]>
By: florb/2009/02/08/our-new-way-to-meet-the-lgpl/comment-page-1/#comment-427 florb Sat, 27 Jun 2009 11:55:11 +0000 /?p=39#comment-427 /bin/sh is required to be a posix compliant shell on linux nowadays though. If $ORIGIN isn't even mentioned in the manual, can you rely on it? (I don't know, maybe it's in the ELF standard or something). /bin/sh is required to be a posix compliant shell on linux nowadays though.

If $ORIGIN isn’t even mentioned in the manual, can you rely on it? (I don’t know, maybe it’s in the ELF standard or something).

]]>
By: Michael Simms (CEO and head of Development)/2009/02/08/our-new-way-to-meet-the-lgpl/comment-page-1/#comment-151 Michael Simms (CEO and head of Development) Tue, 31 Mar 2009 00:18:11 +0000 /?p=39#comment-151 Ideally replace libraries in /lib/lib1 to use different libraries. Symlinking would work. Ideally replace libraries in /lib/lib1 to use different libraries. Symlinking would work.

]]>
By: Alan Swanson/2009/02/08/our-new-way-to-meet-the-lgpl/comment-page-1/#comment-149 Alan Swanson Mon, 30 Mar 2009 13:03:43 +0000 /?p=39#comment-149 I assume this takes precedence over system libraries in which case you would need to rename the "lib" directory in the game directory to something else "lib.disabled" or similar. I assume this takes precedence over system libraries in which case you would need to rename the “lib” directory in the game directory to something else “lib.disabled” or similar.

]]>
By: Troy Hepfner/2009/02/08/our-new-way-to-meet-the-lgpl/comment-page-1/#comment-63 Troy Hepfner Sat, 21 Feb 2009 17:12:05 +0000 /?p=39#comment-63 Thanks for sharing this. Binary compatibility across distributions has always been a nightmare for commercial developers. I wrote about this in a series of articles on gamedev.net, and shared some great tips given me by Gerry Jo Jellestad for achieving binary compatibility. This could be a good alternative to using a startup script to set the LD_LIBRARY_PATH and run the game. I'll have to experiment with this a bit, and perhaps update my articles. Troy Hepfner My Game Company Thanks for sharing this. Binary compatibility across distributions has always been a nightmare for commercial developers. I wrote about this in a series of articles on gamedev.net, and shared some great tips given me by Gerry Jo Jellestad for achieving binary compatibility. This could be a good alternative to using a startup script to set the LD_LIBRARY_PATH and run the game. I’ll have to experiment with this a bit, and perhaps update my articles.

Troy Hepfner
My Game Company

]]>
By: GBGames/2009/02/08/our-new-way-to-meet-the-lgpl/comment-page-1/#comment-59 GBGames Wed, 18 Feb 2009 17:32:24 +0000 /?p=39#comment-59 Wow, thanks for posting this! I know I was struggling with this issue when I released my game. Wow, thanks for posting this! I know I was struggling with this issue when I released my game.

]]>