On 10/28/99, 12:21:49 AM, Laurel wrote:
> "Clare Smith"@pcisys.net
> > My c++ compiler at home work just fine with the
> > "g++ <source.cc>" command.
> > The one at work seems to be in pieces. I''ve
> > figured out where they hid the includes but can't
^^^^
> > figure out the "collect2".
> > My command line is "g++ -I<path of includes>
> > <source.cc>" and I get Collect2: ld returned 1
> > exit status
> > /usr/bin/ld:
> > Can't locate file for: -lstdc++
> Find out where your libraries (such as libstdc++.so)
^^^^^^^^^^^^^^
> are, and add a -L<path of libs> to the command line.
> They're probably in a similar place as the includes
^^^^^^^^
> (ie. try /usr/local/lib if the includes are in
> /usr/local/include). Alternatively, set the
> environment variable LD_LIBRARY_PATH to the right path.
In order not to get problems with your admin (and you boss?) it might
be a good idea to (a) ask for permission of doing software development
at the job and (b) then go to the admin to make him explain to you
where he (or she) did hide the libraries. Some companies are very
strict when it comes to obey to their internal guidelines.
I don't know about your company's internal policy but i have
colleagues in companies where there is strictly forbidden that people
write their own little programs - so i think it /could/ be that also
at your job they don't like you to program and *that* is the reason
why the libs are hidden...!?
Anyway: your admin is the one who should know about the paths and
he/she should be able to help you.
Best greetings,
Karl-Heinz
--
K.-H. Zimmer * Hamburg * Germany
************
[EMAIL PROTECTED] http://www.linuxchix.org