Re: /usr/bin/ld: cannot find -lCstd

TsanChung <tsanchung.wong@xxxxxxxxx> writes:

How to fix the following error?

# make

Never ever compile anything as root: one day you'll make a mistake,
and will spend hours recovering from it.

g++ -o src/prog ./src/addSrv.o ./src/createClntCert_main.o ./src/
createSupportFile.o ./src/deleteSrv.o ./src/replaceSrv.o ./src/
examineClntCert.o ./src/examineClntCert_main.o ./src/listSrvs.o ./src/
registerSrv.o ./src/registerSrv_main.o ./src/verify.o ./src/
DynamicLibrary.o -L../../open_ssl_lib/openssl-0.9.7m/out/linux -
L../../util_lib/linux -lUtil -lssl -lcrypto -lCstd -lCrun -lsocket -
lnsl -lposix4 -lm -lw -lc -ldl
/usr/bin/ld: cannot find -lCstd
collect2: ld returned 1 exit status

Remove from your link line libraries which do not exist on
your system.

Your command line is copied verbatim from Solaris, except
's/CC/g++/', and it isn't correct on Solaris either (you should
never have had -lCstd and -lCrun on command line to begin with,
and you almost certainly do not want -lw and -lposix4 on any solaris
that is less than 10 years old).

In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.