Date: Sat, 21 Sep 1996 20:00:18 -0700 From: Amancio Hasty <hasty@rah.star-gate.com> To: Kim Culhan <kimc@w8hd.org> Cc: multimedia@freebsd.org Subject: Re: vic-2.8 Message-ID: <199609220300.UAA01007@rah.star-gate.com> In-Reply-To: Your message of "Sat, 21 Sep 1996 19:08:16 EDT." <Pine.BSI.3.95.960921190500.2345A-100000@moonpie.w8hd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, You can't generate a static binary with the way that tcl was build in your system. Briefly, tcl was compiled to support loadable modules which means that you need dl??? functions. These functions are loaded at link time and are not part of any library. So try to compile vic as a shareable module and you will not get the undefined functions. The compile time option which tells gcc to build a static binary is "-static". Enjoy, Amancio >From The Desk Of Kim Culhan : > > I'm having trouble compiling vic-2.8: > > tclLoadDl2.o: Undefined symbol `_dlopen' referenced from text segment > tclLoadDl2.o: Undefined symbol `_dlsym' referenced from text segment > tclLoadDl2.o: Undefined symbol `_dlsym' referenced from text segment > tclLoadDl2.o: Undefined symbol `_dlerror' referenced from text segment > > Any info on which lib it is missing is greatly appreciated. > > regards > kim > > -- > kimc@w8hd.org > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609220300.UAA01007>