Opened 8 years ago

Closed 7 years ago

#49466 closed defect (duplicate)

gnudatalanguage: Library not loaded: /opt/local/lib/libform.5.dylib

Reported by: glenda.denicolo@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: gnudatalanguage

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hi, I've updated Xcode, recently updated to El Capitan, downloaded the newest version of macports, installed, etc. The purpose was to run GLD (IDL free version). I get the following:

~: gdl
dyld: Library not loaded: /opt/local/lib/libform.5.dylib
  Referenced from: /opt/local/bin/gdl
  Reason: image not found
Trace/BPT trap: 5

Then I tried downloading GDL sourcr code, and when i do the cmake .. it says I don't have a wxWidgets library. So I downloaded wxWidgets, and that's proving to be cumbersome too, as the make is failing to produce certain files, because when I do "sudo make install" it can't find some stuff it should have created with the make.

What a maze. I had everything running before these new updates. I didn't remember it being this complicated. Help!

My next idea is that I need the older version of that dylib, or ncurses5. Again, no idea if I can install this on itself, I would have expected the OSX to have installed this stuff already. And if it is a path anything like the wxWidgets path I was trying, I won't be able to carry on, it will fail.

Thank you.

Change History (7)

comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Description: modified (diff)
Port: gnudatalanguage added
Summary: GDL on MAC El Capitan: Library not loaded: /opt/local/lib/libform.5.dylibgnudatalanguage: Library not loaded: /opt/local/lib/libform.5.dylib

You're correct that libform is part of ncurses. The problem is simply that ncurses was recently updated to version 6. So /opt/local/bin/gdl needs to be rebuilt with the new ncurses.

You should merely need to run:

sudo port selfupdate
sudo port upgrade outdated

The curious thing, though, is that this change was made in r139469 which predates the release of OS X 10.11 El Capitan so I'm confused as to how you are running into this problem. If selfupdating and upgrading outdated ports doesn't fix it, then certainly running rev-upgrade will:

sudo port rev-upgrade

comment:2 Changed 8 years ago by glenda.denicolo@…

Hi, Wow, that was fast, thanks a lot. I was losing hope. Ok, so, it still didn't work. Below is what I get (issue with port grib_api returned). By the way, I tried before (before rev-upgrade), "sudo port upgrade readline", then "sudo port clean gnudatalanguage", and "sudo port install gnudatalanguage", and got the same grib_api problem. Thanks again in advance for any further help. Btw, could any of these be related to a recently updating Ureka (for Iraf users)? I have no idea, just brainstorming here.

~: sudo port rev-upgrade

--->  Scanning binaries for linking errors
--->  Found 3 broken file(s), matching files to ports
--->  Found 1 broken port(s), determining rebuild order
--->  Rebuilding in order
     gnudatalanguage @0.9.4 
--->  Computing dependencies for grib_api
--->  Building grib_api
Error: org.macports.build for port grib_api returned: command execution failed
Please see the log file for port grib_api for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_grib_api/grib_api/main.log
Error: Unable to upgrade port: 1
Error rebuilding gnudatalanguage
    while executing
"error "Error rebuilding $portname""
    (procedure "revupgrade_scanandrebuild" line 395)
    invoked from within
"revupgrade_scanandrebuild broken_port_counts $opts"
    (procedure "macports::revupgrade" line 5)
    invoked from within
"macports::revupgrade $opts"
    (procedure "action_revupgrade" line 2)
    invoked from within
"$action_proc $action $portlist [array get global_options]"
    (procedure "process_cmd" line 103)
    invoked from within
"process_cmd $remaining_args"
    invoked from within
"if { [llength $remaining_args] > 0 } {

    # If there are remaining arguments, process those as a command
    set exit_status [process_cmd $remaining..."
    (file "/opt/local/bin/port" line 5268)
Last edited 8 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 in reply to:  2 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to glenda.denicolo@…:

Ok, so, it still didn't work. Below is what I get (issue with port grib_api returned). By the way, I tried before (before rev-upgrade), "sudo port upgrade readline", then "sudo port clean gnudatalanguage", and "sudo port install gnudatalanguage", and got the same grib_api problem. Thanks again in advance for any further help. Btw, could any of these be related to a recently updating Ureka (for Iraf users)? I have no idea, just brainstorming here.

Error: org.macports.build for port grib_api returned: command execution failed
Please see the log file for port grib_api for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_grib_api/grib_api/main.log

Please attach this file. But this part of the problem may be a duplicate of #49096; we know grib_api does not build but I haven't investigated why.

As for "Ureka for Iraf users", I've never heard of it. It is certainly possible for third parties to design installers that overwrite your MacPorts files. Obviously they should not be designed in this way, but some are. I downloaded http://ssb.stsci.edu/ureka/1.5.2/Ureka_osx-6_64_1.5.2.tar.gz. Is that what you installed? I examined its contents and didn't immediately see any references to MacPorts or its /opt/local prefix, but I haven't run it myself so I don't know.

comment:4 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Yes, the log you provided to me by email is the same problem as #49096, which is a different problem from the ncurses problem that began this ticket.

comment:5 Changed 7 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed

This looks like an old issue.

comment:6 Changed 7 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: closedreopened

comment:7 Changed 7 years ago by mf2k (Frank Schima)

Resolution: duplicate
Status: reopenedclosed

I mean a duplicate of #49096.

Note: See TracTickets for help on using tickets.