I was compiling something yesterday and was running into an error where libtool was linking to the wrong gcc version:
Code: Select all
libtool: link: g++ -shared -nostdlib /usr/lib64/gcc/x86_64-slackware-linux/4.4.2/../../../../lib64/crti.o
Code: Select all
g++: /usr/lib64/gcc/x86_64-slackware-linux/4.4.2/../../../../lib64/crti.o: No such file or directory
Editing /usr/bin/libtool and replacing all references to 4.4.2 with 4.4.3 fixes this issue.
Is this a bug in libtool or did something go wrong with an upgrade? Can someone confirm?
Thanks