Project

General

Profile

Feature #59

gawk error: can't open shared library `filefuncs' for reading

Added by cpuorkle 8 months ago. Updated 4 months ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
Start date:
12/04/2017
Due date:
% Done:

0%


Description

While trying the following project - https://github.com/su8/cpuorakle , I noticed that the [b]filefuncs[/b] extension did not came with the GNU version of awk.

History

#1 Updated by cpuorkle 8 months ago

After downloading and compiling the latest version of gawk - https://ftp.gnu.org/gnu/gawk/gawk-4.2.0.tar.xz , exporting the following env. variable export AWKLIBPATH=$AWKLIBPATH:/usr/lib/gawk the filefuncs extension becomes available.

Unfortunately for some reason /usr/lib is not traversed, while in linux it is.

libtool: install: build-aux/install-sh -c .libs/filefuncs.so /usr/lib/gawk/filefuncs.so
libtool: install: build-aux/install-sh -c .libs/filefuncs.lai /usr/lib/gawk/filefuncs.la

#2 Updated by cpuorkle 8 months ago

Upon further investigation it seems filefuncs did came with the gawk pkg. But it still requires the evn. variable AWKLIBPATH to be exported in order the extensions path to be traversed.

pkg list gawk|grep filefuncs
/usr/local/lib/gawk/filefuncs.so
/usr/local/man/man3/filefuncs.3am.gz

#3 Updated by ericbsd 4 months ago

  • Status changed from New to Rejected

Of what I see cpuorakle is made for Gentoo and GhostBSD is BSD and not Linux so I will reject this.

Also available in: Atom PDF