Comments (17)
What version of OS X are you on?
Try Pkg.update()
also, the latest version of Ipopt.jl is 0.1.1, while it seems you've installed 0.0.0.
from ipopt.jl.
I am using OS X 10.9.2. Pkg.update() gives (deleting irrelevant output)
INFO: Upgrading Ipopt: v0.0.0 => v0.1.1
INFO: Building Ipopt
================================[ ERROR: Ipopt ]================================
Provider PackageManager failed to satisfy dependency libipopt
at /Users/jtfox/.julia/v0.2/Ipopt/deps/build.jl:81
On Tue, May 6, 2014 at 7:29 PM, Miles Lubin [email protected] wrote:
What version of OS X are you on?
Try Pkg.update() also, the latest version of Ipopt.jl is 0.1.1, while it seems you've installed 0.0.0.
—
Reply to this email directly or view it on GitHub.
from ipopt.jl.
Try this in Julia and let us know the output:
dlopen("/Users/jtfox/.julia/v0.2/Homebrew/deps/usr/lib/libipopt")
from ipopt.jl.
In Julia 0.2.1,
_julia> _dlopen("/Users/jtfox/.julia/v0.2/Homebrew/deps/usr/lib/libipopt")
ERROR: could not load module
/Users/jtfox/.julia/v0.2/Homebrew/deps/usr/lib/libipopt:
dlopen(/Users/jtfox/.julia/v0.2/Homebrew/deps/usr/lib/libipopt.dylib, 1):
Library not loaded:
/usr/local/Cellar/gfortran/4.8.2/gfortran/lib/libquadmath.0.dylib
- Referenced from:
/Users/jtfox/.julia/v0.2/Homebrew/deps/usr/Cellar/gfortran/4.8.2/gfortran/lib/libgfortran.3.dylib* - Reason: image not found*
- in dlopen at c.jl:29*
On Tue, May 6, 2014 at 8:07 PM, Miles Lubin [email protected]:
Try this in Julia and let us know the output:
dlopen("/Users/jtfox/.julia/v0.2/Homebrew/deps/usr/lib/libipopt")
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-42385216
.
from ipopt.jl.
CC @staticfloat
from ipopt.jl.
Hmmm. That's not good. I'm honestly surprised this worked as long as it did.
I've updated the bottle and formula, please Homebrew.rm("gfortran")
, Homebrew.update()
and try again.
from ipopt.jl.
I did so. If I do
Pkg.build("Ipopt")
I get
INFO: Building Homebrew
HEAD is now at c588ffb Remove git rebasing code that slipped through
HEAD is now at af5f20d Update gfortran bottle to correctly change install
names
INFO: Building Ipopt
================================[ ERROR: Ipopt
]================================
Provider PackageManager failed to satisfy dependency libipopt
at /Users/jtfox/.julia/v0.2/Ipopt/deps/build.jl:81
================================================================================
================================[ BUILD ERRORS
]================================
WARNING: Ipopt had build errors.
-
- packages with build errors remain installed in /Users/jtfox/.julia/v0.2*
-
- build a package and all its dependencies with
Pkg.build(pkg)
*
- build a package and all its dependencies with
-
- build a single package by running its
deps/build.jl
script*
- build a single package by running its
================================================================================
On Wed, May 7, 2014 at 12:26 AM, Elliot Saba [email protected]:
Hmmm. That's not good. I'm honestly surprised this worked as long as it
did.I've updated the bottle and formula, please Homebrew.rm("gfortran"),
Homebrew.update() and try again.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-42397099
.
from ipopt.jl.
Could you rerun dlopen("/Users/jtfox/.julia/v0.2/Homebrew/deps/usr/lib/libipopt")
and post the output again? Hopefully it's changed.
from ipopt.jl.
Could you also run otool -L /Users/jtfox/.julia/v0.2/Homebrew/deps/usr/Cellar/gfortran/4.8.2/gfortran/lib/libgfortran.3.dylib
?
I'm typing on my phone so I may have mispelled something.
from ipopt.jl.
_julia> _dlopen("/Users/jtfox/.julia/v0.2/Homebrew/deps/usr/lib/libipopt")
ERROR: could not load module
/Users/jtfox/.julia/v0.2/Homebrew/deps/usr/lib/libipopt:
dlopen(/Users/jtfox/.julia/v0.2/Homebrew/deps/usr/lib/libipopt.dylib, 1):
Library not loaded:
/Users/jtfox/.julia/v0.2/Homebrew/deps/usr/Cellar/gfortran/4.8.2/gfortran/lib/libgfortran.3.dylib
- Referenced from:
/Users/jtfox/.julia/v0.2/Homebrew/deps/usr/lib/libipopt.dylib* - Reason: image not found*
- in dlopen at c.jl:29*
On Wed, May 7, 2014 at 7:45 AM, Miles Lubin [email protected]:
Could you rerun
dlopen("/Users/jtfox/.julia/v0.2/Homebrew/deps/usr/lib/libipopt") and
post the output again? Hopefully it's changed.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-42436026
.
from ipopt.jl.
There is no gfortran directory under Cellar, i.e. there is
/Users/jtfox/.julia/v0.2/Homebrew/deps/usr/Cellar/
but no further gfortran.
On Wed, May 7, 2014 at 9:15 AM, Elliot Saba [email protected]:
Could you also run otool -L
/Users/jtfox/.julia/v0.2/Homebrew/deps/usr/Cellar/gfortran/4.8.2/gfortran/lib/libgfortran.3.dylib
?I'm typing on my phone so I may have mispelled something.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-42448195
.
from ipopt.jl.
Maybe
using Homebrew
Homebrew.add("gfortran")
is needed?
from ipopt.jl.
This added a gfortran directory where there was none before. Running the
previous otool command gives
/Users/jtfox/.julia/v0.2/Homebrew/deps/usr/Cellar/gfortran/4.8.2/gfortran/lib/libgfortran.3.dylib:
/Users/jtfox/.julia/v0.2/Homebrew/deps/usr/lib/libgfortran.3.dylib
(compatibility version 4.0.0, current version 4.0.0)
/Users/jtfox/.julia/v0.2/Homebrew/deps/usr/Cellar/gfortran/4.8.2/gfortran/lib/libquadmath.0.dylib
(compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
169.3.0)
/Users/jtfox/.julia/v0.2/Homebrew/deps/usr/Cellar/gfortran/4.8.2/gfortran/lib/libgcc_s.1.dylib
(compatibility version 1.0.0, current version 1.0.0)
Running the previous dlopen command gives
_julia> _dlopen("/Users/jtfox/.julia/v0.2/Homebrew/deps/usr/lib/libipopt")
Ptr{Void} @0x0000000107febaf0
I then reran
Pkg.build("Ipopt")
and got
_julia> _Pkg.build("Ipopt")
INFO: Building Homebrew
HEAD is now at c588ffb Remove git rebasing code that slipped through
HEAD is now at af5f20d Update gfortran bottle to correctly change install
names
INFO: Building Ipopt
I then ran the test file hs071.jl and got
_julia> _include("hs071.jl")
ERROR: createProblem not defined
- in include at boot.jl:238*
- in include_from_node1 at loading.jl:114*
at /Users/jtfox/Documents/Julia exampls/hs071.jl:107
On Wed, May 7, 2014 at 10:06 AM, Miles Lubin [email protected]:
Maybe
using Homebrew
Homebrew.add("gfortran")is needed?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-42454445
.
from ipopt.jl.
It seems like the install was successful. Try starting a new Julia session.
from ipopt.jl.
It worked, thanks a lot! I hope you can update the installation
instructions...
On Wed, May 7, 2014 at 10:26 AM, Miles Lubin [email protected]:
It seems like the install was successful. Try starting a new Julia session.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-42456867
.
from ipopt.jl.
Great! I think the original issue has been fixed, so a clean reinstall should "just work" at this point.
from ipopt.jl.
Awesome, glad it worked out. Sometimes we have to try kicking it a few times after implementing a fix, but clean installs should be okay now. It's just the inconsistent state of a failed installation being fixed that can be tricky sometimes.
from ipopt.jl.
Related Issues (20)
- double free or corruption (out) error HOT 20
- Linking full hsl library to Ipopt.jl on ubuntu HOT 19
- julia 0.6.0 install Ipopt cannot connect to mumps dependency HOT 2
- Add support for GetIpoptCurrentViolations
- Incorrect number of Hessian structure (nonzero entries) HOT 10
- Does Ipopt.jl support giving hessian matrix in JuMP directly, without using the C_wrapper? HOT 2
- pointer being freed was not allocated HOT 33
- Invalid number in NLP function or derivative detected. HOT 8
- Issue with non-negative variable tolerance. HOT 2
- does not allow Ipopt_jll current version HOT 2
- Add some pre-built "debugging" callbacks HOT 1
- Crash on Windows when optimizing with SPRAL_jll HOT 11
- Using Ipopt in parallel threads HOT 4
- "double free or corruption" when providing duplicate hessian entries via MathOptInterface HOT 4
- Parsing an NLP HOT 1
- Ipopt does not print in Jupyter notebooks HOT 4
- Get number of iterations after optimization HOT 3
- Add way to change AD backend
- Cannot be installed properly on Alpine Linux which is a MUSL based distro HOT 7
- [email protected] is slower than [email protected] HOT 18
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipopt.jl.