Ticket #20528 (closed defect: fixed)
testdisk links with Mac OS X libraries instead of MacPorts'
| Reported by: | ryandesign@… | Owned by: | snc@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.7.1 |
| Keywords: | Cc: | ||
| Port: | testdisk |
Description
$ otool -L /mp/sbin/testdisk
/mp/sbin/testdisk:
/usr/lib/libncurses.5.4.dylib (compatibility version 5.4.0, current version 5.4.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
/usr/lib/libiconv.2.dylib (compatibility version 5.0.0, current version 5.0.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.11)
$
testdisk links with the system's ncurses, zlib and iconv libraries. It should link with and declare dependencies on the MacPorts versions instead.
Attachments
Change History
comment:2 Changed 4 years ago by snc@…
- Owner changed from macports-tickets@… to snc@…
- Status changed from new to assigned
comment:3 Changed 4 years ago by snc@…
configure.args-append --with-ncurses-lib=${prefix}/lib \
--with-ncurses-includes=${prefix}/include/ncurses/ \
--with-giconv-lib=${prefix}/lib \
--with-giconv-includes=${prefix}/include/
When I specify the flags for ncurses then it doesn't get linked, and magically libz links with macports when I do that.
/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.4)
Suggestions anyone?
Changed 4 years ago by snc@…
- Attachment Portfile-testdisk.diff added
ncurses isn't working but others are now
comment:4 Changed 4 years ago by snc@…
I've put in a patch for now … r55208. More investigation later.
Note: See
TracTickets for help on using
tickets.


Cc Me!