February 7, 201016 yr Hi all, I have UnRaid Server 4.5.1 PRO and in syslog is: Tower unmenu[5737]: smartctl: /usr/lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6) But in /usr/lib is library libgcc_s.so.1* and libstdc++.so.6@ Why not working smartctl from unraid menu? Files is right on path. Thanks for any answer
February 11, 201016 yr That error must be something unmenu related. I don't run unmenu, and my smartctl is working just fine.
February 11, 201016 yr Author These errors I am see in periodicaly interval on screen of monitor attached to UnRaid server too.
February 11, 201016 yr These errors I am see in periodicaly interval on screen of monitor attached to UnRaid server too. Did you load a version of "smartctl" on your server other than the one that was supplied with it? unRAID might not have the library it needs. Or, if you loaded any other add-on package that replaced /usr/lib/libgcc_s.so.1 as required by /usr/lib/libstdc++.so.6 it might be the issue Or, if you loaded an older version of libstdc++.so.6 (from when it was missing in older versions of unRAID) and it is not finding the affiliated library it needs, that might be it.) You do NOT need to load any c++ library in the current versions of unRAID. Basicallly, do not load any smartctl program. It is already supplied with unRAID do not load any c++ support library, it is no longer missing from unRAID. Joe L.
February 14, 201016 yr Author I am rename libstdc++.so.6.0.9 to libstdc++.so.6.0.9.old and copy libstdc++.so.6.0.8 to libstdc++.so.6.0.9. Now all is working.
February 14, 201016 yr I am rename libstdc++.so.6.0.9 to libstdc++.so.6.0.9.old and copy libstdc++.so.6.0.8 to libstdc++.so.6.0.9. Now all is working. Something you installed must have put an incompatible library into place: To see the libraries used by a program, you can use the "ldd" program on it as I did here. You can see the version of smartctl in unRAID 4.5.1 uses libstdc++.so.6. ldd /usr/sbin/smartctl linux-gate.so.1 => (0xb778f000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb76a4000) libm.so.6 => /lib/libm.so.6 (0xb767e000) libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb7673000) libc.so.6 => /lib/libc.so.6 (0xb7527000) /lib/ld-linux.so.2 (0xb7790000) If I then do a listing of the library libstdc++.so.6 I learn it is a symbolic link to libstdc++.so.6.0.9 ls -l /usr/lib/libstdc++.so.6 lrwxrwxrwx 1 root root 18 Feb 13 02:44 /usr/lib/libstdc++.so.6 -> libstdc++.so.6.0.9* Looking at the library using "ls -l" and "md5sum" ls -l /usr/lib/libstdc++.so.6.0.9 -rwxr-xr-x 1 root root 914796 Feb 22 2008 /usr/lib/libstdc++.so.6.0.9* md5sum /usr/lib/libstdc++.so.6.0.9 f15ff7a4564892402261e5f30b395e0d /usr/lib/libstdc++.so.6.0.9 Joe L.
February 14, 201016 yr Author With renamed libstdc++.so.6.0.8 to libstdc++.so.6.0.9 is listing of used library: ldd /usr/sbin/smartctl linux-gate.so.1 => (0xb78c0000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb77d5000) libm.so.6 => /lib/libm.so.6 (0xb77af000) libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb77a6000) libc.so.6 => /lib/libc.so.6 (0xb765a000) /lib/ld-linux.so.2 (0xb78c1000) With original libstdc++.so.6.0.9 is listing of used library: ldd /usr/sbin/smartctl /usr/sbin/smartctl: /usr/lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6) linux-gate.so.1 => (0xb77bd000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb76d0000) libm.so.6 => /lib/libm.so.6 (0xb76aa000) libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb76a1000) libc.so.6 => /lib/libc.so.6 (0xb7555000) /lib/ld-linux.so.2 (0xb77be000) Libraries are others than from your listing.
February 14, 201016 yr With renamed libstdc++.so.6.0.8 to libstdc++.so.6.0.9 is listing of used library: ldd /usr/sbin/smartctl linux-gate.so.1 => (0xb78c0000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb77d5000) libm.so.6 => /lib/libm.so.6 (0xb77af000) libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb77a6000) libc.so.6 => /lib/libc.so.6 (0xb765a000) /lib/ld-linux.so.2 (0xb78c1000) With original libstdc++.so.6.0.9 is listing of used library: ldd /usr/sbin/smartctl /usr/sbin/smartctl: /usr/lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6) linux-gate.so.1 => (0xb77bd000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb76d0000) libm.so.6 => /lib/libm.so.6 (0xb76aa000) libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb76a1000) libc.so.6 => /lib/libc.so.6 (0xb7555000) /lib/ld-linux.so.2 (0xb77be000) Libraries are others than from your listing. What version of unRAID are you running? (I'm on 4.5.1) What version of "smartctl" are you running? (I've got version 5.38) What add-ons have you loaded?
February 14, 201016 yr Author What version of unRAID are you running? (I'm on 4.5.1) What version of "smartctl" are you running? (I've got version 5.38) What add-ons have you loaded? In bellow line, in my sign - I have Unraid 4.5.1 Pro. I have smartctl of version 5.38 Add-ons? Much . I am attach syslog.txt. Joe, very thanks for interest Best Regards syslog.zip
February 14, 201016 yr I'll say you are loading a few packages. You are probably clobbering the supplied c++ library by loading the older one here: Feb 14 16:27:28 Tower S10-installpkg[1443]: Installing /boot/packages/cxxlibs-6.0.8-i486-4.tgz Feb 14 16:27:28 Tower emhttp: shcmd (27): killall -HUP smbd Feb 14 16:27:28 Tower emhttp: shcmd (28): /etc/rc.d/rc.nfsd restart | logger Feb 14 16:27:29 Tower installpkg[1757]: Verifying package cxxlibs-6.0.8-i486-4.tgz. Feb 14 16:27:29 Tower installpkg[1757]: Installing package cxxlibs-6.0.8-i486-4.tgz: Feb 14 16:27:29 Tower installpkg[1757]: PACKAGE DESCRIPTION: Feb 14 16:27:29 Tower installpkg[1757]: # cxxlibs (C++ shared library compatibility package) Feb 14 16:27:29 Tower installpkg[1757]: # Feb 14 16:27:29 Tower installpkg[1757]: # This package contains the shared libraries needed to run dynamically Feb 14 16:27:29 Tower installpkg[1757]: # linked C++ binaries linked with older versions of libstdc++. Feb 14 16:27:29 Tower installpkg[1757]: # Feb 14 16:27:29 Tower installpkg[1757]: Executing install script for cxxlibs-6.0.8-i486-4.tgz. Feb 14 16:27:29 Tower installpkg[1757]: Package cxxlibs-6.0.8-i486-4.tgz installed. Feb 14 16:27:29 Tower installpkg[1757]: Since 4.5.1 has the proper library c++, you can get rid of this step in your package load script. In the same way, since "smartctl" is now included in 4.5.1, you can skip installing the older version of the "smartctl" package: smartmontools-5.38-i486-1.tgz The ntfs-3g drive is not being installed properly from what I can see: Feb 14 16:27:35 Tower S10-installpkg[1443]: Installing /boot/packages/ntfs-3g-1.5012-i486-1.tgz Feb 14 16:27:35 Tower installpkg[3383]: Verifying package ntfs-3g-1.5012-i486-1.tgz. Feb 14 16:27:35 Tower installpkg[3383]: Feb 14 16:27:35 Tower installpkg[3383]: gzip: stdin: not in gzip format Feb 14 16:27:35 Tower installpkg[3383]: Installing package ntfs-3g-1.5012-i486-1.tgz: Feb 14 16:27:35 Tower installpkg[3383]: PACKAGE DESCRIPTION: Feb 14 16:27:35 Tower installpkg[3383]: WARNING: Package has not been created with 'makepkg' Feb 14 16:27:35 Tower installpkg[3383]: Package ntfs-3g-1.5012-i486-1.tgz installed. Feb 14 16:27:35 Tower installpkg[3383]: Feb 14 16:27:35 Tower S10-installpkg[1443]: Installing /boot/packages/ntfs-3g-2009.3.8-i486-1.tgz Feb 14 16:27:35 Tower installpkg[3543]: Verifying package ntfs-3g-2009.3.8-i486-1.tgz. Feb 14 16:27:35 Tower installpkg[3543]: Feb 14 16:27:35 Tower installpkg[3543]: gzip: stdin: not in gzip format Feb 14 16:27:35 Tower installpkg[3543]: Installing package ntfs-3g-2009.3.8-i486-1.tgz: Feb 14 16:27:35 Tower installpkg[3543]: PACKAGE DESCRIPTION: Feb 14 16:27:35 Tower installpkg[3543]: WARNING: Package has not been created with 'makepkg' Other than that, yes... you are loading a "few" packages. Enjoy. Joe L.
February 14, 201016 yr Looking further... You do not need to load "wget" as it too is now part of unRAID. One other possible suspect to the library incompatibility could be the "gcc" package. It might be installing an older library. I've never installed "gcc" on my server. Joe L.
February 14, 201016 yr Author Joe L, I am removed packages which are you write and all is working correct. Very thanks for support.
Archived
This topic is now archived and is closed to further replies.