Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 May 1996 11:09:09 -0400 (EDT)
From:      Chuck Robey <chuckr@Glue.umd.edu>
To:        FreeBSD Ports <FreeBSD-Ports@FreeBSD.ORG>
Subject:   Tcl again
Message-ID:  <Pine.OSF.3.91.960511110404.4446C-100000@thurston.eng.umd.edu>

next in thread | raw e-mail | index | archive | help
I'm still trying to get the tcl distribution to have the load command 
work.  I'm not sure if it's failing because of my machine setup, or some 
code.  The load command makes use of the dlopen/dlsym calls, and I wrote 
a very simple test program just to do a dlopen, then a dlclose.

This is done on an object file that file reported as:
tclUtil.o: NetBSD/i386 position independent object file not stripped

Just one of the files that tcl uses in the library.  The dlopen call 
fails with the following error return (from dlerror()):
mmap failed for "tclUtil.o" : Invalid argument

Is there something wrong, maybe, with my kernel setup?  Why else might 
the dlopen call fail?

==========================================================================
Chuck Robey chuckr@eng.umd.edu, I run FreeBSD-current on n3lxx + Journey2
 
Three Accounts for the Super-users in the sky,
  Seven for the Operators in their halls of fame,
Nine for Ordinary Users doomed to crie,
  One for the Illegal Cracker with his evil game
In the Domains of Internet where the data lie.
  One Account to rule them all, One Account to watch them,
  One Account to make them all and in the network bind them.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.91.960511110404.4446C-100000>