Closed p5pRT closed 20 years ago
To: perlbug@perl.com Subject: dynamic linker: /usr/local/bin/perl: symbol not found: dlopen Reply-To: bert_tijhuis@wavin.com
This is a bug report for perl from bert_tijhuis@wavin.com\, generated with the help of perlbug 1.26 running under perl 5.00503.
----------------------------------------------------------------- [Please enter your report here] After submitting a program the next line appear on the screen:
dynamic linker: /usr/local/bin/perl: symbol not found: dlopen -sh: 8527 Killed
when the perl program contains
use IO:Socket
What can I do?
[Please do not change anything below this line] -----------------------------------------------------------------
--- Site configuration information for perl 5.00503:
Configured by hops at Fri Jul 23 17:45:58 PDT 1999.
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration: Platform: osname=sco\, osvers=3.2v5.0.5\, archname=i386-sco uname='sco_sv charmstr 3.2 5.0.5 i386 ' hint=recommended\, useposix=true\, d_sigaction=define usethreads=undef useperlio=undef d_sfio=undef Compiler: cc='cc'\, optimize='-O0'\, gccversion= cppflags='-U M_XENIX -D PERL_SCO -D PERL_SCO5 -w0 -belf -I/usr/local/include' ccflags ='-U M_XENIX -D PERL_SCO -D PERL_SCO5 -w0 -belf -I/usr/local/include' stdchar='unsigned char'\, d_stdstdio=undef\, usevfork=false intsize=4\, longsize=4\, ptrsize=4\, doublesize=8 d_longlong=undef\, longlongsize=\, d_longdbl=define\, longdblsize=12 alignbytes=4\, usemymalloc=y\, prototype=define Linker and Libraries: ld='cc'\, ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib libs=-lintl -lsocket -lnsl -lndbm -lgdbm -ldbm -ldb -lm -lcrypt -lPW -lx libc=/lib/libc.so\, so=so\, useshrplib=true\, libperl=libperl5.so Dynamic Linking: dlsrc=dl_dlopen.xs\, dlext=so\, d_dlsymun=undef\, ccdlflags='-Bexport -L/usr/local/lib' cccdlflags='-Kpic'\, lddlflags='-G -L/usr/local/lib'
Locally applied patches:
--- @INC for perl 5.00503: /usr/local/lib/perl5/5.00503/i386-sco /usr/local/lib/perl5/5.00503 /usr/local/lib/perl5/site_perl/5.005/i386-sco /usr/local/lib/perl5/site_perl/5.005 .
--- Environment for perl 5.00503: HOME=/ LANG (unset) LANGUAGE (unset) LD_LIBRARY_PATH (unset) LOGDIR=/u/wavprs/@log
PATH=.:/bin:/etc:/usr/bin:/tcb/bin:/u/tools:/u/scripts:/u/wavprs/@bin: /u/wavprs/@scripts PERL_BADLANG (unset) SHELL=/bin/sh
At 17:10 +0200 2000-06-23\, BERT_TIJHUIS%WAVINBV@wavin.com wrote:
After submitting a program the next line appear on the screen​: dynamic linker​: /usr/local/bin/perl​: symbol not found​: dlopen \-sh​: 8527 Killed when the perl program contains use IO​:Socket What can I do?
Although the configuration information in your bug report looks superficially fine\, I don't really know what I'm talking about\, as it's years since I touched an SCO system. If you built perl yourself\, and ran the Configure program interactively\, it's possible you gave a bad answer to one of the questions; try running it with default answers and see if the resulting perl works any better:
make clean rm -f config.sh Policy.sh sh Configure -de make all test
should do the trick.
You might also want to try building perl 5.6.0\, the current stable version\, rather than the previous version\, 5.005_03. (Get it from \<http://www.cpan.org/src/stable.tar.gz>.) Or\, as a real cop-out\, there seems to be a pre-compiled version at \<http://www.sco.com/skunkware/osr5/interp/perl/perl-5.005.tar.gz>\, although I don't know whether it's 5.005_03 or some earlier version.
Apart from that\, may I suggest that\, if you don't get a useful reply from your perlbug submission\, you ask the same question in private mail to the people who have recently modified the SCO hints file\, hints/sco.sh? You might also like to point them at your original message on the mail list archive at \<http://www.xray.mpe.mpg.de/cgi-bin/w3glimpse2html/perl5-porters/2000-06/msg00585.html>.
Good luck.
Migrated from rt.perl.org#3414 (status was 'resolved')
Searchable as RT3414$