On Wed, 3 Jun 2009, Kushan Thakkar wrote:
Then in order to link the library with compiler I typed the following in the
terminal:
# g++ /sw/lib -lcurl -lssl lcrypto -lz main.o
I would guess you meant to write:
# g++ -L/sw/lib -lcurl -lssl -lcrypto -lz main.o
(an added -L and an added - )
But the command also lacks output name which is a bit unusual.
i686-apple-darwin9-g++-4.0.1: lcrypto: No such file or directory
due to the missing dash
i686-apple-darwin9-g++-4.0.1: main.o: No such file or directory
Due to missing main.o ?
--
/ daniel.haxx.se