Hi Ethan, Please keep the mailing list copied; this is useful for others as well. Thank you.
* Ethan A Burns wrote on Thu, Oct 27, 2005 at 03:01:56AM CEST: > > The link line that is failing is: > /bin/sh ../libtool --mode=link gcc -g -pipe -Wall -Werror -I../src -g -O2 > -I/usr/include/SDL -D_REENTRANT -L/usr/lib -Wl,-rpath,/usr/lib -lSDL > -lpthread -o test test.o -L../src -lemf -lSDL -lpthread -lGLU -lGL > gcc -g -pipe -Wall -Werror -I../src -g -O2 -I/usr/include/SDL -D_REENTRANT > -Wl,-rpath -Wl,/usr/lib -o .libs/test test.o -L/usr/lib > -L/home/eaburns/emf-0.9_1/src /home/eaburns/emf-0.9_1/src/.libs/libemf.so > -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib > -L/usr/lib/gcc-lib/i686-pc-linux-gnu/../../../i686-pc-linux-gnu/lib > -L/usr/X11R6/lib /usr/lib/libSDL.so > //usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libstdc++.so -lgcc_s -lc > /usr/lib/libaa.so -lncurses /usr/lib/libGLU.so -lSM -lICE -lXmu -lXt -lXi > -lpthread /usr/lib/libGL.so -lm -lX11 -lXext -ldl -Wl,--rpath > -Wl,//usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130 > gcc: //usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libstdc++.so: No such > file or directory > make[1]: *** [test] Error 1 > > Thank you for looking at my problem, if there is any more information > that you may need I will be glad to try and find it for you. I think I know what's happening: the libstdc++ is picked up as a dependency library for one of the libraries you link against. To find out which one, you could check each library's .la file, if present and where found. However, we'll be able to pinpoint it easily if you just send the output of this command back (it's above line with --debug added), when executed in the right directory: /bin/sh ../libtool --debug --mode=link gcc -g -pipe -Wall -Werror -I../src -g -O2 -I/usr/include/SDL -D_REENTRANT -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -o test test.o -L../src -lemf -lSDL -lpthread -lGLU -lGL You can compress (bzip2, gzip) if you like. One more thing: I believe you should get rid of the -L/usr/lib -Wl,-rpath,/usr/lib part, wherever that came from. Probably sdl-config --libs gave you that, unnecessarily. Cheers, Ralf _______________________________________________ Bug-libtool mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-libtool
