>From: Nathan Scott <nathans@xxxxxxxxxxxxxxxxxxxxxxx>
>Installing the .la and .a files into /usr/lib, in spite of libtool,
>seems to work just fine.
No, it doesn't.
Here's xfs_fsr, built static:
/usr/bin/libtool --mode=link gcc -o xfs_fsr -static xfs_fsr.o \
/usr/lib/libhandle.la /usr/lib/libattr.la
gcc -o xfs_fsr xfs_fsr.o /lib/libhandle.a /lib/libattr.a
gcc: /lib/libhandle.a: No such file or directory
gcc: /lib/libattr.a: No such file or directory
I think for now we should leave it as you have it with your last mod, with the
pieces split between /lib and /usr/lib and the rpath pointing to /lib where
the shared libs are located. It's apparently rare that any of us tries to link
these things with the static libs, and in that case we can do it without
libtool.
Add this to our growing "You've-got-to-be-kidding" list for libtool...
Dean
|