-
Notifications
You must be signed in to change notification settings - Fork 4
Pkg.add(CoinOptServices) fails: Xubuntu 12.04 #21
Comments
You're trying to use the system packages for ipopt which were certainly nonfunctional in 2012. Can you uninstall them? Otherwise I'll need to come up with a validation function that your library would not pass. |
EDITMy brain was fuzzled, ignore everything in this post, it assumes you're using You could attempt to force Homebrew.jl to override your system-wide
Then check the
If the It would be nice to have a validation function that can do all this automatically though. It's hard to see from your report what exactly is failing, I'm not sure why we're trying to resolve On a side note, where did that |
@staticfloat this issue was xubuntu, not mac? |
libipopt uses dlopen if it's built with the linear solver loader functionality. I have no idea how debbuntu were building ipopt in 2012 but I do know their builds didn't actually work until several years later, so I'd be surprised if anything else needed the system wide ipopt install. Uninstalling it should be safe. |
I tried to do
> Pkg.add("CoinOptServices")
and I get errors saying the build is not done.
/usr/local/lib/libipopt.so: undefined reference to
dlopen'/usr/local/lib/libipopt.so: undefined reference to
dlclose' /usr/local/lib/libipopt.so: undefined reference to
dlerror'/usr/local/lib/libipopt.so: undefined reference to
dlsym' collect2: error: ld returned 1 exit status make[2]: *** [bonmin] Error 1 make[2]: Leaving directory
/home/sam/.julia/v0.4/CoinOptServices/deps/src/OS-2.9.2/build/Bonmin/src/Apps'make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
/home/sam/.julia/v0.4/CoinOptServices/deps/src/OS-2.9.2/build/Bonmin' make: *** [all-recursive] Error 1
I think it is because of a pre-installed Ipopt.
From this link, I found that I should configure with
LDFLAGS="-Wl,--no-as-needed"
or with--enable-dependency-linking
I 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 thesetenv()
.Any help?
Sam
The text was updated successfully, but these errors were encountered: