Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to build on RHEL 6.3 #17

Open
map2085 opened this issue Aug 18, 2015 · 1 comment
Open

unable to build on RHEL 6.3 #17

map2085 opened this issue Aug 18, 2015 · 1 comment

Comments

@map2085
Copy link

map2085 commented Aug 18, 2015

During the linking stage, MOSAIK fails to build when trying to link the zlib library:

  • Building in MosaikBuild
    • compiling BuildMain.cpp
    • compiling MosaikBuild.cpp
    • linking MosaikBuild
      /usr/bin/ld: cannot find -lz
      collect2: error: ld returned 1 exit status
      make[1]: *** [MosaikBuild] Error 1
      make: *** [all] Error 1
@messersc
Copy link

Make sure that you remove "-static" from includes/linux.inc

This should work:

# define our processor specific flags
export PLATFORM_FLAGS = -D_FILE_OFFSET_BITS=64
#export PLATFORM_FLAGS = -D_FILE_OFFSET_BITS=64 -static 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants