|
This is more a report than anything else. I could not find any help on this online and so I thought I should put the solution out there for others.
I am working on a project that uses the OpenMaya libraries in another program (as opposed to writing a Maya plugin). I am working on a Linux x86-64 and using the 64bit version of Maya 2008. I was getting the following error when I build my program:
/usr/bin/ld: skipping incompatible /usr/autodesk/maya/lib/libOpenMayalib.a when searching for -lOpenMayalib
/usr/bin/ld: cannot find -lOpenMayalib
collect2: ld returned 1 exit status
I eventually found that the mayald script was adding “-m32” to the linker command-line (this argument makes the linker link 32bit binaries even on the 64bit system). Obviously that is incorrect because the system is running 64bit linux and using the 64bit Maya packages. It turns out that the mayald script was using an unreliable test to detect that the system way 64bit and that test was failing on my system (Ubuntu Feisty).
Fixing the script was easy and I have attached the fixed version.
If anyone knows how to report bugs to AutoDesk please tell me. Because I think this would be worth reporting because although it only affects a small number of people it is very easy to fix.
-Arthur
|
|
|
|
main menu.......help-Report a Problem
|
|
|
|
dude you are awesome… this problem has been killing me for the past few days… wow thanks a lot for the fix!
Maya 2008/2009
Fedora Core 10 x86_64
Win XP Pro 32
Intel Core2 Extreme Q6850
4GB DDR2 RAM
NVIDIA GEFORCE 8800 GTX
|
|
|