taken from fedora --- bzip2-1.0.2/Makefile-libbz2_so +++ bzip2-1.0.2/Makefile-libbz2_so @@ -23,3 +23,3 @@ all: $(OBJS) - $(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.3 $(OBJS) + $(CC) -shared -Wl,-soname -Wl,libbz2.so.1 -o libbz2.so.1.0.3 $(OBJS) $(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.2