Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: rhermsen on October 11, 2022, 12:52:41 PM
-
Can someone help with the following?
With autogen I'm getting a dependency error for the libatomic_ops library.
The library libatomic_ops.tcz is installed, only the file 'libatomic_ops.so.0' is not present (anymore?).
http://www.tinycorelinux.net/13.x/x86_64/tcz/libatomic_ops.tcz.list (http://www.tinycorelinux.net/13.x/x86_64/tcz/libatomic_ops.tcz.list)
$ version
13.1
$ uname -m
x86_64
$ /usr/local/bin/autogen
/usr/local/bin/autogen: error while loading shared libraries: libatomic_ops.so.0: cannot open shared object file: No such file or directory
-
Get a 'similar' error for autogen on x86
$ autogen
autogen: error while loading shared libraries: libffi.so.5: cannot open shared object file: No such file or directory
$ tce-load -wi libffi.tcz
libffi is already installed!
$ version
13.0
$ uname -m
i686
-
Check libffi version installed and missing
-
Thanks.
For x86, just looked and tried with libffi6.tcz but that didn't work either. Tried with a symlink but no change.
$ autogen
autogen: error while loading shared libraries: libffi.so.5: cannot open shared object file: No such file or directory
$ tce-load -wi libffi6.tcz
Downloading: libffi6.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
saving to 'libffi6.tcz'
libffi6.tcz 100% |****************************************************| 16384 0:00:00 ETA
'libffi6.tcz' saved
libffi6.tcz: OK
$ autogen
autogen: error while loading shared libraries: libffi.so.5: cannot open shared object file: No such file or directory
$ sudo ln -s /tmp/tcloop/libffi6/usr/local/lib/libffi.so.6 /usr/local/lib/libffi.so.5
$ autogen
autogen: error while loading shared libraries: libffi.so.5: cannot open shared object file: No such file or directory
ldd shows it uses both libffi.so.7 and libffi.so.5:
$ ldd /usr/local/bin/autogen
linux-gate.so.1 (0xb7f35000)
libopts.so.25 => /usr/local/lib/libopts.so.25 (0xb7f04000)
libguile-2.0.so.22 => /usr/local/lib/libguile-2.0.so.22 (0xb7dd1000)
libffi.so.5 => not found
libunistring.so.0 => /usr/local/lib/libunistring.so.0 (0xb7cd3000)
libgmp.so.10 => /usr/local/lib/libgmp.so.10 (0xb7c7d000)
libltdl.so.7 => /usr/local/lib/libltdl.so.7 (0xb7c75000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7c43000)
libgc.so.1 => /usr/local/lib/libgc.so.1 (0xb7bee000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7be9000)
libm.so.6 => /lib/libm.so.6 (0xb7b13000)
libdl.so.2 => /lib/libdl.so.2 (0xb7b0e000)
libc.so.6 => /lib/libc.so.6 (0xb7973000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb7952000)
libatomic_ops.so.1 => /usr/local/lib/libatomic_ops.so.1 (0xb7950000)
libffi.so.7 => /usr/local/lib/libffi.so.7 (0xb7947000)
/lib/ld-linux.so.2 (0xb7f37000)
-
Hi rhermsen
Try installing libffi5 from TC10. Read the info file:
http://tinycorelinux.net/10.x/x86/tcz/libffi5.tcz.info
-
I’ll look at updating the autogen extensions in the next couple of days.
-
Updated autogen posted in x86_64 repo.
-
Thanks, it is working now for x86_64.
You even solved two issues in one... (I didn't notice the version requirement)
checking for autogen version >= 5.18.12... yes
-
Updated autogen posted to the x86 repo.
-
Thanks, also for x86 it is working.
checking for autogen version >= 5.18.12... yes