Re: static compile of rsync

2008-03-19 Thread Paul Slootman
On Tue 18 Mar 2008, Lopez David E wrote: [...] > nss_deffinder.c:(.text+0xcc): undefined reference to `_dlclose' > /usr/lib/libc.a(nss_deffinder.o): In function `SO_per_src_delete': > nss_deffinder.c:(.text+0x104): undefined reference to `_dlclose' > collect2: ld returned 1 exit status > make: ***

RE: static compile of rsync

2008-03-18 Thread Lopez David E
ences and ship it with rsync. could I just create a script to set the LD_LIBRARY_PATH env var to that lib prior to running rsync? would not that work in far away hosts? david -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Slootman Sent: Tuesday, Ma

Re: static compile of rsync

2008-03-18 Thread Lasse Kliemann
* Message by -Paul Slootman- from Tue 2008-03-18: > On Tue 18 Mar 2008, Lasse Kliemann wrote: > > * Message by -Paul Slootman- from Tue 2008-03-18: > > > > > Be aware that at least when using glibc, a number of things are always > > > dynamic, e.g the nsswitch stuff (for host lookups etc.) > > >

Re: static compile of rsync

2008-03-18 Thread Paul Slootman
On Tue 18 Mar 2008, Lasse Kliemann wrote: > * Message by -Paul Slootman- from Tue 2008-03-18: > > > Be aware that at least when using glibc, a number of things are always > > dynamic, e.g the nsswitch stuff (for host lookups etc.) > > If the targets are linux systems, then the safest way is to bu

Re: static compile of rsync

2008-03-18 Thread Lasse Kliemann
* Message by -Paul Slootman- from Tue 2008-03-18: > Be aware that at least when using glibc, a number of things are always > dynamic, e.g the nsswitch stuff (for host lookups etc.) > If the targets are linux systems, then the safest way is to build > appropriate packages... rsync can be linked s

Re: static compile of rsync

2008-03-18 Thread Paul Slootman
On Tue 18 Mar 2008, Lopez David E wrote: > I've looked at the last 6 months on the list and did > not find any reference on how to static compile of > rsync. I looked at the ./configure --help with no luck. > > I'm on solaris 2.8 using gcc 4.1.1. when I run thru the >

static compile of rsync

2008-03-18 Thread Lopez David E
I've looked at the last 6 months on the list and did not find any reference on how to static compile of rsync. I looked at the ./configure --help with no luck. I'm on solaris 2.8 using gcc 4.1.1. when I run thru the process (./configure; make; make install) and run ldd rsync, I get a