Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: shawnwilliamson on March 19, 2021, 11:08:25 PM

Title: NFS server error: libtirpc.so.1 missing, Version 12.0
Post by: shawnwilliamson on March 19, 2021, 11:08:25 PM
I recently began using Tiny Core, 12.0 and I like it alot!

However, I couldn't get NFS server to run because it reported libtiprc.so.1 was missing.

So in order to get it to run properly, I had to put this in /opt/bootlocal.sh

# In order to get NFS server to run, I must do this:
ln -s /usr/local/lib/libtirpc.so.3 /usr/local/lib/libtirpc.so.1
ldconfig

Then it runs fine and I can mount and serve directories as I wish.

Is this an error on my part? Did I neglect to load a dependency?  Or is this a real bug?

Shawn
Title: Re: NFS server error: libtirpc.so.1 missing, Version 12.0
Post by: Rich on March 19, 2021, 11:49:17 PM
Hi shawnwilliamson
Welcome to the forum.

It appears  libtirpc.tcz  was updated a couple of months ago and it broke  nfs-utils.tcz.
Title: Re: NFS server error: libtirpc.so.1 missing, Version 12.0
Post by: Juanito on March 20, 2021, 04:57:35 AM
recompiled nfs-utils posted
Title: Re: NFS server error: libtirpc.so.1 missing, Version 12.0
Post by: shawnwilliamson on March 20, 2021, 07:52:28 PM
Wow! What fast action. 
Thank you!

FYI, after updating, exportfs no longer looks at /usr/local/etc/exports, now it looks for /etc/exports. 
An easy fix to move and add to the /opt/.filetool.lst, but thought you should know in case documentation should be updated.

Thank you for all you do.

Shawn
Title: Re: NFS server error: libtirpc.so.1 missing, Version 12.0
Post by: Juanito on March 21, 2021, 04:16:12 AM
nfs-utils was compiled with "--sysconfdir=/usr/local/etc", but nfslib.h looks to hardcode it to /etc/exports..