🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #26607

Re: Compiling perl hooks in 1.7.2.insync on Solaris

#26607
From: Darrin R. Woods
Date: Tue, 03 Mar 1998 00:00
35 lines
1678 bytes
On Mon, 02 Mar 1998 18:21:34 GMT, andy@dgsys.com (Andy Banks) wrote:

>Not being very handy with C, I'm hoping someone can point me in the right 
>direction for helping me compile the perl hooks into INND-1.7.2.insync so I 
>can make use of CleanFeed.  Here's the lines from my config.data:
>
>PERL_LIB                -L/usr/local/lib/perl5/sun4-solaris/5.00404/CORE 
>-lperl -lm
>
>PERL_INC                -I/usr/local/lib/perl5/sun4-solaris/5.00404/CORE
>
>and I bomb during the linking with this error:
>
>gcc -g -o innd art.o cc.o chan.o his.o icd.o innd.o lc.o nc.o newsfeeds.o ng
>o  proc.o rc.o site.o tcl.o perl.o timer.o ../libinn.a  
>-L/usr/local/lib/perl5/sun4-solaris/5.00404/CORE -lperl -lm -lnsl -lsocket 
>-lelf
>Undefined                       first referenced
> symbol                             in file
>boot_DynaLoader                     ../libinn.a(perl.o)

You need to make sure that you have all of the libraries.

Copy the response from this command into the PERL_LIB:

perl -MExtUtils::Embed -e ldopts

and then recompile, all should work fine.





Technical Details
Message-ID: <34fc6106.18801196@news.netgazer.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <6dete2$1de$1@news.dgsys.com>

Show Full Headers
Complete Article Headers
Message-ID: <34fc6106.18801196@news.netgazer.net>
Subject: Re: Compiling perl hooks in 1.7.2.insync on Solaris
Date: Tue, 03 Mar 1998 00:00:00 +0000
From: darrin.woods@mci.com (Darrin R. Woods)
References: <6dete2$1de$1@news.dgsys.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 330511929
Organization: MCI - Developers Lab
Newsgroups: news.software.nntp