[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: failure when linking mozilla 0.8.1



On Thu, Mar 29, 2001 at 09:58:16PM +1000, Andrew 'ashridah' Pilley wrote:
> 
> ./mozilla-bin: error while loading shared libraries: /usr/local/src/mozilla/dist/bin/libnspr4.so: undefined symbol: fstat
> 

I see the problem. This is not a gcc bug, nor any other part of the tool
chain. When libnspr4 builds, it does so with this line:

/usr/bin/ld -shared -soname libplds4.so -o libplds4.so ./plarena.o ./plhash.o ./plvrsion.o   -ldl

It needs to use gcc to link, or atleast add -lc to the link line.

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'



Reply to: