LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-22-2022, 06:21 PM   #1
Nobby6
Member
 
Registered: Jul 2012
Location: Sunshine Coast, Australia
Distribution: Slackware 64
Posts: 237
Blog Entries: 1

Rep: Reputation: 212Reputation: 212Reputation: 212
No updates rsync for 15.0?


Wayne Davison via rsync

Sat, Apr 16, 7:12 AM

to rsync-announce, rsync
I have released rsync 3.2.4. Another typical release with both bug fixes and some enhancements. It also contains a security fix for the bundled zlib 1.2.8, which may or may not be used in your particular build configuration.

To see a summary of all the recent changes, visit this link:

https://rsync.samba.org/ftp/rsync/NEWS#3.2.4

You can download the source tar file and its signature from here:

https://rsync.samba.org/ftp/rsync/rsync-3.2.4.tar.gz
https://rsync.samba.org/ftp/rsync/rs...2.4.tar.gz.asc
 
Old 06-23-2022, 06:06 AM   #2
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,463
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
I don't think rsync uses the bundled zlib. I'm not 100% sure though, because there's nothing in the SlackBuild about it.

Code:
rob@slackxps:~$ ldd /usr/bin/rsync
        linux-vdso.so.1 (0x00007ffd780a9000)
        libattr.so.1 => /lib64/libattr.so.1 (0x00007fe68e1d3000)
        libacl.so.1 => /lib64/libacl.so.1 (0x00007fe68e1c8000)
        libpopt.so.0 => /lib64/libpopt.so.0 (0x00007fe68e1b9000)
        liblz4.so.1 => /usr/lib64/liblz4.so.1 (0x00007fe68e186000)
        libzstd.so.1 => /lib64/libzstd.so.1 (0x00007fe68e0c8000)
        libxxhash.so.0 => /usr/lib64/libxxhash.so.0 (0x00007fe68e0bc000)
        libcrypto.so.1.1 => /lib64/libcrypto.so.1.1 (0x00007fe68ddd5000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fe68dbf6000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fe68dbd5000)
        libz.so.1 => /lib64/libz.so.1 (0x00007fe68dbbb000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007fe68dbb6000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fe68e20f000)
rob@slackxps:~$
Looks like it's linked to zlib-1.2.12 to me.
 
Old 06-23-2022, 06:47 AM   #3
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,827

Rep: Reputation: 1499Reputation: 1499Reputation: 1499Reputation: 1499Reputation: 1499Reputation: 1499Reputation: 1499Reputation: 1499Reputation: 1499Reputation: 1499
Quote:
Originally Posted by rkelsen View Post
I don't think rsync uses the bundled zlib.

Looks like it's linked to zlib-1.2.12 to me.
No, it's not:
Code:
$ readelf -a /usr/bin/rsync|grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libattr.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libacl.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libpopt.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [liblz4.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libzstd.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libxxhash.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libcrypto.so.1.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
It's libcrypto which links to the system libz:
Code:
$ readelf -a /lib64/libcrypto.so.1.1 |grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libz.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libdl.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
So, ldd is not a good tool here.

If you run the slackbuild script, you can see that it compiles zlib-1.2.8 in subdirectory zlib, and links statically against it. But if you add --without-included-zlib to configure, it will not compile the old zlib, but links against the system zlib (1.2.12), like this:
Code:
 0x0000000000000001 (NEEDED)             Shared library: [libattr.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libacl.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libz.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libpopt.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [liblz4.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libzstd.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libxxhash.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libcrypto.so.1.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]

Last edited by Petri Kaukasoina; 06-23-2022 at 06:51 AM.
 
6 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rsync solaris + ld.so.1: rsync: fatal: libiconv.so.2: open failed: xxx_anuj_xxx Solaris / OpenSolaris 25 02-23-2012 03:23 AM
rsync can not rsync files with include filter... xiutuo Linux - Server 2 07-23-2010 02:10 AM
Could I run rsync to download files from a server without rsync daemon? Richard.Yang Linux - Software 1 09-18-2009 04:08 AM
Rsync server vs rsync over ssh humbletech99 Linux - Networking 1 10-18-2006 12:10 PM
Windows Rsync Upload to Linux Rsync - permissions inspleak Linux - Software 0 10-12-2004 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration