SPUG:Curses add on problem
Dahlke, Doug
DFDahlke at shieldsbag.com
Thu May 1 19:08:07 CDT 2003
Help please,
I'm new to the list. I've been using Perl for 8 years, but at my
age I tend to forget a thing or two now and then. I still develop for
perl under Unix but have a littke TkPerl under my belt. The Cdk or
Curses Development Kit gives Curses pretty much all the toys that a
regular X or M$ window has. At least it is supposed to have list
boxes, etc. I installed the C version of the cdk library. Believe me
the c-code is ugly to test this.. I tried, but being on SCO Unixware
7.1 makes compiling code a bit of a pain. I then followed the Solaris
notes for adding the Cdk package to perl.. I did the standard packing
install from CPAN and in trying to run the fulldemo/cdktest I get the
following error message.
Can't load
'/usr/local/lib/perl5/site_perl/5.005/i386-svr5/auto/Cdk/Cdk.so' for
module Cdk: dynamic linker: /usr/bin/perl: relocation error: symbol
not found: acs32map; referenced from:
/usr/local/lib/perl5/site_perl/5.005/i386-svr5/auto/Cd
k/Cdk.so at /usr/local/lib/perl5/5.00502/i386-svr5/DynaLoader.pm line
168.
at ./cdkdemo line 11
BEGIN failed--compilation aborted at ./cdkdemo line 11.
I've seen this before and don't remember how I fixed it. I do
remember I was working on a module at the time. Has anybody out there
ran into this? Here is the info on my perl.
Summary of my perl5 (5.0 patchlevel 5 subversion 2) configuration:
Platform:
osname=svr5, osvers=uw7, archname=i386-svr5
uname='unixware scoot 5 7 i386 x86at sco unix_svr5 '
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
Compiler:
cc='/bin/cc', optimize='-g', gccversion=
cppflags='-I/usr/include -I/usr/ucbinclude -I/usr/local/include'
ccflags ='-I/usr/include -I/usr/ucbinclude -I/usr/local/include'
stdchar='unsigned char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
alignbytes=4, usemymalloc=y, prototype=define
Linker and Libraries:
ld='/bin/cc', ldflags ='-L/usr/ccs/lib -L/usr/ucblib
-L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib /usr/ucblib
libs=-lsocket -lnsl -ldbm -ldl -lld -lm -lc -lcrypt -lucb -lx
libc=, so=so, useshrplib=true, libperl=libperl.so.5.52
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-KPIC', lddlflags='-G -L/usr/ccs/lib -L/usr/ucblib
-L/usr/local/ lib'
Characteristics of this binary (from libperl):
Built under svr5
Compiled at Nov 30 1998 14:15:54
%ENV:
PERL_READLINE_NOWARN=""
@INC:
/usr/local/lib/perl5/5.00502/i386-svr5
/usr/local/lib/perl5/5.00502
/usr/local/lib/perl5/site_perl/5.005/i386-svr5
/usr/local/lib/perl5/site_perl/5.005
.
Tim told me there were a bunch of perlers over there and he was sure
one of you could help. I've also looked at Curses::Forms, but this
looks a bit more robust in toys you can use.. Any help would be
greatly appreciated. If anyone needs DBI help, I'd be glad to help
anytime.
Thanks,
Doug Dahlke
Shields Bag & Printing
Yakima
More information about the spug-list
mailing list