Jump to content
TrinityCore

annarober

Plebs
  • Posts

    6
  • Joined

  • Last visited

Everything posted by annarober

  1. Apple Mach-O Linker (ld) Error Group clang: error: linker command failed with exit code 1 (use -v to see invocation) I found this error I have a linker issue when it is building the worldserver has anyone had this issue and resolved it? Thanks!
  2. I have tried that several times.. and when I compile with no SCRIPTS option it fails with the ld assertion error. I have even wiped everything out and downloaded everything again just to be sure I had what I needed to get this compiled.
  3. If I use this command for building my xcodebuild project it fails with the above error for ld Assertion Failed. cmake $TRINITY/repo -G "Xcode" -DMYSQL_ADD_INCLUDE_PATH=/usr/local/Cellar/mysql/5.7.12//include -DMYSQL_LIBRARY=/usr/local/Cellar/mysql/5.7.12/lib/libmysqlclient.dylib -DREADLINE_INCLUDE_DIR=/usr/local/Cellar/readline/6.3.8/include -DREADLINE_LIBRARY=/usr/local/Cellar/readline/6.3.8/lib/libreadline.dylib -DBOOST_INCLUDEDIR=/usr/local/Cellar/boost/1.60.0_2/include -DBOOST_LIBRARYDIR=/usr/local/Cellar/boost/1.60.0_2/lib -DOPENSSL_SSL_LIBRARIES=/usr/local/Cellar/openssl/1.0.2h_1/lib/libssl.dylib -DOPENSSL_CRYPTO_LIBRARIES=/usr/local/Cellar/openssl/1.0.2h_1/lib/libcrypto.dylib -DOPENSSL_INCLUDE_DIR=/usr/local/Cellar/openssl/1.0.2h_1/include -DCMAKE_INSTALL_PREFIX=$TRINITY -DWITH_WARNINGS=1 -DTOOLS=1 However if I add -DSCRIPTS=0 at the end it builds fine but then the TC commands do not work. I used homebrew to install the dependencies not sure what I might be doing wrong. I can bring up the database, along with the worldserver, I also patched the client but I can't create accounts to log in. Any help would be greatly appreciated.
  4. The last message I get when it fails is the following: 0 0x103fcb99e __assert_rtn + 144 1 0x104002207 archive::File<x86_64>::makeObjectFileForMember(archive::File<x86_64>::Entry const*) const + 1131 2 0x104001866 archive::File<x86_64>::justInTimeforEachAtom(char const*, ld::File::AtomHandler&) const + 112 3 0x104015b25 ld::tool::InputFiles::searchLibraries(char const*, bool, bool, bool, ld::File::AtomHandler&) const + 265 4 0x10401d763 ld::tool::Resolver::resolveUndefines() + 165 5 0x10401fdeb ld::tool::Resolver::resolve() + 75 6 0x103fcc7a7 main + 940 7 0x7fff8e5cc5ad start + 1 A linker snapshot was created at: /tmp/worldserver-2016-05-13-231951.ld-snapshot ld: Assertion failed: (memberIndex != 0), function makeObjectFileForMember, file /Library/Caches/com.apple.xbs/Sources/ld64/ld64-264.3.102/src/ld/parsers/archive_file.cpp, line 355. clang: error: linker command failed with exit code 1 (use -v to see invocation) ** BUILD FAILED ** The following build commands failed: Ld /Users/daverober4/WOW_Stuff/Trinity/build/src/server/worldserver/Debug/worldserver normal x86_64 (1 failure)
  5. Hello, I am having the same problem only using macOS I have recompiled several times and it still does not work. When I use the default for Cscripts I get an ld error. If I use Cscripts=0 it compiles but then there are no CLI commands, I must be missing something please help. Thanks
×
×
  • Create New...