Otavio's patch seems to work for me.
ldd no longer shows a dependency on libunwind:
[EMAIL PROTECTED]:/tmp/parted-1.8.8.git.2008.03.24# ldd
./build-deb/libparted/.libs/libparted-1.8.so.9 | grep unwind
libunwind.so.7 => /lib/libunwind.so.7 (0x20000008001bc000)
[EMAIL PROTECTED]:/tmp/parted-1.8.8.git.2008.03.24# ldd
./build-udeb/libparted/.libs/libparted-1.8.so.9 | grep unwind
[EMAIL PROTECTED]:/tmp/parted-1.8.8.git.2008.03.24#
And it seems to function:
[EMAIL PROTECTED]:/tmp/parted-1.8.8.git.2008.03.24/build-udeb#
LD_LIBRARY_PATH=/tmp/parted-1.8.8.git.2008.03.24/build-udeb/libparted/.libs
parted/parted /dev/sdd
GNU Parted 1.8.9
Using /dev/sdd
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
print
Model: TREK2000 TD-G2 (scsi)
Disk /dev/sdd: 65.5MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 21.5kB 65.5MB 65.5MB primary fat16
(parted)
strace output also shows the libunwind getting opened when
executing the 'deb' binary, but not when executing the udeb
binary.
Let me know if there's other tests you'd like me to run.
--
dann frazier
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]