Giter VIP home page Giter VIP logo

Comments (17)

mlubin avatar mlubin commented on August 16, 2024

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.

econotron avatar econotron commented on August 16, 2024

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.

mlubin avatar mlubin commented on August 16, 2024

Try this in Julia and let us know the output:

dlopen("/Users/jtfox/.julia/v0.2/Homebrew/deps/usr/lib/libipopt")

from ipopt.jl.

econotron avatar econotron commented on August 16, 2024

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.

mlubin avatar mlubin commented on August 16, 2024

CC @staticfloat

from ipopt.jl.

staticfloat avatar staticfloat commented on August 16, 2024

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.

econotron avatar econotron commented on August 16, 2024

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 single package by running its deps/build.jl script*

================================================================================

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.

mlubin avatar mlubin commented on August 16, 2024

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.

staticfloat avatar staticfloat commented on August 16, 2024

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.

econotron avatar econotron commented on August 16, 2024

_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.

econotron avatar econotron commented on August 16, 2024

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.

mlubin avatar mlubin commented on August 16, 2024

Maybe

using Homebrew
Homebrew.add("gfortran")

is needed?

from ipopt.jl.

econotron avatar econotron commented on August 16, 2024

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.

mlubin avatar mlubin commented on August 16, 2024

It seems like the install was successful. Try starting a new Julia session.

from ipopt.jl.

econotron avatar econotron commented on August 16, 2024

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.

mlubin avatar mlubin commented on August 16, 2024

Great! I think the original issue has been fixed, so a clean reinstall should "just work" at this point.

from ipopt.jl.

staticfloat avatar staticfloat commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.