Re: libunwind

From: Keith Owens <>
Date: 2003-08-21 11:46:00
On Wed, 20 Aug 2003 17:05:10 -0700, 
Umut Aymakoglu <> wrote:
>I need to put stack tracing into my program. To use the libunwinding , i
>need to link with the library which will cause problems for the customers
>who do not have the libunwind library.

ksymoops has the same problem, it needs libbfd and libiberty which are
not always installed.  Link libunwind statically with your program and
use dynamic linking for everything else.

 ld ... -Wl,-Bstatic -lunwind -Wl,-Bdynamic -o ...

People who install the binary have no problems, only people who want to
compile the program themselves need to install libunwind.

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Wed Aug 20 21:47:07 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:16 EST