[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] "use" order matters for zmq egg .... why?
From: |
Matt Welland |
Subject: |
[Chicken-users] "use" order matters for zmq egg .... why? |
Date: |
Tue, 6 Nov 2012 09:58:23 -0700 |
I'm trying to make some deployable installs and I'm having trouble with the zmq egg. The systems I'm installing on do not have sqlite3, libuuid or iup. I think I'm close but not quite there yet. The scripts I use to install chicken + eggs and then do the deploy are attached. Below is what I'm seeing. If I load zmq first it fails. If I load sqlite3 and iup first then it works. However reordering the use statements in my program to be deployed did not work. Anyone have any ideas what might be going wrong?
=== use zmq : fails! ===
> csi -no-init
CHICKEN
(c)2008-2012 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 4.8.0 (rev 0db1908)
linux-unix-gnu-x86-64 [ 64bit manyargs dload ptables ]
compiled 2012-09-24 on debian (Linux)
#;1> (use zmq)
; loading /tmp/mrwellan/targ/lib/chicken/6/zmq.import.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/chicken.import.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/foreign.import.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/data-structures.import.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/lolevel.import.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/foreigners.import.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/srfi-1.import.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/srfi-18.import.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/srfi-13.import.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/zmq.so ...
Error: (load) unable to load compiled module - /tmp/mrwellan/targ/lib/chicken/6/zmq.so: undefined symbol: _ZTVN10__cxxabiv121__vmi_class_type_infoE: "/tmp/mrwellan/targ/lib/chicken/6/zmq.so"
Call history:
<syntax> (##core#begin (##core#begin (##core#begin (##sys#require (quote zmq))) (import zmq)) (##core#undefin......
<syntax> (##core#begin (##core#begin (##sys#require (quote zmq))) (import zmq))
<syntax> (##core#begin (##sys#require (quote zmq)))
<syntax> (##sys#require (quote zmq))
<syntax> (quote zmq)
<syntax> (##core#quote zmq)
<syntax> (import zmq)
zmq.import.scm:3: eval
<syntax> (import (except chicken errno) scheme foreign data-structures lolevel foreigners srfi-1 srfi-18 srfi......
<syntax> (import scheme chicken foreign)
<syntax> (##core#undefined)
<syntax> (##core#undefined)
zmq.import.scm:13: ##sys#register-compiled-module
<syntax> (##core#undefined)
<syntax> (##core#undefined)
<eval> (##sys#require (quote zmq)) <--
#;1>
====== sqlite3 => iup => zmq : works! =====
> csi -no-init
CHICKEN
(c)2008-2012 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 4.8.0 (rev 0db1908)
linux-unix-gnu-x86-64 [ 64bit manyargs dload ptables ]
compiled 2012-09-24 on debian (Linux)
#;1> (use sqlite3)
; loading /tmp/mrwellan/targ/lib/chicken/6/sqlite3.import.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/chicken.import.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/foreign.import.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/srfi-1.import.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/srfi-13.import.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/srfi-18.import.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/srfi-69.import.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/data-structures.import.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/extras.import.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/lolevel.import.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/type-errors.import.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/type-checks.import.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/synch.import.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/miscmacros.import.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/matchable.import.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/sql-null.import.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/sqlite3.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/type-errors.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/type-checks.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/synch.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/matchable.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/sql-null.so ...
#;2> (use iup)
; loading /tmp/mrwellan/targ/lib/chicken/6/iup.import.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/iup-base.import.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/srfi-42.import.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/irregex.import.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/posix.import.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/iup-controls.import.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/iup-dialogs.import.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/iup.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/srfi-42.so ...
#;3> (use zmq)
; loading /tmp/mrwellan/targ/lib/chicken/6/zmq.import.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/foreigners.import.so ...
; loading /tmp/mrwellan/targ/lib/chicken/6/zmq.so ...
#;4>
======what I get if I compile for deployment and run====
> megatest
Error: (load) unable to load compiled module - /tmp/mrwellan/targ/lib/chicken/6/zmq.so: undefined symbol: _ZTVN10__cxxabiv121__vmi_class_type_infoE: "/tmp/mrwellan/targ/lib/chicken/6/zmq.so"
Call history:
common.scm:61: make-hash-table
common.scm:63: make-hash-table
margs.scm:13: make-hash-table
keys.scm:15: ##sys#require
keys.scm:15: ##sys#require
keys.scm:15: ##sys#require
keys.scm:39: make-hash-table
ods.scm:10: ##sys#require
ods.scm:10: ##sys#require
db.scm:16: ##sys#require
db.scm:19: ##sys#require
db.scm:19: ##sys#require
db.scm:19: ##sys#require
db.scm:19: ##sys#require
db.scm:19: ##sys#require
db.scm:22: ##sys#require <--
deploy.sh
Description: Bourne shell script
installall.sh
Description: Bourne shell script
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Chicken-users] "use" order matters for zmq egg .... why?,
Matt Welland <=