incompatible libruby-static.a using mkmf in bitnami stack

incompatible libruby-static.a using mkmf in bitnami stack

Post by Ben Pelleg » Fri, 26 Nov 2010 23:27:16


Im trying to install ruby-oci8 on Red hat and having difficulty getting
the make command to run on the unpacked gem.

The output from mkmf.log is below - I think the key part is 'skipping
incompatible .. libruby-static.a'

The operating system is 64 bit the ruby install is 32 bit, Im not sure
if this could be causing the problem. The whole system is running as a
Bitnami stack so Im not sure if / how I can modify it.

Any help gratefully received !!!

Many thanks

"gcc -o conftest -I.
-I/appl/apache/dev/development/ruby/lib/ruby/1.8/i686-linux -I.
-DAI_ADDRCONFIG=0 -I/appl/apache/dev/development/common/include -D_FILE
-I/appl/apache/dev/development/common/include conftest.c -L.
he/dev/development/ruby/lib -Wl,-R/appl/apache/dev/development/ruby/lib
-L. -L/appl/apache/dev/development/common/lib -rdynamic
-Wl,-export-dynamic -lrub
y-static -lpthread -lrt -ldl -lcrypt -lm -lc"
/usr/bin/ld: skipping incompatible
/appl/apache/dev/development/ruby/lib/libruby-static.a when searching
for -lruby-static
/usr/bin/ld: cannot find -lruby-static
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int main() { return 0; }
/* end */

Ruby is installed as part of the Bitnami stack
ruby version :

Posted via

1. [News] Bitnami Adds More Stacks to CMSs, the Power of Participation Explained

2. Vista: Incompatible, Incompatible, Incompatible...


Microsoft releases list of verified Vista applications
But some notable apps are conspicuously missing
Eric Lai
February 21, 2007

*** How interesting. Microsoft are about to go head-to-head with
Adobe products and it turns how that Adobe products are NOT Vista
compatible. How convenient.

*** $10,000 per application. Folks, what do you think would
happen if Apple pulled a stunt like this? Total outrage from
developers! That's what!

Conclusion: I don't want to hear from any trolls about how great
Microsoft is at backwards compatibility!

The fact is that Microsoft have an INCENTIVE to make Windows
INCOMPATIBLE with older software. Why? $10,000 per application to
become 'certified for Windows Vista.' The more applications
broken by Vista, the more $$$$$ MS can rake in for basically
doing a piss-poor job writing their own operating system.

And people put up with this crap from Microsoft because why?


Fortune Magazine 11-29-05: What's your computer setup today?
Frederick Brooks: I happily use a Macintosh. It's not been
equalled for ease of use, and I want my computer to be a tool,
not a challenge.
[Frederick Brooks is the author of 'The Mythical Man Month'.
He spearheaded the movement to modernize computer software
engineering in 1975.]

3. [News] Microsoft-incompatible Car -- Tomorrow's Lock-ins?

4. Can I get native code add-ins when I development the add-ins using C#?

5. Is the BT protocol stacks of MS completey incompatible with Widcom

6. Bluetooth Stack (Toshiba) incompatible with Vista

7. using "if" but omitting the #n/a's

8. Printing report b after report a prints using report a's variables

9. [Mac OS X] WARNING: multiple libruby.dylib

10. Dialog Base Class using static member afx message functions and static member variable

11. Static Events Used By Static Classes

12. Announcing libruby-ntlm

13. using a static library from a static library

14. libruby-nntp doesn't exist any more ?

15. Any sense in using private static final for non-static classes?