Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news.maxwell.syr.edu!howland.erols.net!newsxfer.itd.umich.edu!qiclab.scn.rain.com!nntp.teleport.com!news.rain.net!not-for-mail From: Mark Swartz <mark@23.com> Newsgroups: comp.unix.bsd.bsdi.misc Subject: compiling perl 5.003 under BSDI 3.0 Date: Tue, 29 Apr 1997 14:17:54 -0700 Organization: RAINet Lines: 42 Message-ID: <33666582.167EB0E7@23.com> NNTP-Posting-Host: pops.23.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0Gold (X11; U; BSD/OS 3.0 i386) Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:6785 I've been trying all morning to get perl5.003 compiled with gdbm support on a box running BSDI 3.0. From reading a thousand FAQs I've gathered that there are well known problems with BSDI's take on dynamic linking, so I've tried to do everything statically, and gotten myself into trouble doing that. Now I'm doing the configuration like this: sh configure -Dcc=gcc -Uusedl ...to tell make to ignore dynamic loading. Everything's cool until I get to the Socket extension (which I'm assuming I need for network applications... is this correct?), and then I get this: gcc -L/usr/X11/lib -L/usr/local/lib -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/FileHandle/FileHandle.a lib/auto/GDBM_File/GDBM_File.a lib/auto/NDBM_File/NDBM_File.a lib/auto/POSIX/POSIX.a lib/auto/SDBM_File/SDBM_File.a lib/auto/Safe/Safe.a lib/auto/Socket/Socket.a `cat ext.libs` -lgdbm -ldl -lm -lc dbmopen.o: Definition of symbol _dbm_open (multiply defined) dbmdelete.o: Definition of symbol _dbm_delete (multiply defined) dbmfetch.o: Definition of symbol _dbm_fetch (multiply defined) dbmstore.o: Definition of symbol _dbm_store (multiply defined) dbmseq.o: Definition of symbol _dbm_firstkey (multiply defined) dbmseq.o: Definition of symbol _dbm_nextkey (multiply defined) dbmclose.o: Definition of symbol _dbm_close (multiply defined) ndbm.o: Definition of symbol _dbm_firstkey (multiply defined) ndbm.o: Definition of symbol _dbm_fetch (multiply defined) ndbm.o: Definition of symbol _dbm_open (multiply defined) ndbm.o: Definition of symbol _dbm_close (multiply defined) ndbm.o: Definition of symbol _dbm_delete (multiply defined) ndbm.o: Definition of symbol _dbm_nextkey (multiply defined) ndbm.o: Definition of symbol _dbm_store (multiply defined) *** Error code 1 Stop. Feh! Does anyone know how to get around this? Or where I can find the sob story of someone else using perl5 on BSDI? Mark