General TC > General TC Talk
[Solved] compile error against /lib64/libdl.so.2 maybe?
aus9:
Hi
On 64 bit I have loaded compiletc submitqc gtk2-dev attr-dev (and their dependencies)
In attempting to rebuild rox-filer against newer packages I see
--- Code: ---/usr/local/bin/ld: xtypes.o: undefined reference to symbol 'dlsym@@GLIBC_2.2.5'
/usr/local/bin/ld: /lib64/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [Makefile:48: ROX-Filer] Error 1
# and
ls -al /lib64/libdl.so.2
lrwxrwxrwx 1 root root 13 Mar 30 06:45 /lib64/libdl.so.2 -> libdl-2.30.so
--- End code ---
Searching Apps -> provides with either of those 2 shared objects draws a blank
but my Apps is not working correctly so TCE appears to be
http://tinycorelinux.net/11.x/x86_64/tcz/glibc_base-dev.tcz.list
--- Code: ---ls /usr/local/tce.installed/ | grep glibc_base-dev
glibc_base-dev
--- End code ---
my current error config.log is
--- Code: ---cat config.log | grep error
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory
conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory
conftest.c:61:10: fatal error: sys/ucred.h: No such file or directory
conftest.c:28:10: fatal error: sys/ucred.h: No such file or directory
conftest.c:61:10: fatal error: sys/mntent.h: No such file or directory
conftest.c:28:10: fatal error: sys/mntent.h: No such file or directory
conftest.c:61:10: fatal error: apsymbols.h: No such file or directory
conftest.c:28:10: fatal error: apsymbols.h: No such file or directory
conftest.c:61:10: fatal error: apbuild/apsymbols.h: No such file or directory
conftest.c:28:10: fatal error: apbuild/apsymbols.h: No such file or directory
conftest.c:69:21: error: expected expression before ')' token
collect2: error: ld returned 1 exit status
| /* Override any GCC internal prototype to avoid an error.
collect2: error: ld returned 1 exit status
| /* Override any GCC internal prototype to avoid an error.
collect2: error: ld returned 1 exit status
| /* Override any GCC internal prototype to avoid an error.
conftest.c:77:10: fatal error: attr/xattr.h: No such file or directory
conftest.c:44:10: fatal error: attr/xattr.h: No such file or directory
--- End code ---
I did try one minor fix of linking libxattr.h to xattr.h but it made no diff
any clues?
Juanito:
The directory /lib64 should not exist and certainly should not include /lib64/libdl.so.2, but I don't know if this is the cause of the problem.
aus9:
--- Quote ---The directory /lib64 should not exist
--- End quote ---
Hi I was not expecting that ^.
--- Code: ---ls -al /tmp
SNIP
-r--r--r-- 1 root staff 11 Apr 22 05:48 .X0-lock
drwxrwxr-x 139 root staff 2780 Apr 22 05:49 tcloop/
ls -al /lib64
lrwxrwxrwx 1 root root 4 Apr 22 05:48 /lib64 -> /lib/
--- End code ---
EDIT timestamp for TCE is for last loaded TCEs tricking me at first
I have no backup of that dir
--- Code: ---cat /opt/.filetool.lst
etc/fstab
etc/modprobe.conf
--- End code ---
I can assure you have not made any TCE that has /lib64 in it.
I do run some .local/bin scripts that I can assure they have no /lib64 in them too.
and if helps but they are likely to be sym link files
--- Code: ---ls /lib64
ld-2.30.so libdl.so.2 libpthread-2.30.so
ld-linux-x86-64.so.2 libe2p.so.2 libpthread.so.0
libanl-2.30.so libe2p.so.2.3 libresolv-2.30.so
libanl.so.1 libext2fs.so.2 libresolv.so.2
libblkid.so.1 libext2fs.so.2.4 librt-2.30.so
libblkid.so.1.1.0 libm-2.30.so librt.so.1
libc-2.30.so libm.so.6 libutil-2.30.so
libc.so.6 libnsl-2.30.so libutil.so.1
libcom_err.so.2 libnsl.so.1 libuuid.so.1
libcom_err.so.2.1 libnss_dns-2.30.so libuuid.so.1.3.0
libcrypt-2.30.so libnss_dns.so.2 modules/
libcrypt.so.1 libnss_files-2.30.so udev/
libdl-2.30.so libnss_files.so.2
--- End code ---
EDIT2
I have no TC on an old laptop. Let me boot that up and see if that dir exists.
Well blow me...no lib64 on that laptop. Looks like I need to track down either a TCE or something else that is interfering.
aus9:
found it ....opera-62 install script
--- Code: ---#!/bin/sh
if [ ! -e /lib64 ]; then
ln -s /lib /lib64
fi
if [ ! -h /etc/fonts ]; then
ln -s /usr/local/etc/fonts /etc
fi
update-mime-database /usr/local/share/mime > /dev/null 2>&1
--- End code ---
I do not need this browser. I can use something else
aus9:
full reboot just changes pathway
--- Code: ---/usr/local/bin/ld: xtypes.o: undefined reference to symbol 'dlsym@@GLIBC_2.2.5'
/usr/local/bin/ld: /lib/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [Makefile:48: ROX-Filer] Error 1
--- End code ---
Navigation
[0] Message Index
[#] Next page
Go to full version