Ticket #15546 (closed defect: fixed)
e2fsprogs port bug
|Reported by:||groolot@…||Owned by:||misc@…|
Under Mac OS X Leopard 10.5.3, I tried to do a standard install of the e2fsprogs port. Everything works fine until the launch of some binaries.
What happend ?
When I try to execute a binary from this port, such as mkfs.ext3, i found that :
dyld: Library not loaded: libext2fs.2.1.dylib Referenced from: /opt/local/sbin/mkfs.ext3 Reason: image not found Trace/BPT trap
It seems to be an error inside the hardcoded Path of the library into libext2fs.2.1.dylib of the mkfs.ext3 prog. I look inside the prog with otool to find an effective answer :
opt/local/sbin/mkfs.ext3: libext2fs.2.1.dylib (compatibility version 1.0.0, current version 2.1.0) libcom_err.1.1.dylib (compatibility version 1.0.0, current version 1.1.0) libblkid.2.0.dylib (compatibility version 1.0.0, current version 2.0.0) libuuid.1.1.dylib (compatibility version 1.0.0, current version 1.1.0) libe2p.2.1.dylib (compatibility version 1.0.0, current version 2.1.0) /usr/local/lib/libintl.3.dylib (compatibility version 8.0.0, current version 8.3.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 111.1.1)
But mkfs.ext3 normally should expect that the libraries are not in the current directory ...
Discussing primarly with Michael SCHERER, the maintainer of the port, he has experienced the same problem with the current version of the port (v. 1.40.6).
We have found some ways to make it functional :
- doing cd /opt/local/bin and then launch mkfs.ext3
- making some links from /opt/local/lib/needed_library to /opt/local/bin
What an idiot way of resolving the problem ...
Hope that could help you.
- Cc jmr@… added; misc@… removed
- Owner changed from macports-tickets@… to misc@…