Subject: Re: How to compile or link shared object (.so) files by libtool?
To: Nick Hudson <skrll@netbsd.org>
From: Rui-Xiang Guo <rxg@ms25.url.com.tw>
List: tech-pkg
Date: 04/14/2001 00:45:31
> I think you are after the -module -avoid-version options. Try 
> 
> 	info libtool
> 
> for the libtool documentation

Yes, I have read it. But I still got a problem.
For example:
I build the shared obj successfully with this command:
# libtool cc -module -avoid-version -o gen_inp.la gen_inp.lo -rpath /usr/X11R6/lib/X11/xcin
then
# libtool --mode=install install gen_inp.la /usr/X11R6/lib/X11/xcin
I got gen_inp.a gen_inp.la and gen_inp.so in /usr/X11R6/lib/X11/xcin
Finally, I run the program 'xcin' to load gen_inp.so but it print such error
message: 
/usr/X11R6/lib/X11/xcin/gen_inp.so: Undefined PLT symbol "get_objenc" (reloc type = 7, symnum = 17)

How to fix it? Need for someone's help? Thanks!