Comments are available to members only. Sign up or Log in to view these comments.
Main Topics
Browse All TopicsHi,
I am not an expert in FreeBSD libraries.
I was trying to make Sawmill 8 work on my FreeBSD 7.0 system. In the process I created soft links for some of the .so files to try and fool Sawmill into seeing the correct versions as this had worked for other users.
I thought a backup of these files were included in the backup so therefore could reverse the process if I mess up something - well it wasn't.
The problem now is that when I try to MAN some pages such as "man locate" then I get the following error. I also get this when trying to run Sawmill. This will probably happen later with other apps as well which depend on the libraries.
mail# man locate
Formatting page, please wait.../libexec/ld-elf.so.
/libexec/ld-elf.so.1: /lib/libc.so.7: version GLIBC_2.1.3 required by /usr/lib/libstdc++.so.6 not found
Failed.
/libexec/ld-elf.so.1: /lib/libc.so.7: version GLIBC_2.1.3 required by /usr/lib/libstdc++.so.6 not found
/libexec/ld-elf.so.1: /lib/libc.so.7: version GLIBC_2.1.3 required by /usr/lib/libstdc++.so.6 not found
mail# /libexec/ld-elf.so.1: /lib/libc.so.7: version GLIBC_2.1.3 required by /usr/lib/libstdc++.so.6 not found
/libexec/ld-elf.so.1:: Too many arguments.
I remember copying some files from the /usr/compat/linux/ directories to the /lib directories but not sure which ones. If I look at the /usr/lib then I see that the libstdc++ files were created on Friday - the rest in Feb and Jan when the system was installed.
Therefore I assume these are of the files that I copied - possibly overwriting existing files?
What I have done so far is to "Make" and then "Make Install" /usr/src/lib/libc .
This hasn't made any change.
Right now I don't care about Sawmill working, I just want the libraries working again. Once I have fixed that I will compile Sawmill from source becuase before I just tried the binary which was suppose to be for FreeBSD (this was before I knew the source is actually available).
Can anyone tell me how to get this working again? I think it is either just relinking a file or re-installing a core library package but I have no idea which or how to figure it out.
BTW: If I do a ld /usr/lib/libstdc++.so.6
I get:
ld: warning: cannot find entry symbol _start; not setting start address
/usr/lib/libstdc++.so.6: undefined reference to `__ctype_get_mb_cur_max@GL
/usr/lib/libstdc++.so.6: undefined reference to `getenv@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `strcpy@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `write@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `strchr@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `setlocale@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `__freelocale@GLIBC_2.1'
/usr/lib/libstdc++.so.6: undefined reference to `mbsrtowcs@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `fseeko64@GLIBC_2.1'
/usr/lib/libstdc++.so.6: undefined reference to `__wcscoll_l@GLIBC_2.1'
/usr/lib/libstdc++.so.6: undefined reference to `__assert_fail@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `wmemmove@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `putwc@GLIBC_2.2'
/usr/lib/libstdc++.so.6: undefined reference to `strcmp@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `wmemchr@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `__strtold_l@GLIBC_2.1'
/usr/lib/libstdc++.so.6: undefined reference to `fopen64@GLIBC_2.1'
/usr/lib/libstdc++.so.6: undefined reference to `fread@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `setvbuf@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `__strtof_l@GLIBC_2.1'
/usr/lib/libstdc++.so.6: undefined reference to `__strxfrm_l@GLIBC_2.1'
/usr/lib/libstdc++.so.6: undefined reference to `ioctl@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `memchr@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `__towupper_l@GLIBC_2.1'
/usr/lib/libstdc++.so.6: undefined reference to `btowc@GLIBC_2.0'
/usr/lib/libm.so.6: undefined reference to `sprintf@GLIBC_2.0'
/usr/lib/libm.so.6: undefined reference to `__strtold_internal@GLIBC_
/usr/lib/libstdc++.so.6: undefined reference to `__udivdi3@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `fflush@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `__newlocale@GLIBC_2.1'
/usr/lib/libstdc++.so.6: undefined reference to `fputc@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `getc@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `__strtod_l@GLIBC_2.1'
/usr/lib/libstdc++.so.6: undefined reference to `isalnum@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `memset@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `stdin@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `__umoddi3@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `memcpy@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `putc@GLIBC_2.0'
/usr/lib/libc.so.6: undefined reference to `environ'
/usr/lib/libstdc++.so.6: undefined reference to `snprintf@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `read@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `__iswctype_l@GLIBC_2.1'
/usr/lib/libc.so.6: undefined reference to `__progname'
/usr/lib/libstdc++.so.6: undefined reference to `__fxstat64@GLIBC_2.2'
/usr/lib/libstdc++.so.6: undefined reference to `lseek64@GLIBC_2.1'
/usr/lib/libstdc++.so.6: undefined reference to `getwc@GLIBC_2.2'
/usr/lib/libstdc++.so.6: undefined reference to `wcrtomb@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `__strcoll_l@GLIBC_2.1'
/usr/lib/libstdc++.so.6: undefined reference to `wmemcmp@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `__strftime_l@GLIBC_2.3'
/usr/lib/libstdc++.so.6: undefined reference to `fputs@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `wmemset@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `fclose@GLIBC_2.1'
/usr/lib/libstdc++.so.6: undefined reference to `stdout@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `textdomain@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `__duplocale@GLIBC_2.1'
/usr/lib/libstdc++.so.6: undefined reference to `fileno@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `wcscmp@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `wcsnrtombs@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `__wcsxfrm_l@GLIBC_2.1'
/usr/lib/libstdc++.so.6: undefined reference to `__towlower_l@GLIBC_2.1'
/usr/lib/libstdc++.so.6: undefined reference to `__cxa_atexit@GLIBC_2.1.3'
/usr/lib/libstdc++.so.6: undefined reference to `wmemcpy@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `ungetwc@GLIBC_2.2'
/usr/lib/libstdc++.so.6: undefined reference to `poll@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `__errno_location@GLIBC_2.
/usr/lib/libstdc++.so.6: undefined reference to `__wcsftime_l@GLIBC_2.3'
/usr/lib/libstdc++.so.6: undefined reference to `stderr@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `gettext@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `ftello64@GLIBC_2.1'
/usr/lib/libstdc++.so.6: undefined reference to `wcslen@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `strcat@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `fwrite@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `fdopen@GLIBC_2.1'
/usr/lib/libstdc++.so.6: undefined reference to `__nl_langinfo_l@GLIBC_2.2
/usr/lib/libstdc++.so.6: undefined reference to `mbrtowc@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `memmove@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `__uselocale@GLIBC_2.3'
/usr/lib/libstdc++.so.6: undefined reference to `ungetc@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `wctob@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `writev@GLIBC_2.0'
/usr/lib/libm.so.6: undefined reference to `__strtod_internal@GLIBC_2
/usr/lib/libstdc++.so.6: undefined reference to `isspace@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `abort@GLIBC_2.0'
/usr/lib/libstdc++.so.6: undefined reference to `__wctype_l@GLIBC_2.1'
/usr/lib/libstdc++.so.6: undefined reference to `bindtextdomain@GLIBC_2.0'
/usr/lib/libm.so.6: undefined reference to `__strtof_internal@GLIBC_2
/usr/lib/libstdc++.so.6: undefined reference to `mbsnrtowcs@GLIBC_2.0'
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: arnoldPosted on 2009-08-17 at 08:57:02ID: 25115700
Comments are available to members only. Sign up or Log in to view these comments.