[MacPorts] #15546: e2fsprogs port bug
MacPorts
noreply at macports.org
Sat Jun 7 09:15:34 PDT 2008
#15546: e2fsprogs port bug
---------------------------------+------------------------------------------
Reporter: groolot at groolot.net | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Keywords: e2fsprogs library |
---------------------------------+------------------------------------------
= Context =
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 ...
= Reproductibility =
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.
--
Ticket URL: <http://trac.macports.org/ticket/15546>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list