Jump to content

Building on CentOS7, build fail(cannot find -lACE)


nalok

Recommended Posts

Posted

Running into an issue when I try to build. I am following this guide:

Noticed when it was grabbing packages like ACE and what not from .de, it would fail and skip. However, the install would push forward. I am assuming it found what it needed, but it gave more errors.

Then I followed this guide:

Finally, was able to get the build up to 97%, but it fails with finding -lACE. Does anyone have any tips?

 

Scanning dependencies of target mangosd
[ 97%] Building CXX object src/mangosd/CMakeFiles/mangosd.dir/AFThread.cpp.o
[ 97%] Building CXX object src/mangosd/CMakeFiles/mangosd.dir/CliThread.cpp.o
[ 97%] Building CXX object src/mangosd/CMakeFiles/mangosd.dir/RAThread.cpp.o
[ 97%] Building CXX object src/mangosd/CMakeFiles/mangosd.dir/WorldThread.cpp.o
[ 97%] Building CXX object src/mangosd/CMakeFiles/mangosd.dir/mangosd.cpp.o
[ 97%] Linking CXX executable mangosd
/bin/ld: cannot find -lACE
collect2: error: ld returned 1 exit status
make[2]: *** [src/mangosd/mangosd] Error 1
make[1]: *** [src/mangosd/CMakeFiles/mangosd.dir/all] Error 2
make: *** [all] Error 2
There was an error building MaNGOS!

 

Posted

All these issues comes from a wrong advice given in the mentioned install tutorial. All versions of MaNGOS have their own ACE integrated in the source code, so you don't need to mess with downloading and installing ACE separately. The guide says "Use External ACE libraries. Allows you to use the ACE libraries coming from your system. Untoggle this option only if you know what you are doing. " But this should read "Untoggle this option UNLESS you know what you're doing".

So, the solution is to clear everything, and repeat the install and build process, BUT WITHOUT EXTERNAL ACE. You'll be amazed how smooth it'll compile and install.

Archived

This topic is now archived and is closed to further replies.

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