Re: load fails to load a .so file on Solaris/Sparc with Tcl 8.5Hi



On Apr 30, 8:59 am, Kish Shen <kishs...@xxxxxxxxx> wrote:

In fact, I found that I am unable to load any .so file on Solaris from
Tcl 8.5, even a simple dummy one

As a counter-point, I've been using SPARC Solaris 2.8 and 2.9 for
years with Tcl 8.5, and doing nothing special, have no problem
building standard Tcl extensions that when installed can be loaded.

The main symbol referenced is peculiar - that is what one codes in a
mainline C application. There shouldn't be references in an extension
to that.

Could it be that the .so files that you are creating are missing some
sort of flag that indicates they are an extension?

Are you using the latest Tcl Extension Architecture (see for example
the sample extension available at tcl.sf.net) layout, etc. to build
your extensions?
.



Relevant Pages

  • Re: Goodbye TCL
    ... anyone that likes TCL and TK and wants to see ... support for the language increase rather then decrease and usage increase ... Unfortunately it is not the TCL core, it comes with restrictions, anf it ... "distribution of record" for what clearly many users want - an extension ...
    (comp.lang.tcl)
  • Re: Porting *nix binary extensions to Win32
    ... >example extension I just wrote under OS X and compile it on Windows. ... Tcl extensions on Windows, circa 2006, as I understand them: ... Note that even if you're using MSVC6, you still need MinGW ... > Also, the comment "If you use Borland, ...
    (comp.lang.tcl)
  • Re: Distribution mechanisms
    ... Let's start by defining what you mean by "distribution mechanism". ... For tcl, this has been a long term complaint. ... Mr. Nash as "file format and the Tcl commands used to load a new ... extension directory layouts, but required one to use a special starkit ...
    (comp.lang.tcl)
  • Re: Tk_Window and TkWindow
    ... of the Tk public interface? ... So, if I implement the workaround now, I don't care if it is going to be fixed in the next stable tcl version. ... Let alone the fact that I was developing it in March 2006 - perhaps I am not in the mood to make changes two and three years after the period I had time to spend on an extension. ...
    (comp.lang.tcl)
  • Re: Understanding STUBS
    ... e> You develop with MFC on windows, using their Visual Studio - and don't ... e> Dynamic libraries behave somewhat like executables ... e> programs that have built-in Tcl. ... An *extension* linked against tcl$stub.lib ...
    (comp.lang.tcl)