With the 2.3.2 source on a Solaris 9 machine and the
following configure:
./configure --prefix=/opt/python-2.3.2 --enable-shared
'make; make install' will result in an error when the
Makefile tries to link the .so file, because INSTSONAME
= LDLIBRARY = libpython$(VERSION).so, and the linker
tries to do:
$(INSTALL_SHARED) libpython$(VERSION)$(SO)
$(DESTDIR)$(LIBDIR)/$(INSTSONAME);
(cd $(DESTDIR)$(LIBDIR); $(LN) -sf $(INSTSONAME)
libpython$(VERSION)$(SO));
This is all fine and good, except that
libpython$(VERSION)$(SO) is the same as INSTSONAME, and
you end up doing:
ln -sf libpython2.3.so libpython2.3.so
...which rightfully returns an error. Looking at the
generated Makefile on Linux, the value of INSTSONAME is:
INSTSONAME= libpython$(VERSION).so.1.0
...instead of this value from Solaris:
INSTSONAME= $(LDLIBRARY)
|