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

osmium_index fails with linker error on osx #20

Closed
tmcw opened this issue Oct 30, 2013 · 0 comments
Closed

osmium_index fails with linker error on osx #20

tmcw opened this issue Oct 30, 2013 · 0 comments

Comments

@tmcw
Copy link

tmcw commented Oct 30, 2013

c++ -O3 -std=c++11 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../include -stdlib=libc++ -Wall -Wextra -pedantic -Wredundant-decls -Wdisabled-optimization -Wctor-dtor-privacy -Wnon-virtual-dtor -Woverloaded-virtual -Wsign-promo -Wold-style-cast -o osmium_index osmium_index.cpp -stdlib=libc++ -Wl,-Bstatic -lboost_program_options -Wl,-Bdynamic
ld: unknown option: -Bstatic
clang: error: linker command failed with exit code 1 (use -v to see invocation)

with c++:

examples➟ c++ -v
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix
@joto joto closed this as completed in f8543ca Oct 30, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant