Problems compiling INN 2.2.1

Kelvin B Burton burtonk at mercyships.org
Sat Oct 9 21:08:44 UTC 1999


Russ Allbery wrote:

> Kelvin B Burton <burtonk at mercyships.org> writes:
>
> > /usr/ccs/lib    -    exists    -    no libperl
> > /usr/local/lib    -    exists    -    no libperl
> > /usr/gnu/lib    -    exists    -    no libperl
> > /usr/gnu/lib/perl5/i386-srv4/5.00404/CORE    -    exists    -    contains
> > libperl.so.404
>
> > Yes, the last one - with the extension of ".so.404" So - why isn't it
> > being "found"?
>
> Not sure.  Sounds like something weird with your linker, perhaps?

If I'm compiling with gcc, wouldn't I be linking with an associated linker?
Otherwise I guess it's the std linker distributed with UnixWare 7.  The other
stuff I compile links fine.

> What's
> the normal shared library extension on your system (what is the file name
> of libc if you look in /lib or /usr/lib for it)?
>

-rwxr-xr-x    2 bin      bin          513448 Mar  5  1999 libc.so.1

I read thru the man page for ld - but there's a bunch of stuff I don't
understand!  I noticed that it takes notice of the environment variable
LD_LIBRARY_PATH in addition to the -L entries.  I unset LD_LIBRARY_PATH in case
it was getting in the way - no joy.

I also notice that make sets up 2 -L/usr/gnu/lib/perl5/i386-svr4/5.00404/CORE
entries before -lperl.  I tried removing one - but no change.

I added the -V option to LDFLAGS in the Makefile.global and got

gcc: invalid version number format

where I previously got

UX:ld: ERROR:  fatal error: library not found: -lperl

Guess that says gcc isn't totally happy with my linker?

Suggestions?

Kelvin


>
> --
> Russ Allbery (rra at stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

UX:make: INFO: `all' is up to date.

cd innd ; make  DESTDIR= all ; cd ..
         gcc -G -o innd art.o cc.o chan.o his.o icd.o innd.o lc.o nc.o
newsfeeds
.o ng.o  perl.o proc.o rc.o site.o status.o tcl.o timer.o wip.o
../storage/libst
orage.a ../lib/libinn.a  ../lib/perl.o
-L/usr/gnu/lib/perl5/i386-svr4/5.00404/CO
RE -L/usr/ccs/lib -L/usr/ucblib -L/usr/local/lib -L/usr/gnu/lib
/usr/gnu/lib/per
l5/i386-svr4/5.00404/auto/DynaLoader/DynaLoader.a
-L/usr/gnu/lib/perl5/i386-svr4
/5.00404/CORE -lperl  -ldbm -ldl -lld -lm -lc -lucb -lx -lelf -lnsl -lcrypt
-lr
esolv -lsocket
UX:ld: ERROR:  fatal error: library not found: -lperl


--
{ Kelvin Burton                     Mercy Ships International Office }
{ Development Manager      P.O. Box 2020, Garden Valley, Texas 75771 }
{ burtonk at MercyShips.ORG          ph 903-882-0887   fax 903-963-5029 }
{ www.mercyships.org      www.mercyships.org/ComputerDepartment.html }




More information about the inn-bugs mailing list