Can't resolve defined(?) symbol after ELF symbol versioning

Norikatsu Shigemura nork at
Fri Dec 23 21:00:21 PST 2005

Hi rtld masters!

	I'm restructuring linuxpluginwraapper by supporting ELF
	symbol versioning.  I noticed that there are some problems.

	1. I'll never try to support Flash6, and I'll support Flash7.
	   Because Flash6 required some old(2.0.x) freetype2 functions.
	   I tried to make a compat functions, and noticed that I cannot
	   care these functions:-(.

	   *NOTE* This isn't a issue caused by ELF symbol versioning. *NOTE*

	2. "T" (the symbol is in the text (code) section) symbol
	   cannot be resolved like following behavior.

	$ firefox /home/nork/Flash/AYB2.swf
	LoadPlugin: failed to initialize shared library /usr/X11R6/lib/linux-flashplugin7/ [/usr/X11R6/lib/linux-flashplugin7/ Undefined symbol "_ZN12NetworkASyncD1Ev"]

	(NOTE)_ZN12NetworkASyncD1Ev = NetworkASync::~NetworkASync()

	$ nm -DC /usr/X11R6/lib/linux-flashplugin7/
	000677e0 T NetworkASync::~NetworkASync()

	$ elfdump /usr/X11R6/lib/linux-flashplugin7/
	entry: 757
		st_name: _ZN12NetworkASyncD1Ev
		st_value: 0x677e0
		st_size: 33
		st_shndx: 10

	# I trying to test with
	$FreeBSD: src/libexec/rtld-elf/rtld.c,v 1.109 2005/12/18 19:43:32 kan Exp $
	FreeBSD 7.0-CURRENT FreeBSD 7.0-CURRENT #68: Wed Dec 21 20:56:36 JST 2005     nork at  i386

	# New codes are in following place:
	(NOTE) Alpha-- quality codes,
	  please cd LinuxPluginWrapper/wrappers/browser, and make all install.

	How about should I fix?

More information about the freebsd-current mailing list