Re: g++ and linker issue
- From: Martin Vuille <jpmv27@xxxxxxxxx>
- Date: 20 Dec 2007 04:28:45 GMT
conrad <conrad@xxxxxxxxxx> wrote in news:60da658a-fa37-48df-9013-
ff03906ea39c@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:
My directory /home/foo/bunk
contains a shared object(gb.so) and
a C++ source file.
I invoke g++:
g++ -L/home/foo/bunk -o driver driver.cc -lgb
/usr/bin/ld: cannot find -lgb
collect2: ld returned 1 exit status
What am I missing here?
When you specify -lgb, ld expects the name of the
shared object file to be libgb.so
MV
--
I do not want replies; please follow-up to the group.
.
- References:
- g++ and linker issue
- From: conrad
- g++ and linker issue
- Prev by Date: g++ and linker issue
- Next by Date: Re: g++ and linker issue
- Previous by thread: g++ and linker issue
- Next by thread: Re: g++ and linker issue
- Index(es):
Relevant Pages
|