[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.c++

/usr/bin/ld cannot find libACE

John Evans

9/18/2008 2:14:00 AM

I can't get the compiler to find this library. I set my
LD_LIBRARY_PATH to the location. I tried:
g++ -g -L/usr/local/lib -llibACE test.cpp
g++ -g -L/usr/local/lib -libACE test.cpp
Not sure what else to try.
Thanks
2 Answers

Alexander Dong Back Kim

9/18/2008 2:59:00 AM

0

On Sep 18, 12:13 pm, John <johnrev...@cfl.rr.com> wrote:
> I can't get the compiler to find this library. I set my
> LD_LIBRARY_PATH to the location. I tried:
> g++ -g -L/usr/local/lib -llibACE test.cpp
> g++ -g -L/usr/local/lib -libACE test.cpp
> Not sure what else to try.
> Thanks

Hi there,

try -lACE instead of -llibACE.

cheers,
Alex Kim

John Evans

9/18/2008 12:30:00 PM

0

On Sep 17, 10:58 pm, Alexander Dong Back Kim <alexdb...@gmail.com>
wrote:
> On Sep 18, 12:13 pm, John <johnrev...@cfl.rr.com> wrote:
>
> > I can't get the compiler to find this library. I set my
> > LD_LIBRARY_PATH to the location. I tried:
> > g++ -g -L/usr/local/lib -llibACE test.cpp
> > g++ -g -L/usr/local/lib -libACE test.cpp
> > Not sure what else to try.
> > Thanks
>
> Hi there,
>
> try -lACE instead of -llibACE.
>
> cheers,
> Alex Kim

thank you. that worked great.