g++ and linker issue



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?

--
conrad
.



Relevant Pages

  • Re: BGS Sign Maintenance
    ... One has the top third missing, the other has the top 1/4 ... Both missing parts had the route shields. ... "streaks" of reflectivity missing (a couple of those on I-85 near the ... coming east on I-40, you see an exit for I-85 south, ...
    (misc.transport.road)
  • Re: Scriptbasic - Compiling the generated C code
    ... compiler), which I have used in the past, tell me that it has a GCC ... a command line similar to Microsoft C. ... collect2: ld returned 1 exit status ...
    (comp.os.linux.development.system)
  • Re: PyQt-x11-gpl-3.16 compile error
    ... collect2: ld returned 1 exit status ... Checking to see if the qtnetwork module should be built... ... distributions, and may also work for other distributions. ...
    (comp.lang.python)
  • Re: [SQLite] Compiling in PHP statically?
    ... collect2: ld returned 1 exit status ... make: Leaving directory ... make clean ...
    (comp.lang.php)
  • Re: [SQLite] Compiling in PHP statically?
    ... collect2: ld returned 1 exit status ... make: Leaving directory ... make clean ...
    (comp.lang.php)