Re: /usr/bin/ld: cannot find -lCstd
- From: Paul Pluzhnikov <ppluzhnikov-nsp@xxxxxxxxx>
- Date: Mon, 11 Aug 2008 19:30:55 -0700
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).
Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
.
- Prev by Date: Re: Help on socket lib and TCP/IP handshake
- Next by Date: Re: symbol versioning
- Previous by thread: Difference between listen backlog and tcp_max_syn_backlog?
- Next by thread: man-pages-3.07 is released
- Index(es):
Relevant Pages
|