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

Installing odb + a libodb-* package installs libodb twice #1

Open
Max13 opened this issue Mar 23, 2015 · 0 comments
Open

Installing odb + a libodb-* package installs libodb twice #1

Max13 opened this issue Mar 23, 2015 · 0 comments

Comments

@Max13
Copy link
Owner

Max13 commented Mar 23, 2015

odb depends on libodb (no option needed), so installing odb will first install libodb without option (linked to the default C++ standard library depending on your OS X version).

Let's take libodb-sqlite: It depends on libodb but specifying a build option. Depending on something already installed with a different build option results in reinstalling it with the specified options.

To summarize, if you want to install odb and it's libodbs, you need to specify libodb at first and the right build option at the end, to make sure homebrew will install libodb once with the right options.

Example, you want to install odb + libodb-sqlite and use the Apple's libstdc++. If you do this:

% brew install odb libodb-sqlite --with-libstdc++

You'll see libodb installing because it's an odb dependency, then odb, then libodb again because build options are specified by libodb-sqlite (taken from the command line --with-* option)

For now, you should do:

% brew install libodb odb libodb-sqlite --with-libstdc++
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

1 participant