From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,9ecb51637f1351a8,start X-Google-Attributes: gid1164f8,public From: sasha@raptor.sccs.swarthmore.edu (Alexandre Vorobiev) Subject: help with compiling perl5 under Ultrix: dbm problem Date: 1995/07/23 Message-ID: <3uu1r7$fb@larch.cc.swarthmore.edu>#1/1 X-Deja-AN: 106770387 content-type: text/plain; charset=US-ASCII organization: Swarthmore College, Swarthmore, PA, USA mime-version: 1.0 newsgroups: comp.sys.dec [ Article crossposted from comp.lang.perl.misc ] [ Author was Alexandre Vorobiev ] [ Posted on 22 Jul 1995 19:51:16 GMT ] I have a DECstation 5000/133 running Ultrix 4.2a. I also have perl5.001 distribution, the latest patch level. Compiles fine until the very end. Here is the ld error that I get: ____________________________________________ gcc -o perl perlmain.o libperl.a lib/auto/DynaLoader/DynaLoader.a lib/auto/DB _File/DB_File.a lib/auto/Fcntl/Fcntl.a lib/auto/NDBM_File/NDBM_File.a lib/auto/O DBM_File/ODBM_File.a lib/auto/POSIX/POSIX.a lib/auto/SDBM_File/SDBM_File.a lib/a uto/Socket/Socket.a `cat ext.libs` -ldbm -ldb -lm -lc /usr/lib/cmplrs/cc/ld: /lib/libc.a(ndbm.o): dbm_open: multiply defined /lib/libc.a(ndbm.o): dbm_close: multiply defined /lib/libc.a(ndbm.o): dbm_fetch: multiply defined /lib/libc.a(ndbm.o): dbm_firstkey: multiply defined /lib/libc.a(ndbm.o): dbm_nextkey: multiply defined /lib/libc.a(ndbm.o): dbm_delete: multiply defined /lib/libc.a(ndbm.o): dbm_store: multiply defined collect2: ld returned 1 exit status ______________________________________________ What should I do about that? Thanks, Sasha / sasha@cs.swarthmore.edu -- Alex Vorobiev (Sasha) Raptor sysadmin sasha@raptor.swarthmore.edu Swarthmore College ______________________________________________________________ Alex Vorobiev