/
Opensource library conflicts

Opensource library conflicts

The more opensource libraries you use the more this becomes an issue. For instance libiconv actually ships as part of Linux so if you compile your own copy you run into problems.

Another example is Python which has a module based on the Perl Compatible Regular Expression library - pcre.

How do you solve these? Sigh.

Use as little third party code as possible.

If you do then one trick is change the prefixes of the API to make it not conflict with other instances. Alas the idea of name spaces for C/C++ libraries isn’t widely understood.

Related content

How do we help our customers when the interface of a library changes to a new incompatible one?
How do we help our customers when the interface of a library changes to a new incompatible one?
More like this
Autoconf(iscate)
Autoconf(iscate)
More like this
Another way for prefix name space clashes
Another way for prefix name space clashes
More like this
What is binary API compatibility?
What is binary API compatibility?
More like this
Use randomly generated GUIDs for defensive includes
Use randomly generated GUIDs for defensive includes
More like this
Have a convention to make a unique identifier based on the file name for defensive includes
Have a convention to make a unique identifier based on the file name for defensive includes
More like this