Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
26
rated 0 times [  26] [ 0]  / answers: 1 / hits: 34746  / 2 Years ago, wed, march 30, 2022, 12:09:43

When I try to mount a cifs share with option iocharset=utf8 I receive the error: mount error 79 = Can not access a needed shared library. What shared library am I missing?


More From » mount

 Answers
0

Probably, your Kernel doesn't contain the nls_utf8.ko module.



If it's your case, you will see similar entries in your dmesg output:



[  612.598233]  CIFS VFS: CIFS mount error: iocharset utf8 not found
[ 612.598547] CIFS VFS: cifs_mount failed w/return code = -79


To confirm it, you can try to find the nls_utf8.ko module:



ls /lib/modules/$(uname -r)/kernel/fs/nls/nls_utf8.ko


To fix, install a kernel witch contains this module, like linux-generic or linux-image-extra-virtual.



In my case (Ubuntu 14.04), the solution was:



apt install linux-generic
reboot


In newer Ubuntu versions, maybe you will need one of the linux-modules-extra kernel packages (tks @pxlinux). For example, if your current kernel is linux-generic:



apt install linux-modules-extra-$(uname -r)-generic
reboot


More info can be found at this answer at superuser and at this bug report at Launchpad.


[#23358] Thursday, March 31, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
skaing

Total Points: 462
Total Questions: 124
Total Answers: 113

Location: Nauru
Member since Thu, Feb 2, 2023
1 Year ago
;