hi,

after staring a bit at the 'old' v0.9.7 src, i thought:

==================================================================
(EDITOR) ./openssl-0.9.8/Makefile.shared
@198:

        # For Darwin AKA Mac OS/X (dyld)
        link_o.darwin:
                @ $(CALC_VERSIONS); \
                SHLIB=lib$(LIBNAME); \
                SHLIB_SUFFIX=.dylib; \
                ALLSYMSFLAGS='-all_load'; \
                NOALLSYMSFLAGS=''; \
                SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS)"; \
                if [ -n "$(LIBVERSION)" ]; then \
                        SHAREDFLAGS="$$SHAREDFLAGS -current_version 
$(LIBVERSION)"; \
                fi; \
                if [ -n "$$SHLIB_SOVER_NODOT" ]; then \
                        SHAREDFLAGS="$$SHAREDFLAGS -compatibility_version 
$$SHLIB_SOVER_NODOT"; \
                fi; \
+++ SHAREDFLAGS="$$SHAREDFLAGS -install_name ${INSTALLTOP}/lib/${SHLIB}${SHLIB_SUFFIX}";\
                $(LINK_SO_O)
        link_a.darwin:
                @ $(CALC_VERSIONS); \
                SHLIB=lib$(LIBNAME); \
                SHLIB_SUFFIX=.dylib; \
                ALLSYMSFLAGS='-all_load'; \
                NOALLSYMSFLAGS=''; \
                SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS)"; \
                if [ -n "$(LIBVERSION)" ]; then \
                        SHAREDFLAGS="$$SHAREDFLAGS -current_version 
$(LIBVERSION)"; \
                fi; \
                if [ -n "$$SHLIB_SOVER_NODOT" ]; then \
                        SHAREDFLAGS="$$SHAREDFLAGS -compatibility_version 
$$SHLIB_SOVER_NODOT"; \
                fi; \
+++ SHAREDFLAGS="$$SHAREDFLAGS -install_name ${INSTALLTOP}/lib/${SHLIB}${SHLIB_SUFFIX}";\
                $(LINK_SO_A)
        link_app.darwin:    # is there run-path on darwin?
                $(LINK_APP)
==================================================================

should do the trick ...

but, now, i'm seeing various make errors of the sort:

        ...
        making all in crypto/pqueue...
        make[3]: Nothing to be done for `all'.
        if [ -n "libcrypto.0.9.8.dylib libssl.0.9.8.dylib" ]; then \
                        (cd ..; make libcrypto.0.9.8.dylib); \
        fi
        make[3]: `libcrypto.0.9.8.dylib' is up to date.
        making all in ssl...
        if [ -n "libcrypto.0.9.8.dylib libssl.0.9.8.dylib" ]; then \
                        (cd ..; make libssl.0.9.8.dylib); \
        fi
        nm: no name list
ld: ./libcrypto.dylib can't be linked because it has the same install_name (/usr/local/ssl098/lib/) as the output
        /usr/bin/libtool: internal link edit command failed
        making all in engines...
        ...

i'm missing something in the naming convention ...

richard
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to