01-23-04 10:36 PM
Materialised wrote:quote:
> Hi everyone.
>
> Gcc has just started acting really funny on me. I am using
> gcc --ver
> Using built-in specs.
> Configured with: FreeBSD/i386 system compiler
> Thread model: posix
> gcc version 3.2.2 [FreeBSD] 20030205 (release)
>
> on FreeBSD 5.1
>
> The problem is when users on the system try to compile any c program the
> get the error message
>
> /usr/bin/ld: cannot find -lgcc
>
> Does anyone know what causes this, I have searched google groups, but it
> seems that all references to this are for windows machines and lcc.
Well I have figured out my problem.
I created the login group users in my login.conf with the following
properties.
user:\
:passwd_format=md5:\
:copyright=/etc/COPYRIGHT:\
:welcome=/etc/motd:\
:setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\
:path=/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin
/usr/local/bin /usr/X11R6/bin ~/bin:\
:nologin=/var/run/nologin:\
:cputime=3h:\
:datasize=unlimited:\
:stacksize=unlimited:\
:memorylocked=unlimited:\
:memoryuse=20M:\
:filesize=50M:\
:coredumpsize=5M:\
:openfiles=10:\
:maxproc=10:\
:sbsize=unlimited:\
:vmemoryuse=75M:\
:priority=0:\
:ignoretime@:\
:umask=022:
Now members of that group cant access the files needed for gcc.
To fix this should I simply add /usr/lib/ to the path?
--
Materialised
Please note the email address this message uses in its headers is a spam
trap.
If you wish to contact me, you can do so at the following address:
bWlja0Bjb2RlZ3VydXMub3Jn
www.CodeGurus.org
[ Post a follow-up to this message ]
|