#33559 closed defect (fixed)
levmar: port test fails to find local library
Reported by: | lockhart (Thomas Lockhart) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.4 |
Keywords: | haspatch maintainer | Cc: | ryandesign (Ryan Carsten Schmidt), pixilla (Bradley Giesbrecht) |
Port: | levmar |
Description
The current levmar port fails to run "port test" if the port is not already installed. The locally-built lmdemo program does not find liblevmar.2.dylib since the install_name for the library is @rpath/liblevmar.2.dylib and the required rpath is not known to lmdemo.
Attachments (2)
Change History (7)
Changed 13 years ago by lockhart (Thomas Lockhart)
Attachment: | Portfile.lmdemo.patch added |
---|
Changed 13 years ago by lockhart (Thomas Lockhart)
Attachment: | patch-Makefile.so.diff added |
---|
Replacement for current patch file to allow running lmdemo locally for "port test". Adds a local soft link for the major-versioned library.
comment:1 Changed 13 years ago by lockhart (Thomas Lockhart)
Replying to lockhart@…:
The current levmar port fails to run "port test" if the port is not already installed. The locally-built lmdemo program does not find liblevmar.2.dylib since the install_name for the library is @rpath/liblevmar.2.dylib and the required rpath is not known to lmdemo.
The Portfile patch and replacement for the makefile patch allow "port test" to run successfully. afaict this is ready to publish. Thanks!
comment:2 Changed 13 years ago by pixilla (Bradley Giesbrecht)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thanks Tom. See r90600
comment:3 Changed 13 years ago by pixilla (Bradley Giesbrecht)
Keywords: | maintainer added |
---|
comment:4 follow-up: 5 Changed 13 years ago by pixilla (Bradley Giesbrecht)
Tom, it looked like this patch "may" result in changes to installed files so added a revbump.
comment:5 Changed 13 years ago by lockhart (Thomas Lockhart)
Replying to pixilla@…:
Tom, it looked like this patch "may" result in changes to installed files so added a revbump.
OK. I'd be putting a rev number into every one of these packages.
Patch on the latest Portfile to allow "port test" to run successfully. Also requires slight change to the Makefile.so patch which is posted here separately.