{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaOpt/CoinOptServices.jl/issues/21","repository_url":"https://api.github.com/repos/JuliaOpt/CoinOptServices.jl","labels_url":"https://api.github.com/repos/JuliaOpt/CoinOptServices.jl/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/JuliaOpt/CoinOptServices.jl/issues/21/comments","events_url":"https://api.github.com/repos/JuliaOpt/CoinOptServices.jl/issues/21/events","html_url":"https://github.com/JuliaOpt/CoinOptServices.jl/issues/21","id":161586601,"number":21,"title":"Pkg.add(CoinOptServices) fails: Xubuntu 12.04","user":{"login":"samiit","id":7325254,"avatar_url":"https://avatars.githubusercontent.com/u/7325254?v=3","gravatar_id":"","url":"https://api.github.com/users/samiit","html_url":"https://github.com/samiit","followers_url":"https://api.github.com/users/samiit/followers","following_url":"https://api.github.com/users/samiit/following{/other_user}","gists_url":"https://api.github.com/users/samiit/gists{/gist_id}","starred_url":"https://api.github.com/users/samiit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samiit/subscriptions","organizations_url":"https://api.github.com/users/samiit/orgs","repos_url":"https://api.github.com/users/samiit/repos","events_url":"https://api.github.com/users/samiit/events{/privacy}","received_events_url":"https://api.github.com/users/samiit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-22T03:29:42Z","updated_at":"2016-08-07T02:12:08Z","closed_at":null,"body":"I tried to do \r\n\r\n`> Pkg.add(\"CoinOptServices\")`\r\n\r\nand I get errors saying the build is not done.\r\n`\r\n/usr/local/lib/libipopt.so: undefined reference to `dlopen'\r\n/usr/local/lib/libipopt.so: undefined reference to `dlclose'\r\n/usr/local/lib/libipopt.so: undefined reference to `dlerror'\r\n/usr/local/lib/libipopt.so: undefined reference to `dlsym'\r\ncollect2: error: ld returned 1 exit status\r\nmake[2]: *** [bonmin] Error 1\r\nmake[2]: Leaving directory `/home/sam/.julia/v0.4/CoinOptServices/deps/src/OS-2.9.2/build/Bonmin/src/Apps'\r\nmake[1]: *** [all-recursive] Error 1\r\nmake[1]: Leaving directory `/home/sam/.julia/v0.4/CoinOptServices/deps/src/OS-2.9.2/build/Bonmin'\r\nmake: *** [all-recursive] Error 1\r\n`\r\n\r\nI think it is because of a pre-installed Ipopt.\r\n\r\nFrom [this link](https://projects.coin-or.org/Ipopt/ticket/230), I found that I should configure with \r\n`LDFLAGS=\"-Wl,--no-as-needed\"` or with `--enable-dependency-linking`\r\nI checked the `build.jl` file in the folder `~/.julia/v0.4/CoinOptServices/deps/`. I'm not sure if I understand correctly, but I found the `--enable-dependency-linking` already there in the `setenv()`.\r\n\r\nAny help?\r\n\r\nSam"},"comment":{"url":"https://api.github.com/repos/JuliaOpt/CoinOptServices.jl/issues/comments/238059041","html_url":"https://github.com/JuliaOpt/CoinOptServices.jl/issues/21#issuecomment-238059041","issue_url":"https://api.github.com/repos/JuliaOpt/CoinOptServices.jl/issues/21","id":238059041,"user":{"login":"tkelman","id":5934628,"avatar_url":"https://avatars.githubusercontent.com/u/5934628?v=3","gravatar_id":"","url":"https://api.github.com/users/tkelman","html_url":"https://github.com/tkelman","followers_url":"https://api.github.com/users/tkelman/followers","following_url":"https://api.github.com/users/tkelman/following{/other_user}","gists_url":"https://api.github.com/users/tkelman/gists{/gist_id}","starred_url":"https://api.github.com/users/tkelman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkelman/subscriptions","organizations_url":"https://api.github.com/users/tkelman/orgs","repos_url":"https://api.github.com/users/tkelman/repos","events_url":"https://api.github.com/users/tkelman/events{/privacy}","received_events_url":"https://api.github.com/users/tkelman/received_events","type":"User","site_admin":false},"created_at":"2016-08-07T02:12:08Z","updated_at":"2016-08-07T02:12:08Z","body":"@staticfloat this issue was xubuntu, not mac?"}}
{"actor":{"display_login":"tkelman"}}