Jump to content

mangos-0.12 doesn't run on linux


Recommended Posts

Posted

Hello all.

I have built mangos-0.12 on ubuntu without errors, but when I am going to run it gets the error:

./mangos-worldd: error while loading shared libraries: /opt/mangos-bc/lib/libmangosscript.so.0: cannot read file data: Error 21

"/opt/mangos-bc/lib/libmangosscript.so.0" is existing directory with `libmangosscript.so.0` file. I have tried chmod, but nothing happens.

Anyone has any idea?

Posted

what flag has the libmangosscript ?

maybe you need to chown the script file to the right user?

and it should be readable and executeable for your mangos user

ls -lah of your lib folder would be nice

Posted
what flag has the libmangosscript ?

maybe you need to chown the script file to the right user?

and it should be readable and executeable for your mangos user

ls -lah of your lib folder would be nice

I've already tried chown -R / chmod -R 777, ran with sudo, but it does not help...

ls -lah
total 11M
drwxrwxrwx 5 fedr admins 4,0K 2010-09-27 13:03 .
drwxr-xr-x 5 fedr root     36 2010-09-27 13:03 ..
-rwxrwxrwx 1 fedr admins  11M 2010-09-27 13:03 libACE-5.6.6.so
-rwxrwxrwx 1 fedr admins  822 2010-09-27 13:03 libACE.la
drwxrwxrwx 2 fedr admins   22 2010-09-27 13:03 libACE.so
-rwxrwxrwx 1 fedr admins  868 2010-09-27 13:03 libmangosscript.la
drwxrwxrwx 2 fedr admins   31 2010-09-27 13:03 libmangosscript.so
drwxrwxrwx 2 fedr admins   33 2010-09-27 13:04 libmangosscript.so.0
-rwxrwxrwx 1 fedr admins 402K 2010-09-27 13:03 libmangosscript.so.0.0.0
-rwxrwxrwx 1 fedr admins   32 2010-09-27 13:03 libtbbmalloc_proxy.so
-rwxrwxrwx 1 fedr admins  12K 2010-09-27 13:03 libtbbmalloc_proxy.so.2
-rwxrwxrwx 1 fedr admins   26 2010-09-27 13:03 libtbbmalloc.so
-rwxrwxrwx 1 fedr admins  41K 2010-09-27 13:03 libtbbmalloc.so.2
-rwxrwxrwx 1 fedr admins   20 2010-09-27 13:03 libtbb.so
-rwxrwxrwx 1 fedr admins 174K 2010-09-27 13:03 libtbb.so.2

Posted

Solved.

When I copied libs to another place some of them were changes type from 'shared libraries link' to directory o_O

Now I've transfered libs in archive and it works well.

// sorry for my english ^^

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use