[MacPorts] #27388: regina executable fails to work
#27388: regina executable fails to work -----------------------------------------+---------------------------------- Reporter: jking+macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 2.0.0 Component: ports | Version: 1.9.2 Keywords: rexx regina dylib | Port: rexx -----------------------------------------+---------------------------------- After installing the Regina package (port:rexx), the "regina" executable fails with: dyld: Library not loaded: libregina.dylib Referenced from: /opt/local/bin/regina Reason: image not found Trace/BPT trap This can be mitigated by setting DYLD_LIBRARY_PATH to /opt/local/lib but this workaround is obviously suboptimal as it can break non-MacPorts programs. -- Ticket URL: <https://trac.macports.org/ticket/27388> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27388: regina executable fails to work -----------------------------------------+---------------------------------- Reporter: jking+macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: rexx -----------------------------------------+---------------------------------- Changes (by macsforever2000@…): * keywords: rexx regina dylib => * milestone: MacPorts 2.0.0 => Old description:
After installing the Regina package (port:rexx), the "regina" executable fails with:
dyld: Library not loaded: libregina.dylib Referenced from: /opt/local/bin/regina Reason: image not found Trace/BPT trap
This can be mitigated by setting DYLD_LIBRARY_PATH to /opt/local/lib but this workaround is obviously suboptimal as it can break non-MacPorts programs.
New description: After installing the Regina package (port:rexx), the "regina" executable fails with: {{{ dyld: Library not loaded: libregina.dylib Referenced from: /opt/local/bin/regina Reason: image not found Trace/BPT trap }}} This can be mitigated by setting DYLD_LIBRARY_PATH to /opt/local/lib but this workaround is obviously suboptimal as it can break non-MacPorts programs. -- Comment: Please do not set the milestone field. -- Ticket URL: <https://trac.macports.org/ticket/27388#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27388: regina executable fails to work -----------------------------------------+---------------------------------- Reporter: jking+macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: rexx -----------------------------------------+---------------------------------- Comment(by jking+macports@…): Sorry about the milestone field. I've been able to patch the configure script to avoid the regina-not- starting issue. Replacing SHL_LD="${CC} -dynamiclib ${LDFLAGS} -install_name ${SHLPRE}${SHLFILE}${SHLPST} -o ${SHLPRE}${SHLFILE}${SHLPST} "'$('SHOFILES')' with SHL_LD="${CC} -dynamiclib ${LDFLAGS} -install_name /opt/local/lib/${SHLPRE}${SHLFILE}${SHLPST} -o ${SHLPRE}${SHLFILE}${SHLPST} "'$('SHOFILES')' Resolves the issue. I'm now trying to figure out how to do that "correctly" within MacPorts, in case the user specified a different root directory. -- Ticket URL: <https://trac.macports.org/ticket/27388#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27388: regina executable fails to work -----------------------------------------+---------------------------------- Reporter: jking+macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: rexx -----------------------------------------+---------------------------------- Comment(by jking+macports@…): I've attached a new patch-configure.diff file that fixes the regina-not- starting issue. This patch file subsumes the patch file for port:rexx that was added earlier today. -- Ticket URL: <https://trac.macports.org/ticket/27388#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27388: regina executable fails to work -----------------------------------------+---------------------------------- Reporter: jking+macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: rexx -----------------------------------------+---------------------------------- Comment(by jking+macports@…): This patch has been confirmed to work and fix the issue entirely. I don't have commit rights, though, so please commit this whenever you find the time. :) -- Ticket URL: <https://trac.macports.org/ticket/27388#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27388: rexx: regina executable fails to work (library install_name wrong) -----------------------------------------+---------------------------------- Reporter: jking+macports@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: rexx -----------------------------------------+---------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => ryandesign@… * status: new => assigned -- Ticket URL: <https://trac.macports.org/ticket/27388#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27388: rexx: regina executable fails to work (library install_name wrong) -----------------------------------------+---------------------------------- Reporter: jking+macports@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: rexx -----------------------------------------+---------------------------------- Comment(by ryandesign@…): I had noticed the problem but had not yet worked out how to fix it; thanks for figuring it out. Committed in r73603. Note this fixes the install_name of libregina.dylib but not of libregutil.dylib, librxtest1.dylib, or librxtest2.dylib. -- Ticket URL: <https://trac.macports.org/ticket/27388#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27388: rexx: regina executable fails to work (library install_name wrong) -----------------------------------------+---------------------------------- Reporter: jking+macports@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: rexx -----------------------------------------+---------------------------------- Comment(by jking+macports@…): Hm. Not fixing those hasn't bitten me yet, but it may be worthwhile to make the change to them to before committing. -- Ticket URL: <https://trac.macports.org/ticket/27388#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27388: rexx: regina executable fails to work (library install_name wrong) -----------------------------------------+---------------------------------- Reporter: jking+macports@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: rexx -----------------------------------------+---------------------------------- Comment(by ryandesign@…): I am looking into it. -- Ticket URL: <https://trac.macports.org/ticket/27388#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27388: rexx: regina executable fails to work (library install_name wrong) ------------------------------------------+--------------------------------- Reporter: jking+macports@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: rexx | ------------------------------------------+--------------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: Fixed in r73604. -- Ticket URL: <https://trac.macports.org/ticket/27388#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts