http://people.debian.org/~lucas/logs/2008/04/30/libxslt-ruby_0.9.2-4_sid32-dpkg.buildlog cc -shared -o libxslt.so extfunc.o parameters.o parser.o rb_utils.o xslt.o -L"." -L"/usr/lib" -L"/usr/lib" -L. -rdynamic -Wl,-export-dynamic -L/usr/lib -lxslt -lxml2 -lexslt -lruby1.8 -lpthread -ldl -lcrypt -lm -lc ./libxslt.so: file not recognized: File truncated collect2: ld returned 1 exit status work arounds: - replacing "-o libxslt.so" with "-o libfoo.so" - removing -L. - omitting -lxslt regression compared to 2.18.1
The output has the same name as an input file.