tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Nikola Milutinovic <Nikola.Milutinovic@ev.co.yu>
Subject: SUMMARY: How to get shlib version number? (SOLVED)
Date: Fri, 25 Nov 2005 13:51:24 +0100	[thread overview]
Message-ID: <438708CC.6040203@ev.co.yu> (raw)

Hi all.

Thanks to Chris Adams <cmadams@hiwaay.net> and Steve VanDevender 
<stevev@hexadecimal.uoregon.edu>, who responded.

Chris nailed it: "odump -D | grep IVERSION".

This revealed a funny thing: IVERSION: "::0.9.8" - definitely a muckery 
in the Makefile. I have identified the culprit, ./Makefile.shlib, which 
also had one other ommision, resulting in an error message on my system. 
I'll send the patch file to openssl.org, but for all of you here, I'm 
also attaching it to this message.

Nix.

P.S. Since attachments are not allowed, I'm pasting it here

*** Makefile.shared_ORIG	Fri Nov 25 12:50:29 2005
--- Makefile.shared	Fri Nov 25 09:08:07 2005
***************
*** 275,281 ****
  		NOALLSYMSFLAGS='-none'; \
  		SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared"; \
  		if [ -n "$$SHLIB_HIST" ]; then \
! 			SHAREDFLAGS="$$SHAREDFLAGS -set_version \"$$SHLIB_HIST\""; \
  		fi; \
  	fi; \
  	$(LINK_SO_O)
--- 275,281 ----
  		NOALLSYMSFLAGS='-none'; \
  		SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared"; \
  		if [ -n "$$SHLIB_HIST" ]; then \
! 			SHAREDFLAGS="$$SHAREDFLAGS -set_version $$SHLIB_HIST"; \
  		fi; \
  	fi; \
  	$(LINK_SO_O)
***************
*** 296,302 ****
  		NOALLSYMSFLAGS='-none'; \
  		SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared"; \
  		if [ -n "$$SHLIB_HIST" ]; then \
! 			SHAREDFLAGS="$$SHAREDFLAGS -set_version \"$$SHLIB_HIST\""; \
  		fi; \
  	fi; \
  	$(LINK_SO_A)
--- 296,302 ----
  		NOALLSYMSFLAGS='-none'; \
  		SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared"; \
  		if [ -n "$$SHLIB_HIST" ]; then \
! 			SHAREDFLAGS="$$SHAREDFLAGS -set_version $$SHLIB_HIST"; \
  		fi; \
  	fi; \
  	$(LINK_SO_A)
***************
*** 538,544 ****
  	expr $(PLATFORM) : '.*ia64' > /dev/null && SHLIB=lib$(LIBNAME).so; \
  	$(SYMLINK_SO)
  # The following lines means those specific architectures do no symlinks
! symlink.cygwin symlib.alpha-osf1 symlink.tru64 symlink.tru64-rpath:
  
  # Compatibility targets
  link_o.bsd-gcc-shared link_o.linux-shared link_o.gnu-shared: link_o.gnu
--- 538,544 ----
  	expr $(PLATFORM) : '.*ia64' > /dev/null && SHLIB=lib$(LIBNAME).so; \
  	$(SYMLINK_SO)
  # The following lines means those specific architectures do no symlinks
! symlink.cygwin symlink.alpha-osf1 symlink.tru64 symlink.tru64-rpath:
  
  # Compatibility targets
  link_o.bsd-gcc-shared link_o.linux-shared link_o.gnu-shared: link_o.gnu



                 reply	other threads:[~2005-11-25 12:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox