[nas] issue about libaudio.so

Steve McIntyre steve at einval.com
Thu Nov 7 23:41:15 MST 2002


On Sat, Jan 05, 2002 at 04:30:47PM -0700, Jon Trulson wrote:
>On Thu, 5 Dec 2002, Lorenzo Delana wrote:
>
>> Date: Thu, 5 Dec 2002 08:51:26 +0100  
>> From: Lorenzo Delana <ldelana at libero.it>
>> To: nas at radscan.com
>> Subject: [nas] issue about libaudio.so 
>> 
>> 
>> I suggest to check dependancies in libaudio.so with:
>> 
>> ldd -r libaudio.so
>> 
>> seems, that libXt.so isn't used so unresolved symbols happens.
>> 
>
>       Thanks.  I've added both -lXt and -lXau as dependancies for
>libaudio.so.

Responding to a very old message, I know, but...

Adding -lXau causes problems for me in Debian - the build fails on
architectures (like HPPA) where library code _must_ be built with
position-independent code (-fPIC). Debian don't ship a .so version of
libXau, just libXau.a. And I don't see it used in the libaudio I've
built here:

sledge:~$ ldd -r /usr/lib/libaudio.so 
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40021000)
        libm.so.6 => /lib/libm.so.6 (0x4006b000)
        libc.so.6 => /lib/libc.so.6 (0x4008c000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x401a7000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40261000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40269000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
        libdl.so.2 => /lib/libdl.so.2 (0x4027f000)

For now I'm removing the -lXau so things build; everything still seems
to work for me.

-- 
Steve McIntyre, Cambridge, UK.                                steve at einval.com
<a href=http://www.rpg-soc.ucam.org/curs/>CURS home page</a>
"Can't keep my eyes from the circling sky,
"Tongue-tied & twisted, Just an earth-bound misfit, I..."



More information about the Nas mailing list