[MacPorts] #52123: rtmpdump @2.4_2: needs updating

MacPorts noreply at macports.org
Sun Sep 11 23:08:12 CEST 2016


#52123: rtmpdump @2.4_2: needs updating
--------------------------+------------------------
  Reporter:  keybounce@…  |      Owner:  captsolo@…
      Type:  update       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  rtmpdump     |
--------------------------+------------------------

Comment (by keybounce@…):

 OK, I'd like some help here.

 I cloned rtmpdump from the git.
 I wanted to replace macport's rtmpdump with the current one, so I modified
 the PREFIX= in the Makefile from /usr/local to /opt/local, and did the
 same thing in the rtmplib/Makefile as well.

 Compiled (make SYS=darwin) no problem (lots of warnings)
 "sudo make install" worked, and put everything into /opt/local.

 But trying to run it gives
 keybounceMBP:FrozenPlanet michael$ rtmpdump --version
 dyld: Library not loaded: /usr/local/lib/librtmp.1.dylib
   Referenced from: /opt/local/bin/rtmpdump
   Reason: image not found
 Trace/BPT trap: 5

 How do I make it reference /opt/local/lib instead of /usr/local/lib, given
 that I've modified the prefix -- and verified that the
 compilation/installation of the library is using /opt/local/lib?

 Alternatively, how do I go about modifying the official portfile? (As in:
 I have never modified anything in macports so far, and don't even know
 what step zero is.)

-- 
Ticket URL: <https://trac.macports.org/ticket/52123#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list