FreeNAS-9.2.1.5のrsyncで、Undefined symbol “locale_charset”

この記事は2年以上前に書いたものです。
そのため情報が古い可能性があります。ご了承ください。m(_ _)m

FreeNAS-9.2.1.5のrsyncで、
Undefined symbol “locale_charset”
と言われる。

versionは、3.0.9

[root@freenas] ~# rsync --version
rsync  version 3.0.9  protocol version 30
Copyright (C) 1996-2011 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
    64-bit files, 32-bit inums, 64-bit timestamps, 64-bit long ints,
    socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
    append, ACLs, xattrs, iconv, symtimes

rsync comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
are welcome to redistribute it under certain conditions.  See the GNU
General Public Licence for details.

pkg で入れようとすると失敗

[root@freenas] ~# pkg install rsync
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg please wait
_http._tcp.pkg.FreeBSD.org
pkg: fail to extract pkg-static

rootパーティションをrwにして

[root@freenas] ~# mount -r -o rw /

再度。

[root@freenas] ~# pkg
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg please wait
_http._tcp.pkg.FreeBSD.org
pkg-static: PACKAGESITE in pkg.conf is deprecated. Please create a repository configuration file
Installing pkg-1.2.7_2... done
If you are upgrading from the old package format, first run:

  # pkg2ng
Usage: pkg [-v] [-d] [-l] [-N] [-j <jail name or id>|-c <chroot path>] [-C <configuration file>] [-R <repo config dir>] <command> [<args>]

Global options supported:
        -d             Increment debug level
        -j             Execute pkg(8) inside a jail(8)
・・・

rsyncを入れる。

[root@freenas] ~# pkg install rsync
pkg: PACKAGESITE in pkg.conf is deprecated. Please create a repository configuration file
Updating repository catalogue
pkg: Warning: use of http:// URL scheme with SRV records is deprecated: switch to pkg+http://
digests.txz                                         100% 1083KB   1.1MB/s 663.1KB/s   00:01
pkg: Warning: use of http:// URL scheme with SRV records is deprecated: switch to pkg+http://
packagesite.txz                                     100% 4976KB 995.2KB/s 556.0KB/s   00:05
Incremental update completed, 23162 packages processed:
0 packages updated, 0 removed and 23162 added.
The following 1 packages will be installed:

        Installing rsync: 3.1.0_3

The installation will require 521 kB more space

265 kB to be downloaded

Proceed with installing packages [y/N]: y
pkg: Warning: use of http:// URL scheme with SRV records is deprecated: switch to pkg+http://
rsync-3.1.0_3.txz                                   100%  265KB 265.3KB/s 265.3KB/s   00:00
Checking integrity... done
[1/1] Installing rsync-3.1.0_3... done

あと、サーバ側のrsyncもアップグレードして試したら上手く行った。

カテゴリー: その他 タグ: , , , パーマリンク

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です