Sean Boudreau(deleted)
|
Re: Lua built without DLOPEN?
|
Sean Boudreau(deleted)
06/01/2011 9:08 AM
post86321
|
Re: Lua built without DLOPEN?
On Tue, May 31, 2011 at 06:15:25PM -0400, Saul A wrote:
> Hello,
>
> I'm playing with Lua;and it seems that binary package
> ftp://ftp.netbsd.org/pub/pkgsrc/packages/QNX/i386/6.5.0_head_20101224/la
> ng/lua-5.1.4nb2.tgz
>
> It is unable to load a C DLL, gives error message about dlopen not
> configured. In the source makefile indeed there is option that controls
> this.
>
> Could someone give a hint why this option was excluded for QNX?
It wasn't touched so the generic build was used.
> If this
> was not intentional, could someone fix it?
Yes.
>
> Meanwhile I'd try to build it myself from source on netbsd.org.
> Which of these build targets in the makefile are best suitable for QNX
> 6.5:
> { bsd freebsd generic linux macosx posix } ?
I suggest using the source from the pkgsrc project on foundry27 for now.
Try the attached diff.
>
> Also, I've tried to use Python 2.6 with Ctype module, but could not get
> it to work as well. It fails to load _ctype module with message "library
> load failed". Just cannot get past this. Does it work for anyone?
Seems to work for me:
/home/seanb >/usr/pkg/bin/python2.6
Python 2.6.6 (r266:84292, Dec 29 2010, 15:30:53)
[GCC 4.4.2] on qnx6
Type "help", "copyright", "credits" or "license" for more information.
>>> import _ctypes
>>>
|
Attachment: |
diff
448 bytes
|
|
|