You are not logged in.
Pages: 1
I'm running arch linux. I don't know what version. Whenever I try to compile something like postfix or sendmail I get this error.
gcc -Wmissing-prototypes -Wformat -Wno-comment -DHAS_PCRE -g -O -I. -I../../include -DLINUX2 -o master master.o master_conf.o master_ent.o master_sig.o master_avail.o master_spawn.o master_service.o master_status.o master_listen.o master_vars.o master_wakeup.o master_watch.o master_flow.o master_monitor.o ../../lib/libglobal.a ../../lib/libutil.a -L/usr/lib -lpcre -ldb -lnsl -lresolv
/usr/lib/libdb.so: undefined reference to `__fdelt_chk@GLIBC_2.15'
collect2: ld returned 1 exit status
make: *** [master] Error 1
make: *** [update] Error 1
make[1]: Entering directory `/usr/src/build/sendmail-8.14.7/obj.Linux.2.6.35.4-rscloud.x86_64/vacation'
cc -o vacation vacation.o /usr/src/build/sendmail-8.14.7/obj.Linux.2.6.35.4-rscloud.x86_64/libsmdb/libsmdb.a /usr/src/build/sendmail-8.14.7/obj.Linux.2.6.35.4-rscloud.x86_64/libsmutil/libsmutil.a /usr/src/build/sendmail-8.14.7/obj.Linux.2.6.35.4-rscloud.x86_64/libsm/libsm.a -ldb -lresolv -lcrypt -lnsl -ldl
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/../../../../lib/libdb.so: undefined reference to `__fdelt_chk@GLIBC_2.15'
collect2: ld returned 1 exit status
make[1]: *** [vacation] Error 1
make[1]: Leaving directory `/usr/src/build/sendmail-8.14.7/obj.Linux.2.6.35.4-rscloud.x86_64/vacation'
make: *** [all] Error 2
They both seem to want GLIBC 2.15 I guess?
cloud(/usr/src/build/sendmail-8.14.7): ldconfig -v | grep libc
libc.so.6 -> libc-2.14.1.so
...
And I only have 2.14? Is that the problem? And if so can I upgrade to 2.17? Will never versions work or do I actually need 2.15? This is x86.
Thanks.
Offline
I'm running arch linux. I don't know what version.
You should be running the current one ;-) You can tell us which versions of the packages are you using / trying to compile though.
* Always run 'pacman -Syu' before posting on the forums / filing a bug report etc.
* Use PKGBUILDs e.g. from ABS and not compile by hand.
* You should have base and base-devel installed
Last edited by karol (2013-05-23 14:45:43)
Offline
I'm doing a pacman -Syu now. Not sure what it does. It can't get half the stuff.
cloud(/usr/lib): pacman -Syu
:: Synchronizing package databases...
core 103.8K 365.9K/s 00:00:00 [##########################################################] 100%
extra 1426.8K 129.3K/s 00:00:11 [##########################################################] 100%
community 1943.2K 368.7K/s 00:00:05 [##########################################################] 100%
:: The following packages should be upgraded first :
pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] Y
resolving dependencies...
warning: dependency cycle detected:
warning: krb5 will be installed before its libldap dependency
looking for inter-conflicts...
Targets (23): linux-api-headers-3.8.4-1 iana-etc-2.30-3 filesystem-2013.03-2 glibc-2.17-5 bash-4.2.045-1 xz-5.0.4-1 libarchive-3.1.2-1 run-parts-4.3.4-1
ca-certificates-20130119-2 libssh2-1.4.3-1 curl-7.30.0-1 pth-2.0.7-4 libksba-1.3.0-1 libassuan-2.1.0-1 pinentry-0.8.3-1 krb5-1.11.2-4
libsasl-2.1.26-2 libldap-2.4.35-3 dirmngr-1.1.1-1 gnupg-2.0.20-2 gpgme-1.4.1-1 archlinux-keyring-20130406-1 pacman-4.1.1-1
Total Download Size: 15.99 MB
Total Installed Size: 75.09 MB
Proceed with installation? [Y/n] Y
:: Retrieving packages from core...
linux-api-headers-3.8.4-1-x86_64 618.6K 259.6K/s 00:00:02 [##########################################################] 100%
error: failed retrieving file 'iana-etc-2.30-3-any.pkg.tar.xz' from mirror.cs.vt.edu : Service not available, closing control connection
iana-etc-2.30-3-any 319.8K 179.5K/s 00:00:02 [##########################################################] 100%
error: failed retrieving file 'filesystem-2013.03-2-x86_64.pkg.tar.xz' from mirror.cs.vt.edu : Service not available, closing control connection
filesystem-2013.03-2-x86_64 5.9K 96.6K/s 00:00:00 [##########################################################] 100%
error: failed retrieving file 'glibc-2.17-5-x86_64.pkg.tar.xz' from mirror.cs.vt.edu : Service not available, closing control connection
glibc-2.17-5-x86_64 7.9M 177.1K/s 00:00:46 [##########################################################] 100%
error: failed retrieving file 'bash-4.2.045-1-x86_64.pkg.tar.xz' from mirror.cs.vt.edu : Service not available, closing control connection
bash-4.2.045-1-x86_64 789.1K 310.6K/s 00:00:03 [##########################################################] 100%
error: failed retrieving file 'xz-5.0.4-1-x86_64.pkg.tar.xz' from mirror.cs.vt.edu : Service not available, closing control connection
Is this bad? "failed retrieving..."?
Offline
Does this mean I do not have base and base-devel installed?
cloud(/temp): pacman -Q base
error: package "base" not found
cloud(/temp): pacman -Q base-devel
error: package "base-devel" not found
Offline
I think you need to refresh your memory / re-read the wiki and the manpages, if you literally don't know what 'pacman -Syu' does.
You're running a very old installation and updating it won't be easy. You need to read the news from Arch front page and respond to pacman prompts.
But first, you should update your mirrorlist.
I'm not sure if it's worth upgrading such an old installation, maybe it would be easier to install Arch anew (and keep it updated).
Offline
Does this mean I do not have base and base-devel installed?
cloud(/temp): pacman -Q base
error: package "base" not foundcloud(/temp): pacman -Q base-devel
error: package "base-devel" not found
base and base-devel are package groups, not packages, you can use e.g 'pacman -Qg base-devel' to see which packages from this group you have installed.
Please use [ code ] tags for posting snippets of code https://bbs.archlinux.org/help.php#bbcode
like this
It makes the code more readable and - in case of longer listings - more convenient to scroll through.
Offline
Is this bad? "failed retrieving..."?
You should try other mirrors, as karol has said and please read all news on archlinux.org while you perform the updates.
Last edited by progandy (2013-05-23 15:44:30)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
I'm not sure if it's worth upgrading such an old installation, maybe it would be easier to install Arch anew (and keep it updated).
This is, by far, the best suggestion in this thread. Arch is not meant to be a "set it and forget it" type OS. If you haven't updated since 2011 (glibc 2.15.3 was built for Arch on 30-Dec-2011), it's going to be very difficult to get it up to date now. It will be much simpler and faster to just reinstall.
If you're not going to update the OS every couple of months (or, preferably, more often that that), you may want to look at a different distro.
Last edited by Scimmia (2013-05-23 20:15:51)
Offline
Pages: 1