Jump to content

Recommended Posts

Posted
Here goes the next problem while executing make:

libtool: link: g++ -DDO_MYSQL -g -O2 -Wl,-Bsymbolic-functions -rdynamic /usr/lib/ -o .libs/mangos-realmd AuthSocket.o Main.o RealmList.o  -L/root/mangos/objdir/dep/src/sockets -L/opt/mangos/lib ../../dep/ACE_wrappers/ace/.libs/libACE.so -lrt -ldl -L/usr/lib/mysql /usr/lib/libmysqlclient_r.so -lcrypt -lnsl -lm -lz ../shared/Database/libmangosdatabase.a ../shared/Config/libmangosconfig.a ../shared/Auth/libmangosauth.a ../shared/libmangosshared.a ../framework/libmangosframework.a ../../dep/src/sockets/libmangossockets.a -lpthread -pthread -Wl,-rpath -Wl,/opt/mangos/lib
/usr/bin/ld: /usr/lib/: No such file: File format not recognized
collect2: ld returned 1 exit status
make[3]: *** [mangos-realmd] Error 1
make[3]: Leaving directory `/root/mangos/objdir/src/realmd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/mangos/objdir/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/mangos/objdir'
make: *** [all] Error 2

Thanks in advance

Did you install build-essentials, i.e. sudo apt-get install build-essentials

  • 1 month later...
  • Replies 289
  • Created
  • Last Reply

Top Posters In This Topic

Posted

The instructions on the first post are out of date. URLs are old and missing.

This is really getting irritating.

Trying to read the entire thread to try to find the solution to one simple problem causes information overload.

Fix the main post.

Posted

I get an error like this:

./mangos-realmd: error while loading shared libraries: libACE-5.6.6.so: cannot open shared object file

when the file is infact in the main directory of my Mangos Server, are they suppose to be in a sub directory? (the lib files)

Posted

okay xD the directory listings are re-done but now I get this error:

./mangos-realmd: error while loading shared libraries: libACE-5.6.6.so: cannot open shared object file

is there anyway to... make it so they use shared object files?

when I do my list, the files it's talking about look weird...

mangos.jpg

Posted
okay xD the directory listings are re-done but now I get this error:

./mangos-realmd: error while loading shared libraries: libACE-5.6.6.so: cannot open shared object file

is there anyway to... make it so they use shared object files?

Maybe it's not it, but I see your libACE.so is red. In mine, it's a symlink to libACE-5.6.6.so, and red typically denotes that the link is broken. It may be the cause, but also it may be nothing. Here's my lib folder:

jellyb@momserv:~/momd313/r8526/lib$ ll
total 5.6M
-rwxr-xr-x 1 jellyb jellyb 2.3M 2009-09-22 00:30 libACE-5.6.6.so
-rwxr-xr-x 1 jellyb jellyb  970 2009-09-22 00:30 libACE.la
lrwxrwxrwx 1 jellyb jellyb   15 2009-09-22 00:30 libACE.so -> libACE-5.6.6.so
-rwxr-xr-x 1 jellyb jellyb 1007 2009-09-22 00:30 libmangosscript.la
lrwxrwxrwx 1 jellyb jellyb   24 2009-09-22 00:30 libmangosscript.so -> libmangosscript.so.0.0.0
lrwxrwxrwx 1 jellyb jellyb   24 2009-09-22 00:30 libmangosscript.so.0 -> libmangosscript.so.0.0.0
-rwxr-xr-x 1 jellyb jellyb 3.4M 2009-09-22 00:30 libmangosscript.so.0.0.0

Posted

Try this in your lib directory.

rm libmangosscript.so
rm libmangosscript.so.0
rm libACE.so

chmod 0777 *

ln -s libmangosscript.so.0.0.0 libmangosscript.so
ln -s libmangosscript.so.0.0.0 libmangosscript.so.0
ln -s libACE-5.6.6.so libACE.so

That should set and recreate the sym links.

Posted

I'm waiting on a title change, if your going to compile for OS X that is the only thing different ( past installing the MySQL server ) you must do. Past that you can follow the tutorial.

Posted

Yeah I've not been successful to install on either system. Every method is exactly followed but resulted by errors which seem to literally never be able to be fixed, even when you start over.

I had to install a fresh Ubuntu because mine kept saying openssl wasn't installed when it was, even when I reinstalled it and restarted several times. The new install always gives me some

autoreconf: `configure.ac' or `configure.in' is required

error.

Then the guide for Mac must need to be updated because it doesn't even teach you how to get the install-sh file which I had to find myself, then to only receive another error about cannot access a file even when you sudo the command. Then chmod that to 777 you get all these massive new compile errors which look completely unfix-able.

Edit:

http://getmangos.eu/wiki/Compile_MaNGOS_On_Mac_OS_X -- followed that guide.

Posted

autoreconf: `configure.ac' or `configure.in' is required

Is due to you not being in the proper directory when you run the autoreconf command.

On the OS X note, that's strange because it complies fine for me with extra mac patches or any install files.

The reason why it fails the OpenSSL check is because you have an old revision (If you check the git logs, they had to rollback some files, and i think there was an error with the ACE library, not 100% sure). I just ran the whole process from start to finish on an 8.04 Ubuntu Server install (VPS since its convenient), and it worked fine.

Here is the bash log of me getting everything and running the ./configure successfully.

http://bphelpsen.pastebin.com/f2bbdcdcd

@yip328 Thanks :) It's nice to be back. This time I come with C++ knowledge.

Posted

Alright cool, I cleaned up the files and folders created by the "autoreconf --install --force" and reran the script on another installation of Ubuntu, this time 8.10 instead of 9.10 and it's gone through fine and compiling now.

Also, in mangos-0.12 does the ScriptDev2 patch need to be applied because not only does it not work, it seems to not even have that information in the Makefile.am to patch by hand...

For OS X, are you on Snow Leopard?

Posted

Yes, they have development still on 0.12 (mostly keeping it synced). I applied the SD2 patch by hand so it knows to compile with SD2. Unfortunately it's not detecting the Makefile or something (even though it is there). I keep getting the error when configuring:

config.status: creating src/mangosd/mangosd.conf.dist

config.status: creating src/bindings/Makefile

.infig.status: error: cannot find input file: src/bindings/ScriptDev2/Makefile

Posted

Okay, I got almost all the way done. I started mangos.realmd and no problems. But when I started mangos.worldd it does some stuff that looks like it is working then it ends with this:

Check existing of map file 'opt/mangos/data/maps/0004331.map': not exist!

Correct *.map files not found in path 'opt/mangos/data/maps' or *.vmap/*vmdir files in 'opt/mangos/data/vmaps'. Please place *.map/*.vmap/*.vmdir files in appropriate directories or correct the DataDir value in the mangosd.conf file.

In the mangosd.conf file I have the DataDir = "opt/mangos/data/"

Does anyone have any ideas?

Posted

Now I get these:

Some required *.dbc files (6 from 80) not found or not compatible:

/opt/mangos/data/dbc/ItemExtendedCost.dbc (exist, but have 15 fields instead 16) Wrong client version DBC file?

/opt/mangos/data/dbc/Map.dbc (exist, but have 118 fields instead 65) Wrong client version DBC file?

/opt/mangos/data/dbc/MapDifficulty.dbc

/opt/mangos/data/dbc/ScalingStatValues.dbc (exist, but have 19 fields instead 24) Wrong client version DBC file?

/opt/mangos/data/dbc/Spell.dbc (exist, but have 232 fields instead 239) Wrong client version DBC file?

/opt/mangos/data/dbc/WorldMapArea.dbc (exist, but have 10 fields instead 11) Wrong client version DBC file?

I am guessing I used the wrong version of something.

Any ideas or any help would be great.

Thanks,

Joseph

Posted

I ask advice, set everything, that is needed, but during configuration error on OpenSSL

after disconnecting of verification in source codes - ok.

Debian last

mangos 8803-8807

×
×
  • 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