Maya4.5 / Loading errors

A quick msg before I'm off, after reconfiguring my setup with maya4.5 unlimited, I'm unable to actually load the new version.

/usr/aw/maya4.5/bin/maya.bin: relocation error: /usr/aw/maya4.5/lib/libTranslators.so: undefined symbol: __dynamic_cast_2

I'm running a Debian dist and everything should be setup properly. Any feedback is welcome, later tonight I will work on this more and post any progress I make on this. A big question for me is, distribution problem? I'm sure people running Red Hat 7.2 (ughh :confused: ) probably have been running 4.5 fine, any other linux users out there with distribution reports?

Agentex

Here ya go - tested working in Debian 3.0 (woody):

If this error:
/usr/aw/maya4.5/bin/maya.bin: relocation error: /usr/aw/maya4.5/lib/libTranslators.so: undefined symbol: __dynamic_cast_2

Then:
extract: libstdc++-3-libc6.2-2-2.10.0.so and the symlink from
libstdc++-2.96-98.i386.rpm >
/usr/aw/maya/lib
(NOTE that RedHat 7.2 CD1 has this rpm).

Start maya.

wow, i just came back to this and tried to get it to work again, and then came back hoping for a responce and there one was! thanks alot man, btw, where did you find this info out?

thx!

where did you find this info out?

on my own

ldd /usr/aw/maya/bin/maya.bin
(this will show which libs it depends on), I figured why not feed it some RH7.2 libs since thats what its built for... and it worked

just be glad your error was not a SIGNAL 11, this could be more complicated.

Im on Debian Sid and found that just installing that .so to /usr/aw/maya4.5/lib was not enough.

So I patched the Maya loading script using LD_PRELOAD to force it to load the Redhat(e) library.

My fix can be found here.

I posted it to the AW forums about 2 weeks ago.. there have been over 100 hits and no comments. that place is dead.

Hi, i've downloaded your attachment but there's nothing in the bin subdir.
Could you repost it?
I'm new on linux and it's not so clear the way to fix the problem
Tnx, a lot

Hi,
i have the same problem as above, only im running Slackware8.1 and i cant make maya run on this distro.

i tried the lib method and sym link, and didnt work, so if anyone have maya4.5 running on slackware, please tell me what to do. coz i dont wanna use redhat

thnx , morrowyn

Don't worry
I still can't use it even on RH8

if you can't get 4.5 to run on redhat 8 you've done something seriously wrong.
all that takes is a changing of window managers
when things slow down here I'll install it on a slack system and see what headaches I get; right now looking at gentoo.

Gentoo?

Just wondering

Anyways, some basic tips to help you guys figure your problems out. I'm not a master but my brother is extremely fluent (he fixes most of my problems) but I can throw some pointers.

nm - command to list the symbols of a library
gdb - ./Maya4.5 -d then run gdb, debugs, then you can use backtrace (bt) to look at what was happening (only if maya crashes during the debug)
ldd - do it on a .so to see what other libraries it wants
strace - outputs the system calls the program makes so you can see where it is crashing (can't run it on scripts)

Also, has anybody had any luck getting liquid running in linux, we've made it far but the ... guest what .. dynamic_cast_2 from stdcc++6.0, the one we've used from the RH dist, can't be located when compiling liquid.

Cya, Christian

gentoo is another linux distro
liquid was likely built on a 7.2 box. I'd recommend trying it there first to be honest.
either that; or edit the makefile; as just because the maya bin is looking for the symbol in the correct place; does not nessasarily mean that the liquid shared object will.
you could also try building liquid statically
the binary will be larger; but it won't depend on an external lib for its symbol information.