tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: How to get shlib version number? (SOLVED)
@ 2005-11-25 12:51 Nikola Milutinovic
  0 siblings, 0 replies; only message in thread
From: Nikola Milutinovic @ 2005-11-25 12:51 UTC (permalink / 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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-11-25 12:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-25 12:51 SUMMARY: How to get shlib version number? (SOLVED) Nikola Milutinovic

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